/* TMC OpenProject Partner, concept v4: "TMC family, done right" */

@font-face {
  font-family: "Red Hat Display";
  src: url("/assets/fonts/red-hat-display.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Text";
  src: url("/assets/fonts/red-hat-text.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --navy-950: #000f2e;
  --navy-900: #00163f;
  --navy: #001e50;
  --navy-700: #0a2f6e;
  --navy-600: #173f85;
  --blue: #1e88e5;
  --blue-400: #5aa9ef;
  --blue-300: #8cc4f5;
  --blue-600: #1466bf;
  --blue-700: #0f55a3;
  --blue-100: #e3effc;
  --blue-50: #f1f7fe;
  --tint: #f3f7fc;
  --tint-2: #eaf1fa;
  --white: #ffffff;
  --ink: #0b1a36;
  --ink-2: #26344f;
  --muted: #4a5873;
  --line: #d9e3f0;
  --line-soft: #e7eef7;
  --orange: #ff7a1a;
  --orange-600: #f26a05;
  --on-navy: #ffffff;
  --on-navy-2: #c3d3ec;
  --on-navy-3: #93a9cc;
  --ok: #1f8a4c;
  --err: #c0322b;

  --f-display: "Red Hat Display", ui-sans-serif, system-ui, sans-serif;
  --f-text: "Red Hat Text", ui-sans-serif, system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --step-4: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem);
  --step-5: clamp(2.5rem, 1.55rem + 3.9vw, 4.5rem);

  --r-block: 5px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --wrap: 1240px;
  --sec: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --sh-1: 0 1px 2px rgba(0, 30, 80, 0.06), 0 2px 6px rgba(0, 30, 80, 0.05);
  --sh-2: 0 1px 2px rgba(0, 30, 80, 0.06), 0 8px 24px -6px rgba(0, 30, 80, 0.14);
  --sh-3: 0 2px 4px rgba(0, 20, 60, 0.08), 0 24px 56px -16px rgba(0, 20, 60, 0.32);
  --ring: 0 0 0 3px var(--white), 0 0 0 5px var(--blue-600);

  --z-sticky: 50;
  --z-header: 60;
  --z-menu: 70;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html, html:focus-within { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-700); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; color: inherit; }
h1 { font-size: var(--step-5); font-weight: 850; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: var(--step-4); font-weight: 800; }
h3 { font-size: var(--step-2); font-weight: 750; line-height: 1.2; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 6px; }
.on-navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--blue-300); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--white); color: var(--navy); padding: 0.75rem 1rem; border-radius: var(--r-sm); font-weight: 700; box-shadow: var(--sh-2); }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); position: relative; }
.section.tint { background: var(--tint); }
.section.tight { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.prose p { max-width: 68ch; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--f-display); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.01em;
  color: var(--blue-600); margin: 0 0 1rem;
}
.kicker::before { content: ""; width: 22px; height: 8px; border-radius: 2px; background: currentColor; box-shadow: 26px 0 0 -0px color-mix(in srgb, currentColor 35%, transparent); margin-right: 26px; }
.on-navy .kicker { color: var(--blue-300); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--white); --fg: var(--navy); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.8rem 1.5rem;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; letter-spacing: 0;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition-property: background-color, color, border-color, box-shadow, transform;
  transition-duration: 180ms; transition-timing-function: var(--ease);
}
.btn:hover { color: var(--fg); }
.btn:active { transform: scale(0.96); }
.btn .arr { width: 18px; height: 18px; transition: transform 220ms var(--ease); flex: none; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { --bg: var(--orange); --fg: var(--navy-950); box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 6px 18px -6px rgba(255, 122, 26, 0.55); }
.btn-primary:hover { --bg: #ff8a33; box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 10px 24px -8px rgba(255, 122, 26, 0.7); }
.btn-ghost-light { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { --bg: rgba(255,255,255,0.08); --bd: rgba(255,255,255,0.85); --fg: var(--white); }
.btn-secondary { --bg: var(--white); --fg: var(--navy); --bd: var(--line); box-shadow: var(--sh-1); }
.btn-secondary:hover { --bd: var(--blue-300); --fg: var(--blue-700); }
.btn-navy { --bg: var(--navy); --fg: var(--white); }
.btn-navy:hover { --bg: var(--navy-700); --fg: var(--white); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.on-navy .btn:focus-visible, .site-header .btn:focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px var(--blue-300); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px;
  font-family: var(--f-display); font-weight: 700; color: var(--blue-600); text-decoration: none;
}
.textlink span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 260ms var(--ease); padding-bottom: 1px; }
.textlink:hover span { background-size: 100% 1.5px; }
.textlink svg { width: 18px; height: 18px; transition: transform 220ms var(--ease); }
.textlink:hover svg { transform: translateX(3px); }
.on-navy .textlink { color: var(--blue-300); }
.on-navy .textlink:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--navy) 0%, transparent);
  color: var(--white);
  transition: background-color 260ms var(--ease), box-shadow 260ms var(--ease);
}
.site-header.is-stuck { background: rgba(0, 22, 63, 0.94); box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 10px 30px -12px rgba(0, 10, 30, 0.6); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.page-top { background: var(--navy); }
.header-in { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 0.9rem; color: var(--white); text-decoration: none; min-height: 44px; margin-right: auto; }
.brand:hover { color: var(--white); }
.brand-tmc { width: 74px; height: auto; flex: none; }
.brand-sep { width: 1.5px; height: 30px; background: rgba(255,255,255,0.28); border-radius: 1px; }
.brand-txt { display: flex; flex-direction: column; font-family: var(--f-display); line-height: 1.05; }
.brand-txt b { font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.005em; }
.brand-txt span { font-weight: 500; font-size: 0.8125rem; color: var(--on-navy-2); letter-spacing: 0.01em; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem;
  color: var(--on-navy-2); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1rem;
  border-radius: 999px; transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.nav a:not(.btn):hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav a:not(.btn)[aria-current="page"] { color: var(--white); }
.nav a:not(.btn)[aria-current="page"]::after { content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 4px; height: 3px; border-radius: 2px; background: var(--blue); }
.nav .btn { margin-left: 0.75rem; min-height: 46px; padding: 0.65rem 1.25rem; font-size: 1rem; }

.menu-btn { display: none; }
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    min-height: 46px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.3);
    background: transparent; color: var(--white); font-family: var(--f-display); font-weight: 700; cursor: pointer;
    transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
  }
  .menu-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
  .menu-btn .bars { position: relative; width: 18px; height: 12px; }
  .menu-btn .bars i { position: absolute; left: 0; height: 2px; border-radius: 1px; background: currentColor; transition: transform 240ms var(--ease), opacity 160ms, width 240ms var(--ease); }
  .menu-btn .bars i:nth-child(1) { top: 0; width: 18px; }
  .menu-btn .bars i:nth-child(2) { top: 5px; width: 12px; }
  .menu-btn .bars i:nth-child(3) { top: 10px; width: 15px; }
  .menu-btn[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); width: 18px; }
  .menu-btn[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); width: 18px; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--navy-900); color: var(--white);
  display: flex; flex-direction: column; padding: 0 var(--gutter) 2rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 240ms var(--ease), transform 320ms var(--ease), visibility 0s linear 320ms;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity 240ms var(--ease), transform 320ms var(--ease), visibility 0s; }
