@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("manrope-latin.woff2") format("woff2");
}
:root {
  /* LogicLee huisstijl: navy, blue, grey, light blue, white. Manrope throughout. */
  /* Layout: one 1160px column; navy bands alternate with white and paper.
     The two interlocking L's of the logo return as the frame around the key figure. */
  --navy: #13294B;
  --navy-deep: #0E2040;
  --blue: #3A7FDB;
  --blue-ink: #2A63B8;
  --grey: #4A5568;
  --mist: #C9D3E3;
  --paper: #F3F6FB;
  --line: #DCE3EE;
  --white: #FFFFFF;
  --font: "Manrope", "Segoe UI", Arial, sans-serif;
  --radius: 10px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--grey);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--navy); text-wrap: balance; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
a { color: var(--blue-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* language switch: both languages are in the page, one is shown */

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mbar, .totop, .more-btn { display: none; }
.arr { display: inline-block; transition: transform .18s ease; }
a:hover .arr { transform: translateX(3px); }

.tag {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-ink); line-height: 1.4;
}
.num { font-weight: 800; color: var(--blue-ink); font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 8px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-sm { padding: 10px 16px; font-size: .95rem; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-ink); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--blue-ink); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; }
.logo { height: 34px; width: auto; display: block; }
.top-act { display: flex; align-items: center; gap: 16px; }
.top .nav { display: flex; gap: 4px; margin-left: auto; }
.top .nav a {
  padding: 8px 12px; border-radius: 6px; color: var(--navy); font-weight: 600; font-size: .98rem;
  text-decoration: none; position: relative;
}
.top .nav a:hover { background: var(--paper); }
.top .nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--blue);
}
.lang { display: flex; border: 1px solid var(--mist); border-radius: 8px; overflow: hidden; }
.lang a {
  display: flex; align-items: center; text-decoration: none;
  font: inherit; font-weight: 700; font-size: .85rem; padding: 7px 11px; border: 0; background: var(--white);
  color: var(--grey); cursor: pointer;
}
.lang a[aria-current="true"] { background: var(--navy); color: var(--white); }

/* ---------- pages (tabs) ---------- */
.page { display: none; }
.page.active { display: block; }
.exp, .off, .quick { scroll-margin-top: 96px; }