.mobile-menu .mm-top { display: flex; align-items: center; min-height: 84px; }
.mobile-menu nav { margin-top: 1.5rem; display: grid; gap: 0.25rem; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 0.25rem;
  font-family: var(--f-display); font-weight: 800; font-size: 1.875rem; letter-spacing: -0.02em;
  color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu nav a[aria-current="page"] { color: var(--blue-300); }
.mobile-menu nav a svg { width: 22px; height: 22px; opacity: 0.6; }
.mobile-menu .mm-cta { margin-top: 2rem; display: grid; gap: 0.75rem; }
.mobile-menu .mm-contact { margin-top: auto; padding-top: 2rem; color: var(--on-navy-2); font-size: 0.9375rem; display: grid; gap: 0.2rem; }
.mobile-menu .mm-contact a { color: var(--white); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.mobile-menu.open nav a { animation: mmIn 420ms var(--ease) both; animation-delay: calc(60ms + var(--i, 0) * 50ms); }
@keyframes mmIn { from { opacity: 0; transform: translateY(10px); } }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: clip; margin-top: -84px; padding-top: 84px; isolation: isolate; }
.hero .deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero .deco svg { position: absolute; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(4rem, 3rem + 5vw, 7.5rem); }
.hero h1 { margin: 1.4rem 0 1.25rem; }
.hero h1 .accent { color: var(--blue-400); display: block; }
.hero .sub { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem); line-height: 1.5; color: var(--on-navy-2); max-width: 34ch; margin-bottom: 2.25rem; }
.hero .btn-row { gap: 0.875rem; }
.hero-note { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--on-navy-3); font-size: 0.9375rem; list-style: none; }
.hero-note li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-note li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--blue); }

.lockup { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.5rem 1rem 0.5rem 0.9rem; border-radius: 999px; background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); font-family: var(--f-display); font-weight: 700; font-size: 0.9375rem; color: var(--white); margin: 0; }
.lockup .l-tmc { width: 44px; }
.lockup .l-plus { color: var(--blue-300); font-weight: 500; font-size: 1.125rem; line-height: 1; }
.lockup .l-op { width: 18px; height: 18px; color: var(--blue-300); }
.lockup .l-since { color: var(--on-navy-3); font-weight: 500; padding-left: 0.75rem; border-left: 1px solid rgba(255,255,255,0.18); }

/* Page hero (sub pages) */
.phero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: end; }
.phero h1 { font-size: clamp(2.375rem, 1.6rem + 3.2vw, 4rem); margin: 1rem 0 1.25rem; }
.phero .sub { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); color: var(--on-navy-2); max-width: 48ch; margin: 0; line-height: 1.55; }
.crumbs { display: flex; gap: 0.5rem; align-items: center; list-style: none; color: var(--on-navy-3); font-size: 0.9375rem; font-family: var(--f-display); font-weight: 600; }
.crumbs a { color: var(--on-navy-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 1.5px; background: var(--blue); margin-right: 0.5rem; vertical-align: middle; }

/* ---------- Blocks graphic system ---------- */
.band { display: flex; gap: 6px; height: 10px; width: min(100%, 360px); }
.band i { height: 100%; border-radius: 2.5px; background: var(--blue); flex: var(--w, 1); opacity: var(--o, 1); }
.band.on-light i { background: var(--blue-600); }

.divider { height: 0; position: relative; z-index: 2; }
.divider .band { position: absolute; top: -5px; left: var(--gutter); }

/* Hero Gantt panel */
.gpanel {
  position: relative; background: var(--white); color: var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--sh-3), 0 0 0 1px rgba(255,255,255,0.2); padding: 1.25rem 1.25rem 1.4rem; font-family: var(--f-display);
}
.gp-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 0.25rem 1rem; border-bottom: 1px solid var(--line-soft); }
.gp-title { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1rem; }
.gp-title i { width: 12px; height: 12px; border-radius: 3px; background: var(--blue); }
.gp-tabs { display: flex; gap: 2px; background: var(--tint); padding: 3px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.gp-tabs span { padding: 0.25rem 0.7rem; border-radius: 999px; }
.gp-tabs span.on { background: var(--white); color: var(--navy); box-shadow: var(--sh-1); }
.gp-body { display: grid; grid-template-columns: 9.5rem 1fr; margin-top: 0.4rem; }
.gp-labels { list-style: none; }
.gp-labels li, .gp-rows > div { height: 42px; display: flex; align-items: center; }
.gp-labels li { font-family: var(--f-text); font-size: 0.875rem; color: var(--ink-2); font-weight: 500; gap: 0.55rem; padding-left: 0.25rem; white-space: nowrap; }
.gp-labels li b { width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--blue)); flex: none; }
.gp-head { display: grid; grid-template-columns: repeat(8, 1fr); font-size: 0.75rem; color: var(--muted); font-weight: 700; height: 32px; align-items: center; }
.gp-head span { padding-left: 6px; }
.gp-chart { position: relative; }
.gp-grid { position: absolute; inset: 32px 0 0 0; display: grid; grid-template-columns: repeat(8, 1fr); pointer-events: none; }
.gp-grid i { border-left: 1px dashed var(--line); }
.gp-rows { position: relative; }
.gp-rows > div { position: relative; }
.gbar {
  position: absolute; height: 16px; left: calc(var(--s) * 12.5%); width: calc(var(--l) * 12.5% - 6px); margin-left: 3px;
  border-radius: var(--r-block); background: var(--c, var(--blue)); transform-origin: left center;
}
.gbar.prog { background: color-mix(in srgb, var(--c, var(--blue)) 28%, white); overflow: hidden; }
.gbar.prog::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 50%); background: var(--c, var(--blue)); border-radius: inherit; }
.gmile { position: absolute; left: calc(var(--s) * 12.5%); width: 16px; height: 16px; margin-left: -8px; border-radius: 4px; background: var(--navy); transform: rotate(45deg); }
.gtoday { position: absolute; top: 26px; bottom: -6px; left: calc(var(--t) * 12.5%); width: 2px; background: var(--orange); border-radius: 1px; display: none; }
.gp-link { position: absolute; border: 1.5px solid var(--blue-300); border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.gp-float {
  position: absolute; right: -1.5rem; top: 5.25rem; width: min(236px, 60%);
  background: var(--white); border-radius: var(--r-md); box-shadow: var(--sh-3); padding: 0.9rem 1rem 1rem; font-family: var(--f-display);
}
.gp-float .gf-h { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 0.875rem; margin-bottom: 0.7rem; }
.gp-float .gf-h em { font-style: normal; font-size: 0.75rem; color: var(--blue-700); background: var(--blue-100); padding: 0.15rem 0.5rem; border-radius: 999px; font-weight: 700; }
.gp-float .gf-card { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.6rem; border-radius: 10px; background: var(--tint); font-family: var(--f-text); font-size: 0.8125rem; color: var(--ink-2); font-weight: 500; }
.gp-float .gf-card + .gf-card { margin-top: 0.4rem; }
.gp-float .gf-card i { width: 22px; height: 6px; border-radius: 2px; background: var(--c, var(--blue)); flex: none; }

@keyframes grow { from { transform: scaleX(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: rotate(45deg) scale(0.3); } }

.hero .rise { animation: rise 900ms var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
.hero .gbar { animation: grow 1100ms var(--ease) both; animation-delay: calc(500ms + var(--i, 0) * 90ms); }
.hero .gmile { animation: pop 600ms var(--ease) both; animation-delay: 1250ms; }
.hero .gp-float { animation: rise 900ms var(--ease) both; animation-delay: 1100ms; }
.hero .gpanel { animation: rise 1000ms var(--ease) both; animation-delay: 250ms; }

/* scroll reveal: content is visible by default, JS adds .in to replay an entrance */
.rv.in { animation: rise 800ms var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.rv-bars.in .bb { animation: grow 1000ms var(--ease) both; animation-delay: calc(200ms + var(--i, 0) * 80ms); }
.bb { transform-origin: left center; transform-box: fill-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}

/* ---------- Section heads ---------- */
.shead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.shead h2 { max-width: 16ch; }
.shead p { margin: 0; color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; max-width: 48ch; }
.shead.single { grid-template-columns: 1fr; }

/* ---------- Home: Waarom OpenProject ---------- */
.why-op { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 1rem + 6vw, 7rem); }
.why-op h2 { margin-bottom: 1.5rem; }
.why-op .left { position: relative; }
.why-op .left .lead { margin-bottom: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.9rem 0.45rem 0.75rem; border-radius: 999px; background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-100); font-family: var(--f-display); font-weight: 650; font-size: 0.9375rem; color: var(--navy); }
.chips li::before { content: ""; width: 12px; height: 6px; border-radius: 2px; background: var(--blue); }
.why-op .prose { font-size: 1.0938rem; }
.statement {
  margin-top: 2.5rem; padding: 1.75rem 1.75rem 1.5rem; border-radius: var(--r-lg); background: var(--navy); color: var(--white);
  display: grid; gap: 1rem; position: relative; overflow: hidden;
}
.statement p { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: var(--step-2); line-height: 1.3; letter-spacing: -0.01em; max-width: 30ch; position: relative; }
.statement .band { position: relative; }
.statement .textlink { position: relative; }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; }
.tile {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--white);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); text-decoration: none; color: var(--ink);
  box-shadow: var(--sh-1), inset 0 0 0 1px var(--line-soft);
  transition: box-shadow 260ms var(--ease), transform 260ms var(--ease);
  overflow: hidden; isolation: isolate;
}
.tile:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--sh-2), inset 0 0 0 1px var(--blue-100); }
.tile:focus-visible { outline: none; box-shadow: var(--ring); }
.tile h3 { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.tile p { color: var(--muted); margin: 0; max-width: 34ch; }
.tile .t-foot { margin-top: auto; padding-top: 1.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tile .t-more { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--f-display); font-weight: 700; color: var(--blue-600); font-size: 0.9375rem; }
.tile .t-go { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); transition: background-color 220ms var(--ease), color 220ms var(--ease); }
.tile .t-go svg { width: 18px; height: 18px; transition: transform 260ms var(--ease); }
.tile:hover .t-go { background: var(--blue-600); color: var(--white); }
.tile:hover .t-go svg { transform: translateX(2px); }
.tile .t-art { margin: 0 0 1.75rem; }
.tile .tag { font-family: var(--f-display); font-weight: 700; font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.4rem; display: block; }
.tile.t-impl { grid-column: span 7; grid-row: span 2; background: var(--navy); color: var(--white); box-shadow: var(--sh-2); }
.tile.t-impl .t-foot { margin-top: 0; }
.tile.t-impl h3 { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); letter-spacing: -0.025em; margin-bottom: 0.9rem; }
.tile.t-impl p { font-size: 1.1875rem; max-width: 36ch; }
.tile.t-impl:hover { color: var(--white); box-shadow: var(--sh-3); }
.tile.t-impl p { color: var(--on-navy-2); }
.tile.t-impl .tag { color: var(--on-navy-3); }
.tile.t-impl .t-more { color: var(--blue-300); }
.tile.t-impl .t-go { background: rgba(255,255,255,0.1); color: var(--white); }
.tile.t-impl:hover .t-go { background: var(--blue); }
.tile.t-impl:focus-visible { box-shadow: 0 0 0 3px var(--tint), 0 0 0 5px var(--blue-600); }
.tile.t-cons, .tile.t-supp { grid-column: span 5; }
.tile.t-lic { grid-column: span 12; flex-direction: row; align-items: center; gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.tile.t-lic .t-copy { flex: 1 1 320px; display: flex; flex-direction: column; }
.tile.t-lic .t-art { flex: 1.3 1 420px; margin: 0; }
.tile.t-lic .t-foot { padding-top: 1.5rem; }

.impl-art { display: grid; gap: 12px; margin-top: auto; padding-top: 2.5rem; }
.impl-art .weeks { display: grid; grid-template-columns: repeat(8, 1fr); font-size: 0.75rem; font-weight: 700; color: var(--on-navy-3); }
.impl-art .weeks em { font-style: normal; }
.impl-art .row.wk { margin-bottom: -2px; }
.impl-art .row { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--on-navy-2); }
.impl-art .track { position: relative; height: 32px; border-radius: var(--r-block); background: rgba(255,255,255,0.05); }
.impl-art .track i { position: absolute; top: 5px; bottom: 5px; left: var(--s); width: var(--l); border-radius: 4px; background: var(--c, var(--blue)); transform-origin: left; }