.band { padding: 88px 0; }
.band.tight { padding: 56px 0 88px; }
.band.paper { background: var(--paper); }
.band.navy { background: var(--navy); color: #DCE4F1; }
.band.navy h2 { color: var(--white); }
.band > .wrap > h2 { margin-bottom: 40px; max-width: 22em; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #DCE4F1; padding: 84px 0 96px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: center; }
.hero h1 { color: var(--white); margin: 18px 0 22px; }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); line-height: 1.5; }
.eyebrow.dark { color: var(--blue-ink); }
.hero-sub { font-size: 1.2rem; line-height: 1.6; max-width: 34em; }
.hero-act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* the logo's two L's, opened up into a frame */
.lframe { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 460px; justify-self: end; container-type: inline-size; --t: 17cqw; }
/* arm length matches the logo (51.333 on an 84 grid); bars a bit slimmer than the logo so the figure has room */
.lframe::before, .lframe::after { content: ""; position: absolute; top: 0; bottom: 0; width: 61.1%; pointer-events: none; }
.lframe::before { left: 0; border-left: var(--t) solid var(--white); border-bottom: var(--t) solid var(--white); animation: l-in-a .9s cubic-bezier(.2,.7,.2,1) both; }
.lframe::after { right: 0; border-right: var(--t) solid var(--blue); border-top: var(--t) solid var(--blue); animation: l-in-b .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes l-in-a { from { transform: translate(-22px, 22px); } to { transform: none; } }
@keyframes l-in-b { from { transform: translate(22px, -22px); } to { transform: none; } }
.lframe-in { position: absolute; inset: var(--t); padding: 0 4cqw; display: flex; flex-direction: column; justify-content: center; }
.lf-kicker { font-size: max(.62rem, 2.8cqw); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); line-height: 1.35; }
.lf-from { font-size: 6.6cqw; font-weight: 700; color: var(--mist); margin-top: 2.2cqw; line-height: 1; font-variant-numeric: tabular-nums; }
.lf-to { font-size: 19cqw; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -0.03em; margin: 0.6cqw 0 2.2cqw; font-variant-numeric: tabular-nums; }
.lframe figcaption { font-size: max(.72rem, 3.8cqw); line-height: 1.35; color: #DCE4F1; }

/* ---------- stats ---------- */
.stats { padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.stat { border-left: 3px solid var(--blue); padding-left: 18px; }
.stat-n { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat p { font-size: .96rem; line-height: 1.45; margin-top: 8px; }
.source { font-size: .85rem; margin-top: 26px; color: var(--grey); }

/* ---------- challenge cards ---------- */
.challenge { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.challenge-head { padding: 8px 24px 8px 0; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.ccard {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 28px 24px; text-decoration: none; color: var(--grey);
  transition: border-color .18s ease, transform .18s ease;
}
.ccard::after {
  content: ""; position: absolute; top: -1px; right: -1px; width: 30px; height: 30px;
  border-top: 5px solid var(--mist); border-right: 5px solid var(--mist); border-top-right-radius: var(--radius);
  transition: border-color .18s ease;
}
.ccard:hover { border-color: var(--blue); transform: translateY(-2px); }
.ccard:hover::after { border-color: var(--blue); }
.ccard p { font-size: 1rem; line-height: 1.55; flex: 1; }
.more { font-weight: 700; font-size: .95rem; color: var(--blue-ink); }

/* ---------- cases ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.case { border-top: 3px solid var(--navy); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.case p:last-child { max-width: 34em; }

/* ---------- both sides ---------- */
.sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.side { display: flex; flex-direction: column; gap: 14px; padding-left: 26px; border-left: 5px solid var(--white); }
.side-r { border-left-color: var(--blue); }
.side .tag { color: var(--mist); }
.side .so { color: var(--white); font-weight: 700; }
.sectors { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(201,211,227,.3); color: var(--mist); }

/* ---------- PDCA ---------- */
.pdca { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.pdca::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--mist); }
.pstep { position: relative; display: flex; flex-direction: column; gap: 10px; }
.pletter {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 8px;
  box-shadow: 0 0 0 8px var(--white);
}
.pletter.alt { background: var(--blue); }
.pstep p { font-size: 1rem; line-height: 1.55; }

/* ---------- AI ---------- */
.ai { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.ai h2 { margin-bottom: 20px; }
.ai-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; display: flex; flex-direction: column; gap: 18px; }

/* lists */
.checks, .dots { display: flex; flex-direction: column; gap: 12px; }
.checks li, .dots li { position: relative; padding-left: 30px; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .36em; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 84'%3E%3Cpath fill='%2313294B' d='M0 0h23.3v60.7h28V84H0z'/%3E%3Cpath fill='%233A7FDB' d='M84 84H60.7V23.3h-28V0H84z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dots li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 3px; background: var(--mist); }

/* ---------- closing band ---------- */
.close { background: var(--navy); color: #DCE4F1; padding: 72px 0; }
.close h2 { color: var(--white); margin-bottom: 12px; max-width: 18em; }
.close-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; }
.close-act { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.close-contact { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .98rem; }
.close-contact a { color: var(--mist); }

/* ---------- inner page head ---------- */
.phead { background: var(--navy); color: #DCE4F1; padding: 64px 0 60px; }
.phead h1 { color: var(--white); margin-bottom: 18px; }
.phead p { font-size: 1.18rem; line-height: 1.6; max-width: 40em; }

/* ---------- expertise / offerings ---------- */
.split { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
.index { position: sticky; top: 104px; }
.index ol { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.index a {
  display: flex; gap: 12px; padding: 10px 0 10px 18px; margin-left: -2px; border-left: 2px solid transparent;
  color: var(--navy); font-weight: 600; font-size: .95rem; line-height: 1.35; text-decoration: none;
}
.index a:hover { border-left-color: var(--blue); color: var(--blue-ink); }
.index .num { font-size: .85rem; padding-top: 1px; }

.exps { display: flex; flex-direction: column; }
.exp, .off { padding: 56px 0; border-top: 1px solid var(--line); }
.exps > :first-child { padding-top: 8px; border-top: 0; }
.exp { display: flex; flex-direction: column; gap: 28px; }
.exp-head { display: flex; align-items: baseline; gap: 16px; }
.exp-head .num { font-size: 1.05rem; }
.lead { font-size: 1.18rem; line-height: 1.6; color: var(--navy); max-width: 38em; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.two .tag, .off-r .tag, .quick > .tag { margin-bottom: 14px; }
.result { background: var(--paper); border-left: 5px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; }
.result .tag { margin-bottom: 8px; }
.result p { color: var(--navy); max-width: 44em; }
.offers { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.offers .tag { margin-right: 6px; }
.pill {
  display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border: 1px solid var(--mist); border-radius: 999px;
  font-size: .92rem; font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.3;
  transition: border-color .18s ease, color .18s ease;
}
.pill:hover { border-color: var(--blue); color: var(--blue-ink); }

.tagline { font-size: 1.15rem; font-weight: 700; color: var(--blue-ink); line-height: 1.4; }
.meta { display: flex; flex-direction: column; gap: 14px; }
.meta-row { flex-direction: row; flex-wrap: wrap; gap: 14px 48px; }
.meta dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.meta dd { color: var(--navy); font-weight: 600; line-height: 1.4; margin-top: 2px; }

/* quickscan */
.quick { background: var(--paper); border-radius: 14px; padding: 40px; display: flex; flex-direction: column; gap: 22px; margin-bottom: 8px; }
.exps > .quick:first-child { padding-top: 40px; }
.qtable { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 6px 0 10px; }
.qrow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.3fr); gap: 20px; padding: 16px 22px; border-top: 1px solid var(--line); font-size: .98rem; line-height: 1.5; }
.qrow:first-child { border-top: 0; }
.qhead { background: var(--navy); color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 12px 22px; }
.qarea { font-weight: 700; color: var(--navy); text-decoration: none; }
.qarea:hover { color: var(--blue-ink); text-decoration: underline; }
.qq { color: var(--navy); }
.qsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.quick .qsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.qsteps.col { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
.qsteps li { display: flex; gap: 14px; align-items: flex-start; }
.qsteps .num {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: grid; place-items: center; font-size: .9rem;
}
.qsteps p { font-size: .96rem; line-height: 1.5; margin-top: 2px; }

.off { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.off-l { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.off-l .exp-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.off-r .when { color: var(--navy); font-size: 1.1rem; margin-bottom: 26px; }
.off-r .result { margin-top: 28px; }

.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.term { border-top: 3px solid var(--navy); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.term p { font-size: 1rem; line-height: 1.55; }

/* ---------- about ---------- */
.about-top { padding: 72px 0 88px; }
.about { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 72px; align-items: start; }
.portrait-img { position: relative; padding: 0 20px 20px 0; }
.portrait-img::before { content: ""; position: absolute; right: 0; bottom: 0; width: 55%; height: 55%; border-right: 12px solid var(--blue); border-bottom: 12px solid var(--blue); }
.portrait img { position: relative; display: block; width: 100%; height: auto; border-radius: 4px; background: var(--mist); }
.portrait figcaption { display: flex; flex-direction: column; margin-top: 18px; font-size: .95rem; line-height: 1.45; }
.portrait strong { color: var(--navy); font-size: 1.05rem; }
.about-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 38em; }
.about-text h1 { margin-bottom: 4px; }
.about-text p:not(.eyebrow) { font-size: 1.12rem; }
.about-text .btn { margin-top: 10px; }
.bg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.bg h2 { margin-bottom: 32px; }
.timeline { display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 3px solid var(--navy); }
.timeline .when { font-weight: 700; color: var(--blue-ink); font-size: .95rem; font-variant-numeric: tabular-nums; padding-top: 2px; }
.timeline p { font-size: 1rem; line-height: 1.55; margin-top: 6px; }
.facts { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.facts h2 { font-size: 1.35rem; margin-bottom: 20px; }
.facts dl { display: flex; flex-direction: column; }
.facts dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); }
.facts dd { color: var(--navy); font-weight: 600; margin-top: 2px; line-height: 1.45; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: start; }
.cards { display: flex; flex-direction: column; gap: 16px; }
.ccontact { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.ccontact .tag { flex-basis: 100%; }
.ccontact .big { font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 800; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.ccontact a.big:hover { color: var(--blue-ink); }
.copy { margin-left: auto; font: inherit; font-size: .85rem; font-weight: 700; color: var(--blue-ink); background: var(--paper); border: 0; border-radius: 6px; padding: 7px 12px; cursor: pointer; }
.copy .copy-d, .copy.done .copy-l { display: none; }
.copy.done .copy-d { display: inline; }

/* ---------- privacy ---------- */
.privacy { display: flex; flex-direction: column; gap: 36px; }
.psec { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.psec h2 { font-size: 1.35rem; }

/* ---------- footer ---------- */
.foot { background: var(--navy-deep); color: var(--mist); padding: 56px 0 28px; font-size: .96rem; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot .logo { height: 32px; }
.foot-nav, .foot-contact { display: flex; flex-direction: column; gap: 8px; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(201,211,227,.22); font-size: .85rem; }

.foot-tag { margin-left: auto; }
.foot-base a { color: var(--mist); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  /* tabs move to a second row under the logo, scrollable sideways if needed */
  .top-in { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-top: 12px; }
  .top-act .btn { display: none; }
  .top .nav {
    order: 3; flex-basis: 100%; margin: 8px -12px 0; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .top .nav::-webkit-scrollbar { display: none; }
  .top .nav a { white-space: nowrap; padding: 10px 12px 12px; }
  .exp, .off, .quick { scroll-margin-top: 130px; }
  .index { top: 136px; }
}
@media (max-width: 480px) {
  .logo { height: 28px; }
  .top .nav { margin: 6px 0 0; justify-content: space-between; gap: 0; }
  .top .nav a { padding: 10px 2px 12px; font-size: .92rem; }
  .top .nav a[aria-current="page"]::after { left: 2px; right: 2px; }
}
/* ---------- motion: calm, short, and off when the visitor asks for less motion ---------- */
.top { transition: box-shadow .25s ease; }
.top.scrolled { box-shadow: 0 6px 24px rgba(19, 41, 75, .08); }
.top .nav a[aria-current="page"]::after { transform-origin: left center; animation: nav-ul .35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes nav-ul { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(19, 41, 75, .18); }
.hero-text > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-text > *:nth-child(2) { animation-delay: .08s; }
.hero-text > *:nth-child(3) { animation-delay: .16s; }
.hero-text > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.motion .page.active { animation: page-in .35s ease both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
.motion .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.motion .rv.in { opacity: 1; transform: none; }
@media print { .motion .rv { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .band { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .hero-in, .ai, .about, .bg, .contact, .off, .split, .sides { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lframe { justify-self: start; max-width: 400px; }
  .stats-grid, .terms, .pdca, .qsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdca::before { display: none; }
  .challenge, .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .challenge-head { grid-column: 1 / -1; padding-right: 0; }
  .index { position: static; }
  .index ol { flex-direction: row; flex-wrap: wrap; border-left: 0; gap: 8px; }
  .index a { border: 1px solid var(--mist); border-radius: 999px; padding: 7px 14px; margin: 0; }
  .index a:hover { border-color: var(--blue); }
  .portrait { max-width: 320px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 18px; }
  .stats-grid, .terms, .pdca, .qsteps, .challenge, .topics, .cases, .two { grid-template-columns: minmax(0, 1fr); }
  .quick { padding: 24px 20px; }
  .quick .qsteps { grid-template-columns: minmax(0, 1fr); }
  .qhead { display: none; }
  .qrow { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px 18px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .exp-head { gap: 10px; }
}

/* ---------- phone and tablet ---------- */
@media (max-width: 900px) {
  /* contact bar that stays at the bottom of the screen */
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .mbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(19, 41, 75, .08); transition: transform .25s ease;
  }
  .mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 10px; font-weight: 700; font-size: .98rem; text-decoration: none; }
  .mbar-call { flex: 0 0 auto; padding: 0 18px; border: 1.5px solid var(--navy); color: var(--navy); }
  .mbar-cta { flex: 1; background: var(--blue); color: var(--white); }
  html[data-tab="contact"] .mbar { transform: translateY(110%); }
  /* back to top */
  .totop {
    display: grid; place-items: center; position: fixed; right: 14px; bottom: calc(82px + env(safe-area-inset-bottom)); z-index: 44;
    width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--navy); color: var(--white); cursor: pointer;
    box-shadow: 0 6px 16px rgba(19, 41, 75, .25); opacity: 0; pointer-events: none; transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .totop.show { opacity: 1; pointer-events: auto; transform: none; }
  html[data-tab="contact"] .totop { bottom: calc(18px + env(safe-area-inset-bottom)); }
  /* header slides away while scrolling down and comes back when scrolling up */
  .top { transition: box-shadow .25s ease, transform .3s ease; }
  .top.away { transform: translateY(-100%); }
  /* expertise and offerings fold open per item */
  .more-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; padding: 0 16px;
    font: inherit; font-size: .95rem; font-weight: 700; color: var(--blue-ink); background: var(--paper);
    border: 0; border-radius: 999px; cursor: pointer; justify-self: start;
  }
  .more-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
  .more-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
  .more-btn .m-close, .more-btn[aria-expanded="true"] .m-open { display: none; }
  .quick .more-btn { background: var(--white); }
  .cl .off.closed { row-gap: 18px; }
  .more-btn[aria-expanded="true"] .m-close { display: inline; }
  .cl .exp.closed .two, .cl .exp.closed .result, .cl .exp.closed .offers,
  .cl .off.closed .off-r, .cl .off.closed .off-l .pill,
  .cl .quick.closed .qtable, .cl .quick.closed > h3.tag, .cl .quick.closed .qsteps { display: none; }
  /* bigger touch targets */
  .close-contact a, .qarea, .foot-nav a, .foot-contact a, .foot-base a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-nav, .foot-contact { gap: 0; }
  .pill, .index a { min-height: 44px; }
  .copy { min-height: 44px; padding: 0 14px; }
  .lang a { min-height: 40px; padding: 0 13px; }
}
@media (max-width: 600px) {
  /* a more compact opening so the figures show sooner */
  .hero { padding: 36px 0 44px; }
  .hero-in { gap: 32px; }
  .hero h1 { margin: 12px 0 16px; }
  .hero-act { margin-top: 24px; }
  .hero-act .btn-blue { display: none; } /* the bar at the bottom carries this button on phones */
  .lframe { max-width: 290px; }
  .lf-kicker { font-size: .7rem; letter-spacing: .06em; }
  .stats { padding: 32px 0 28px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .stat { padding-left: 12px; }
  .stat-n { font-size: 1.6rem; }
  .stat p { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lframe::before, .lframe::after { animation: none; }
  .arr, .ccard, .btn { transition: none; }
  .hero-text > *, .top .nav a[aria-current="page"]::after { animation: none; }
  .btn:hover { transform: none; }
  .top, .mbar, .totop, .more-btn::after { transition: none; }
}

/* ---------- 404 ---------- */
.nf { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.nf h2 { font-size: 1.1rem; margin: 0 0 12px; }
.nf-links { list-style: none; margin: 0; padding: 0; }
.nf-links li { margin: 6px 0; }
.nf-links a { color: var(--blue-ink); font-weight: 600; }

/* ---------- expertise overview and topic pages ---------- */
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.topic-card h2 { font-size: 1.3rem; line-height: 1.3; display: flex; gap: 10px; align-items: baseline; margin: 0; }
.topic-card h2 .num { font-size: .9rem; color: var(--blue); }
.topic-card { scroll-margin-top: 96px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; margin-bottom: 18px; color: var(--mist); }
.crumbs a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.topic-page .exp.topic { padding-top: 0; border-top: 0; }
.topic-page h2.tag { font-size: .8rem; }
.topic-offers-h { margin: 64px 0 8px; }
.faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.faq-item h3 { font-size: 1.08rem; line-height: 1.35; margin: 0 0 10px; }
.faq-item p { font-size: 1rem; line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.foot-sa { margin: 18px 0 0; }
.foot-sa img { height: 32px; width: auto; display: block; opacity: .85; }
.foot-sa a:hover img { opacity: 1; }