.mini { width: 100%; height: auto; }
.lic-line { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lic-line .seg { display: grid; gap: 0.6rem; }
.lic-line .seg i { display: block; height: 18px; border-radius: var(--r-block); background: var(--c); transform-origin: left; }
.lic-line .seg span { font-family: var(--f-display); font-weight: 700; font-size: 0.9375rem; color: var(--navy); }
.lic-line .seg small { display: block; font-family: var(--f-text); font-weight: 400; font-size: 0.8125rem; color: var(--muted); }

/* ---------- Waarom TMC ---------- */
.why-tmc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why-tmc > * { padding: 2rem 2rem 2.25rem; border-top: 1px solid var(--line); }
.why-tmc > *:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
.why-tmc .wt-head { padding-left: 0; border-top: 0; padding-top: 0; }
.why-tmc .wt-head h2 { margin-bottom: 1rem; }
.why-tmc .wt-head p { color: var(--ink-2); margin: 0; max-width: 32ch; }
.why-tmc > :nth-child(2), .why-tmc > :nth-child(3) { border-top: 0; padding-top: 0.5rem; }
.why-tmc > :nth-child(4) { padding-left: 0; }
.wt-item .ico { width: 44px; height: 44px; color: var(--blue-600); margin-bottom: 1.25rem; }
.wt-item h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.wt-item p { color: var(--muted); margin: 0; font-size: 1rem; max-width: 32ch; }
.aside-note { margin-top: 2.5rem; display: flex; align-items: center; gap: 0.75rem; color: var(--muted); font-size: 0.9375rem; }
.aside-note::before { content: ""; width: 28px; height: 6px; border-radius: 2px; background: var(--line); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.faq-side h2 { margin-bottom: 1.25rem; }
.faq-side p { color: var(--ink-2); max-width: 36ch; }
.faq-side .contact-mini { margin-top: 1.75rem; display: grid; gap: 0.25rem; }
.faq-side .contact-mini a { font-family: var(--f-display); font-weight: 700; color: var(--navy); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 0.65rem; width: fit-content; }
.faq-side .contact-mini a:hover { color: var(--blue-600); }
.faq-side .contact-mini svg { width: 20px; height: 20px; color: var(--blue-600); }
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--white); border-radius: var(--r-md); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line-soft); transition: box-shadow 220ms var(--ease); }
.faq details[open] { box-shadow: var(--sh-2), inset 0 0 0 1px var(--blue-100); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  min-height: 68px; padding: 1rem 1.25rem 1rem 1.5rem; font-family: var(--f-display); font-weight: 750; font-size: 1.1875rem; line-height: 1.3; color: var(--navy);
  border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-700); }
.faq summary:focus-visible { outline: none; box-shadow: var(--ring); }
.faq .pm { position: relative; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--blue-50); transition: background-color 220ms var(--ease); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; border-radius: 1px; background: var(--blue-600); transition: transform 280ms var(--ease), background-color 220ms; }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { background: var(--blue-600); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--white); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq .ans { padding: 0 1.5rem 1.5rem; color: var(--ink-2); max-width: 64ch; }
.faq .ans p { margin: 0; }
.faq details[open] .ans { animation: rise 420ms var(--ease) both; }
.faq details::details-content { transition: height 320ms var(--ease), content-visibility 320ms allow-discrete; height: 0; overflow: clip; }
.faq details[open]::details-content { height: auto; }
@supports (interpolate-size: allow-keywords) { .faq { interpolate-size: allow-keywords; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); background: var(--navy); color: var(--white); padding: clamp(2.5rem, 1.5rem + 4vw, 5rem); overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.cta-band h2 { font-size: var(--step-4); margin-bottom: 1rem; max-width: 18ch; }
.cta-band p { color: var(--on-navy-2); font-size: var(--step-1); max-width: 44ch; margin-bottom: 2rem; }
.cta-band .direct { display: grid; gap: 0.75rem; justify-items: start; position: relative; }
.cta-band .direct a { display: flex; align-items: center; gap: 1rem; min-height: 56px; padding: 0.75rem 1.25rem 0.75rem 0.75rem; border-radius: var(--r-md); background: #0c2a5f; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 12px 30px -14px rgba(0,0,0,0.5); color: var(--white); text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; width: 100%; max-width: 360px; transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.cta-band .direct a:hover { background: #11346f; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); }
.cta-band .direct a .i { width: 40px; height: 40px; border-radius: 10px; background: var(--blue); display: grid; place-items: center; flex: none; }
.cta-band .direct a .i svg { width: 20px; height: 20px; }
.cta-band .direct small { display: block; font-family: var(--f-text); font-weight: 400; font-size: 0.8125rem; color: var(--on-navy-3); }
.cta-band .deco { position: absolute; right: -40px; bottom: -30px; z-index: -1; opacity: 0.9; width: 520px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-navy-2); padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); font-size: 0.9688rem; margin-top: 0; }
.f-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; padding-bottom: 3rem; }
.f-brand p { margin: 1.25rem 0 0; max-width: 34ch; line-height: 1.6; }
.site-footer h2 { font-size: 0.9375rem; font-weight: 800; color: var(--white); letter-spacing: 0; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.1rem; }
.site-footer a { color: var(--on-navy-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.f-part { display: grid; gap: 0.75rem; align-content: start; }
.f-part h2 { margin-bottom: 0.25rem; }
.f-part .tmc-full { width: 150px; color: var(--white); }
.f-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.25rem 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; color: var(--on-navy-3); font-size: 0.875rem; }
.f-bottom .band { width: 120px; height: 6px; align-self: center; }

/* ---------- Diensten ---------- */
.svc-nav { position: sticky; top: 84px; z-index: var(--z-sticky); background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.svc-nav ul { list-style: none; display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; padding-block: 0.6rem; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0 1rem; border-radius: 999px; white-space: nowrap; font-family: var(--f-display); font-weight: 700; font-size: 0.9688rem; color: var(--muted); text-decoration: none; transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.svc-nav a svg { width: 20px; height: 20px; }
.svc-nav a:hover { color: var(--navy); background: var(--tint); }
.svc-nav a.active { background: var(--navy); color: var(--white); }

.svc { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem); scroll-margin-top: 150px; }
.svc:nth-of-type(even) { background: var(--tint); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.svc:nth-of-type(even) .svc-grid .svc-art { order: -1; }
.svc .ico { width: 52px; height: 52px; color: var(--blue-600); margin-bottom: 1.5rem; }
.svc h2 { margin-bottom: 1.25rem; max-width: 14ch; }
.svc .lead { margin-bottom: 2rem; }
.svc h3 { font-size: 1.0625rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 1.5rem; margin-bottom: 2.25rem; }
.checks li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink-2); line-height: 1.4; }
.checks li svg { width: 20px; height: 20px; flex: none; color: var(--blue-600); margin-top: 1px; }
.svc-art { position: relative; }
.art-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-soft); padding: clamp(1.25rem, 1rem + 1vw, 2rem); font-family: var(--f-display); }
.svc:nth-of-type(odd) .art-stage { background: var(--tint); }
.art-stage { border-radius: var(--r-xl); background: var(--white); padding: clamp(1.25rem, 0.5rem + 3vw, 3rem); position: relative; overflow: hidden; }
.art-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; font-weight: 800; font-size: 1rem; color: var(--navy); gap: 1rem; }
.art-h small { font-weight: 700; font-size: 0.75rem; color: var(--muted); }
.phase { display: grid; grid-template-columns: 8.75rem 1fr; gap: 0.75rem; align-items: center; height: 40px; font-family: var(--f-text); font-size: 0.875rem; color: var(--ink-2); font-weight: 500; }
.phase .tr { position: relative; height: 100%; }
.phase .tr::before { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1px dashed var(--line); }
.phase .tr i { position: absolute; top: 12px; height: 16px; left: var(--s); width: var(--l); border-radius: var(--r-block); background: var(--c, var(--blue)); transform-origin: left center; }

.flow { display: grid; gap: 0.75rem; }
.flow .fl { display: flex; align-items: center; gap: 0.75rem; }
.flow .node { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.9rem; border-radius: 12px; background: var(--tint); font-weight: 700; font-size: 0.9063rem; color: var(--navy); white-space: nowrap; }
.flow .node i { width: 10px; height: 10px; border-radius: 2.5px; background: var(--c, var(--blue)); }
.flow .node.hl { background: var(--navy); color: var(--white); }
.flow .conn { flex: 1; height: 2px; min-width: 16px; background: repeating-linear-gradient(90deg, var(--blue-300) 0 6px, transparent 6px 10px); border-radius: 1px; }

.wp { list-style: none; display: grid; gap: 0.5rem; }
.wp li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.85rem; padding: 0.8rem 0.9rem; border-radius: 12px; background: var(--tint); font-family: var(--f-text); font-size: 0.9063rem; color: var(--ink-2); font-weight: 500; }
.wp li .ty { width: 10px; height: 26px; border-radius: 3px; background: var(--c, var(--blue)); }
.wp .st { font-family: var(--f-display); font-weight: 700; font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--white); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.wp .st.b { background: var(--blue-100); color: var(--blue-700); box-shadow: none; }
.wp .st.g { background: #e2f3e9; color: #17683a; box-shadow: none; }

.lic-card { display: grid; gap: 1.25rem; }
.lic-card .lc-top { display: flex; align-items: center; gap: 0.9rem; }
.lic-card .lc-top .op { width: 36px; height: 36px; color: #1a67a3; }
.lic-card .lc-top b { display: block; font-weight: 800; font-size: 1.0625rem; color: var(--navy); }
.lic-card .lc-top span { font-family: var(--f-text); font-size: 0.8125rem; color: var(--muted); }
.lic-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.lic-steps li { display: grid; gap: 0.5rem; font-size: 0.8125rem; font-weight: 700; color: var(--navy); }
.lic-steps li i { height: 14px; border-radius: 4px; background: var(--c, var(--blue)); transform-origin: left; }
.lic-contact { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; border-radius: 12px; background: var(--tint); font-family: var(--f-text); font-size: 0.875rem; color: var(--ink-2); }
.lic-contact .av { width: 32px; height: 32px; border-radius: 9px; background: var(--navy); display: grid; place-items: center; flex: none; }
.lic-contact .av svg { width: 22px; color: var(--white); }

.svc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }

/* ---------- OpenProject page ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 1rem + 6vw, 7rem); align-items: start; }
.intro-grid h2 { margin-bottom: 1.25rem; }
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.fcard { background: var(--white); border-radius: var(--r-lg); padding: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line-soft); display: flex; flex-direction: column; transition: box-shadow 260ms var(--ease), transform 260ms var(--ease); }
.fcard:hover { box-shadow: var(--sh-2), inset 0 0 0 1px var(--blue-100); transform: translateY(-2px); }
.fcard .ico { width: 40px; height: 40px; color: var(--blue-600); margin-bottom: 1.25rem; }
.fcard h3 { font-size: 1.3125rem; margin-bottom: 0.6rem; }
.fcard p { color: var(--muted); margin: 0; font-size: 1rem; }
.fcard.big { grid-row: span 2; background: var(--navy); color: var(--white); box-shadow: var(--sh-2); }
.fcard.big p { color: var(--on-navy-2); }
.fcard.big .ico { color: var(--blue-300); }
.fcard.big h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.fcard.big .f-art { margin-top: auto; padding-top: 2rem; }
.fcard.wide { grid-column: span 2; flex-direction: row; gap: 2rem; align-items: center; }
.fcard.wide .fc-copy { flex: 1 1 60%; }
.fcard.wide .fc-art { flex: 1 1 40%; }

.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; }
.reason { display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.reason .ico { width: 44px; height: 44px; color: var(--blue-600); }
.reason h3 { font-size: 1.3125rem; margin-bottom: 0.5rem; }
.reason p { margin: 0; color: var(--muted); }
.reason.first { grid-column: 1 / -1; grid-template-columns: 1fr; background: var(--navy); color: var(--white); border-radius: var(--r-xl); padding: clamp(2rem, 1.25rem + 3vw, 3.5rem); border: 0; margin-bottom: 1.5rem; position: relative; overflow: hidden; isolation: isolate; }
.reason.first .rf-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.reason.first h3 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.02em; max-width: 16ch; }
.reason.first p { color: var(--on-navy-2); font-size: 1.0938rem; }
.reason.first .ico { color: var(--blue-300); width: 52px; height: 52px; margin-bottom: 1.5rem; }

.fit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.fit h2 { margin-bottom: 1.25rem; }
.sectors { display: grid; gap: 0.75rem; }
.sector { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--white); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line-soft); font-family: var(--f-display); font-weight: 750; font-size: 1.125rem; color: var(--navy); }
.sector i { height: 12px; border-radius: 3px; background: var(--c); width: var(--w); transform-origin: left; }
.sector span { margin-left: auto; font-family: var(--f-text); font-weight: 400; font-size: 0.875rem; color: var(--muted); }

.opcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; border-radius: var(--r-xl); background: var(--white); padding: clamp(2rem, 1.25rem + 3vw, 3.5rem); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-soft); }
.opcard .oplogo { width: 190px; margin-bottom: 1.5rem; color: #1a67a3; }
.opcard .oplogo .t { fill: var(--navy); }
.opcard h2 { font-size: var(--step-3); margin-bottom: 0.75rem; }
.opcard p { color: var(--ink-2); max-width: 60ch; margin: 0; }
.opcard .btn-col { display: grid; gap: 0.75rem; justify-items: stretch; }

/* ---------- Over ons ---------- */
.since { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 1rem + 6vw, 7rem); align-items: start; }
.since h2 { margin-bottom: 1.5rem; }
.tl { position: relative; border-radius: var(--r-xl); background: var(--tint); padding: clamp(1.75rem, 1rem + 3vw, 3rem); }
.tl-h { font-family: var(--f-display); font-weight: 800; color: var(--navy); margin-bottom: 1.5rem; font-size: 1.0625rem; }
.tl-row { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: center; min-height: 58px; }
.tl-row .yr { font-family: var(--f-display); font-weight: 800; font-size: 1.125rem; color: var(--navy); }
.tl-row .yr small { display: block; font-weight: 600; font-size: 0.75rem; color: var(--muted); }
.tl-row .tr { position: relative; height: 22px; border-radius: 6px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.tl-row .tr i { position: absolute; top: 3px; bottom: 3px; left: var(--s); right: 3px; border-radius: 4px; background: var(--c); transform-origin: left; }
.tl-row .tr b { position: absolute; top: 50%; left: var(--s); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 3px; background: var(--navy); transform: rotate(45deg); box-shadow: 0 0 0 3px var(--white); }
.tl-note { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--muted); }

.quote { margin: 0; padding: clamp(2rem, 1.25rem + 3vw, 3.5rem); border-radius: var(--r-xl); background: var(--navy); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.quote p { font-family: var(--f-display); font-weight: 750; font-size: var(--step-3); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1.5rem; max-width: 22ch; }
.quote footer { color: var(--on-navy-2); font-size: 0.9688rem; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 1rem + 6vw, 7rem); align-items: start; }
.two h2 { margin-bottom: 1.5rem; }
.tmc-panel { border-radius: var(--r-xl); background: var(--navy); color: var(--white); padding: clamp(2rem, 1.25rem + 3vw, 3.5rem); display: grid; gap: 2rem; position: relative; overflow: hidden; isolation: isolate; }
.tmc-panel .tmc-full { width: min(280px, 80%); }
.tmc-panel ul { list-style: none; display: grid; gap: 0.75rem; position: relative; }
.tmc-panel li { display: flex; gap: 0.85rem; align-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; }
.tmc-panel li::before { content: ""; width: 18px; height: 8px; border-radius: 2px; background: var(--blue); flex: none; }

.eco { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.eco-card { border-radius: var(--r-xl); background: var(--white); padding: clamp(1.75rem, 1rem + 3vw, 3rem); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-soft); display: grid; gap: 1.5rem; }
.eco-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; }
.eco-pair > div { border-radius: var(--r-md); background: var(--tint); padding: 1.25rem; display: grid; gap: 0.35rem; align-content: start; }
.eco-pair b { font-family: var(--f-display); font-weight: 800; color: var(--navy); font-size: 1.0625rem; line-height: 1.2; }
.eco-pair span { font-size: 0.875rem; color: var(--muted); }
.eco-pair .amp { align-self: center; font-family: var(--f-display); font-weight: 800; color: var(--blue-600); font-size: 1.5rem; background: none; padding: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.formcard { background: var(--white); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-soft); margin-top: calc(-1 * clamp(3rem, 2rem + 4vw, 5.5rem)); position: relative; z-index: 2; }
.formcard h2 { font-size: var(--step-3); margin-bottom: 0.6rem; }
.formcard > p { color: var(--muted); margin-bottom: 2rem; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.25rem; }
.field { display: grid; gap: 0.45rem; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--f-display); font-weight: 700; font-size: 0.9688rem; color: var(--navy); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  font-size: 1rem; color: var(--ink); transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23001e50' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px; padding-right: 2.75rem; cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: #66748c; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b8c8de; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); background: #fffafa; }
.field.invalid input:focus, .field.invalid select:focus, .field.invalid textarea:focus { box-shadow: 0 0 0 4px rgba(192, 50, 43, 0.15); }
.err { display: none; align-items: center; gap: 0.45rem; color: var(--err); font-size: 0.875rem; font-weight: 600; }
.err::before { content: "!"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: var(--err); color: var(--white); font-size: 0.6875rem; font-weight: 800; flex: none; }
.field.invalid .err { display: flex; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; }
.consent input { appearance: none; width: 24px; height: 24px; margin: 1px 0 0; border-radius: 7px; border: 1.5px solid #9fb0c8; background: var(--white); display: grid; place-items: center; cursor: pointer; transition: background-color 160ms, border-color 160ms; position: relative; }
.consent input::after { content: ""; width: 12px; height: 7px; border: 2.5px solid var(--white); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0.4); opacity: 0; transition: transform 200ms var(--ease), opacity 160ms; }
.consent input:checked { background: var(--blue-600); border-color: var(--blue-600); }
.consent input:checked::after { opacity: 1; transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.consent input::before { content: ""; position: absolute; inset: -10px; }
.consent input:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.25); border-color: var(--blue-600); }
.consent label { font-family: var(--f-text); font-weight: 400; color: var(--ink-2); font-size: 0.9688rem; line-height: 1.5; cursor: pointer; }
.consent .err { grid-column: 2; }
.field.invalid.consent input { border-color: var(--err); }
.form-foot { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-foot .note { font-size: 0.875rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.5rem; }
.form-foot .note::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.form-sum { display: none; margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-radius: 12px; background: #fdf0ef; color: #8d241f; font-weight: 600; font-size: 0.9375rem; }
.form-sum.show { display: block; }
.success { display: none; text-align: left; padding: 1rem 0 0.5rem; }
.success.show { display: block; animation: rise 600ms var(--ease) both; }
.success .ok-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--blue-50); display: grid; place-items: center; margin-bottom: 1.5rem; }
.success .ok-ico svg { width: 34px; height: 34px; color: var(--blue-600); }
.success .ok-ico path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 600ms 250ms var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h2 { font-size: var(--step-3); margin-bottom: 0.75rem; }
.success p { color: var(--ink-2); max-width: 46ch; }
.success .band { margin: 2rem 0; }
form.sent { display: none; }

.cinfo { display: grid; gap: 1.25rem; padding-top: 0.5rem; }
.cinfo h2 { font-size: var(--step-3); margin-bottom: 0.25rem; }
.clist { list-style: none; display: grid; gap: 0.75rem; }
.clist li a, .clist li div { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--white); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line-soft); text-decoration: none; color: var(--ink); min-height: 72px; transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.clist li a:hover { box-shadow: var(--sh-2), inset 0 0 0 1px var(--blue-100); transform: translateY(-1px); color: var(--ink); }
.clist .i { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.clist .i svg { width: 22px; height: 22px; }
.clist small { display: block; color: var(--muted); font-size: 0.8125rem; font-family: var(--f-display); font-weight: 700; }
.clist b { font-family: var(--f-display); font-weight: 750; font-size: 1.0625rem; color: var(--navy); line-height: 1.35; }
.map { border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-soft); }
.map svg { width: 100%; height: auto; }
.map-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 1.1rem; border-top: 1px solid var(--line-soft); font-size: 0.875rem; color: var(--muted); flex-wrap: wrap; }
.map-foot a { font-family: var(--f-display); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 0.4rem; }
.map-foot a:hover { text-decoration: underline; }
.map .pin { transform-origin: 50% 100%; transform-box: fill-box; animation: pinDrop 900ms var(--ease) 400ms both; }
@keyframes pinDrop { from { transform: translateY(-18px); opacity: 0; } }

/* 404 */
.nf { min-height: 60vh; display: grid; align-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tile.t-impl { grid-column: span 12; grid-row: auto; }
  .tile.t-cons, .tile.t-supp { grid-column: span 6; }
  .gp-float { right: -0.5rem; }
  .f-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid, .phero-grid, .why-op, .faq-grid, .cta-band, .svc-grid, .intro-grid, .fit, .since, .two, .eco, .contact-grid, .shead { grid-template-columns: minmax(0, 1fr); }
  .svc:nth-of-type(even) .svc-grid .svc-art { order: 0; }
  .hero .sub { max-width: 40ch; }
  .gp-float { right: 0.75rem; }
  .hero-art { max-width: 620px; }
  .why-tmc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-tmc > * { border-left: 0 !important; padding: 1.75rem 1.5rem 2rem 0 !important; border-top: 1px solid var(--line) !important; }
  .why-tmc .wt-head { grid-column: 1 / -1; border-top: 0 !important; padding-bottom: 1.5rem !important; }
  .why-tmc > :nth-child(even):not(.wt-head) { padding-right: 1.5rem !important; }
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcard.big { grid-row: auto; grid-column: 1 / -1; }
  .fcard.wide { grid-column: 1 / -1; }
  .reason.first .rf-in { grid-template-columns: 1fr; }
  .formcard { margin-top: calc(-1 * clamp(2rem, 1rem + 4vw, 3.5rem)); }
  .cta-band .deco { opacity: 0.35; }
  .opcard { grid-template-columns: 1fr; }
  .opcard .btn-col { justify-items: start; grid-auto-flow: row; }
}
@media (max-width: 720px) {
  .tile.t-cons, .tile.t-supp { grid-column: span 12; }
  .tile.t-lic { flex-direction: column; align-items: stretch; }
  .tile.t-lic .t-art { flex: none; order: -1; }
  .tile.t-lic .t-copy { flex: none; }
  .why-tmc { grid-template-columns: 1fr; }
  .why-tmc > * { padding-right: 0 !important; }
  .reasons { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .fcard.wide { flex-direction: column; align-items: stretch; }
  .checks { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .gp-body { grid-template-columns: 7.25rem 1fr; }
  .gp-labels li { font-size: 0.78rem; }
  .gp-head span:nth-child(even) { visibility: hidden; }
  .gp-tabs span:not(.on) { display: none; }
  .gp-float { display: none; }
  .gp-head span { white-space: nowrap; padding-left: 3px; }
  .gp-title { font-size: 0.9375rem; }
  .gpanel { padding: 1rem 1rem 1.1rem; }
  .gp-body { grid-template-columns: 7.5rem 1fr; }
  .gp-labels li { font-size: 0.75rem; }
  .impl-art .row.wk { display: none; }
  .impl-art { padding-top: 2rem; }
  .wt-item { display: grid; grid-template-columns: 40px 1fr; column-gap: 1.1rem; }
  .wt-item .ico { grid-row: span 2; width: 40px; height: 40px; margin: 0; }
  .why-tmc > .wt-item { padding-block: 1.5rem !important; }
  .phase { grid-template-columns: 6.75rem 1fr; font-size: 0.8125rem; }
  .lic-steps { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
  .eco-pair { grid-template-columns: 1fr; }
  .eco-pair .amp { justify-self: center; }
  .impl-art .row { grid-template-columns: 6.75rem 1fr; font-size: 0.8125rem; }
  .lockup .l-since { display: none; }
  .flow .node { font-size: 0.8125rem; padding: 0.55rem 0.7rem; }
}
@media (max-width: 480px) {
  .btn-row .btn { width: 100%; }
  .f-grid { grid-template-columns: 1fr; }
  .brand-txt span { display: none; }
  .brand-tmc { width: 62px; }
  .brand { gap: 0.7rem; }
  .brand-txt b { font-size: 1rem; }
  .header-in { gap: 0.75rem; }
  .svc-cta .btn { width: 100%; }
}

/* round 2 additions */
.reason.first > .deco, .quote > .deco, .tmc-panel > .deco, .cta-band > .deco-in { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.reason.first > .deco svg, .quote > .deco svg { position: absolute; }
.eco h2 { margin-bottom: 1.5rem; }
.tl-row { grid-template-columns: 11rem 1fr; }
.tl-row .yr { font-size: 1.0625rem; }
.tl-row .yr small { font-size: 0.8125rem; font-weight: 500; }
.hero .phase .tr i { animation: grow 1100ms var(--ease) both; animation-delay: calc(500ms + var(--i, 0) * 90ms); }
.stack { list-style: none; display: grid; gap: 10px; }
.stack li { margin-left: var(--o); }
.stack a {
  display: flex; align-items: center; gap: 0.9rem; min-height: 60px; padding: 0.75rem 1.1rem; border-radius: 14px;
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  color: var(--white); text-decoration: none; font-family: var(--f-display); font-weight: 750; font-size: 1.125rem;
  transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.stack a svg:first-child { width: 28px; height: 28px; color: var(--blue-300); flex: none; }
.stack a svg:last-child { width: 18px; height: 18px; margin-left: auto; opacity: 0.55; transition: transform 220ms var(--ease), opacity 200ms; }
.stack a:hover { background: rgba(255,255,255,0.11); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28); }
.stack a:hover svg:last-child { transform: translateX(3px); opacity: 1; }
.stack li:nth-child(1) a { background: var(--blue-600); box-shadow: none; }
.stack li:nth-child(1) a svg:first-child { color: var(--white); }
.stack li:nth-child(1) a:hover { background: var(--blue); }
@media (max-width: 960px) { .stack li { margin-left: 0; } .phero-grid { align-items: start; } }
.phero-grid > div:empty { display: none; }
.reason.first p + p { margin-top: 1em; }
.reason:last-child { grid-column: 1 / -1; }
.reason:last-child p { max-width: 72ch; }
.field.consent input { width: 24px; height: 24px; min-height: 0; padding: 0; border-radius: 7px; border: 1.5px solid #9fb0c8; }
.field.consent input:checked { border-color: var(--blue-600); }
.field.invalid.consent input { border-color: var(--err); }
.map .map-foot a svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .flow .fl { flex-wrap: wrap; padding-left: 0 !important; row-gap: 0.5rem; }
  .flow .conn { min-width: 12px; max-width: 28px; }
  .art-stage { padding: 0.75rem; border-radius: var(--r-lg); }
}
@media (max-width: 960px) { .gp-float { display: none; } }

/* honeypot, hidden from people and screen readers */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.form-foot .note a{color:inherit}
button[aria-busy=true]{opacity:.7;cursor:progress}

/* photos: TMC's own shoots */
.photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--tint); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-wide { aspect-ratio: 21 / 8; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); border-radius: var(--r-xl); }
.art-stage.has-photo { padding: 0; background: none !important; overflow: visible; }
.art-stage.has-photo .photo { aspect-ratio: 4 / 3; border-radius: var(--r-xl); }
.art-stage.has-photo .art-card { position: relative; margin: -22% 0 0 12%; }
.svc:nth-of-type(even) .art-stage.has-photo .art-card { margin: -22% 12% 0 0; }
.photo-pair { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem); margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.photo-pair .photo { aspect-ratio: 4 / 3; }
@media (max-width: 767px) {
  .photo-wide { aspect-ratio: 4 / 3; }
  .photo-pair { grid-template-columns: 1fr; }
  .art-stage.has-photo .art-card, .svc:nth-of-type(even) .art-stage.has-photo .art-card { margin: -18% 0.75rem 0; }
}
