/* ============================================================
   IDA — Modern · light, airy, friendly, soft shapes
   big statements · one fresh accent · cinematic imagery
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

:root {
  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --bg: oklch(0.99 0.004 255);
  --bg-soft: oklch(0.966 0.006 255);
  --surface: oklch(1 0 0);
  --ink: oklch(0.2 0.015 262);
  --ink-dim: oklch(0.45 0.015 262);
  --ink-mute: oklch(0.62 0.012 262);
  --line: oklch(0.915 0.006 262);
  --line-soft: oklch(0.945 0.005 262);

  /* fresh accent — overridden by JS */
  --accent: #24567a;
  --accent-deep: #143044;
  --accent-ink: #ffffff;
  --accent-tint: color-mix(in oklab, var(--accent) 10%, var(--surface));

  --radius: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --pill: 100px;
  --maxw: 1220px;
  --gutter: clamp(22px, 5vw, 68px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;

  --shadow-sm: 0 2px 10px oklch(0.3 0.03 262 / 0.06);
  --shadow: 0 24px 60px -28px oklch(0.32 0.05 262 / 0.3);
  --shadow-lg: 0 50px 110px -44px oklch(0.32 0.07 262 / 0.42);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0.004em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1400px; }
.section { padding-block: clamp(72px, 10vw, 150px); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; }
.display { font-size: clamp(2.9rem, 7.2vw, 6.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 700; letter-spacing: -0.032em; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; }
.accent { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent);
  background: var(--accent-tint); padding: 8px 16px; border-radius: var(--pill);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.32rem); color: var(--ink-dim); line-height: 1.55; max-width: 56ch; }
.muted { color: var(--ink-mute); }

/* ---------- Buttons ---------- */
.btn {
  --bh: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding-inline: 30px; border-radius: var(--pill);
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease), border-color .3s;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px -12px var(--accent); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px var(--accent); }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--ink-mute); box-shadow: var(--shadow-sm); }
.btn--sm { --bh: 46px; padding-inline: 20px; font-size: 15px; }
.btn--lg { --bh: 62px; padding-inline: 36px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s, height .4s var(--ease);
}
.site-header.scrolled { background: color-mix(in oklab, var(--bg) 80%, transparent); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 1px 0 var(--line-soft); height: 70px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand img { height: 54px; width: auto; transition: height .4s var(--ease); }
.scrolled .brand img { height: 44px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 10px 16px; border-radius: var(--pill); font-size: 16px; color: var(--ink-dim); font-weight: 500; transition: color .25s, background .25s; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.nav a[aria-current="page"]:hover { background: var(--accent-deep); color: var(--accent-ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 14px; background: var(--bg-soft); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: var(--bg); padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px; transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); overflow-y: auto; }
body.menu-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-nav a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); border-radius: var(--pill); padding-inline: 22px; border-bottom-color: transparent; }
.mobile-nav .m-actions { margin-top: 24px; display: flex; gap: 12px; align-items: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 86px)); padding-bottom: clamp(40px, 6vw, 80px); text-align: center; }
.hero h1 { margin-inline: auto; max-width: 17ch; }
.hero .lead { margin: 26px auto 0; text-align: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
.hero__media { position: relative; margin-top: clamp(48px, 7vw, 88px); }
.hero__media .band__inner { text-align: left; }

/* ---------- trust strip ---------- */
.trust { padding-block: clamp(40px, 5vw, 64px); }
.trust__label { text-align: center; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-mute); }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(34px, 5vw, 68px); margin-top: 36px; }
.logos li { display: flex; align-items: center; }
.logos img { height: clamp(38px, 4.5vw, 56px); width: auto; max-width: 210px; object-fit: contain; opacity: 1; transition: transform .35s var(--ease); }
.logos li:hover img { transform: translateY(-3px); }
/* logos inside the hero (first viewport) */
.hero__logos { margin-top: clamp(30px, 4vw, 46px); }
.hero__logos-label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-mute); }
.logos--hero { display: grid; grid-template-columns: repeat(4, 1fr); justify-items: center; align-items: center; margin-top: 16px; gap: clamp(22px, 3.5vw, 42px); }
.logos--hero img { height: clamp(30px, 3.4vw, 42px); max-width: 150px; }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-head.center > .btn { margin-top: 28px; }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head .lead { margin-top: 20px; }

/* ============================================================
   CAPABILITIES
   ============================================================ */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.cap {
  position: relative; display: flex; flex-direction: column; min-height: 214px;
  padding: 26px 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
}
.cap:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cap__top { display: flex; align-items: center; justify-content: space-between; }
.cap__ico { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; transition: background .35s var(--ease), color .35s var(--ease); }
.cap:hover .cap__ico { background: var(--accent); color: var(--accent-ink); }
.cap__arr { color: var(--ink-mute); opacity: .45; font-size: 18px; transition: color .3s, transform .35s var(--ease), opacity .3s; }
.cap:hover .cap__arr { color: var(--accent); opacity: 1; transform: translate(3px,-3px); }
.cap__body { margin-top: auto; padding-top: 22px; }
.cap__title { font-family: var(--font-display); font-weight: 600; font-size: 1.24rem; letter-spacing: -0.02em; line-height: 1.12; }
.cap__desc { font-size: 14px; color: var(--ink-mute); line-height: 1.45; margin-top: 9px; }

/* --- Trio layout for the 3 disciplines: richer cards that fill the row --- */
.cap-grid.cap-grid--trio { grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 28px); }
.cap-grid--trio .cap { min-height: 264px; padding: clamp(28px, 3vw, 40px); overflow: hidden; }
.cap-grid--trio .cap__ico { width: 58px; height: 58px; border-radius: 17px; font-size: 20px; }
.cap-grid--trio .cap__arr { font-size: 20px; }
.cap-grid--trio .cap__body { padding-top: 30px; }
.cap-grid--trio .cap__title { font-size: clamp(1.4rem, 1.9vw, 1.72rem); min-height: 2.24em; }
.cap-grid--trio .cap__desc { font-size: 15px; margin-top: 12px; max-width: 34ch; }
.cap-grid--trio .cap::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 15%, transparent)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.cap-grid--trio .cap:hover::after { transform: scaleX(1); }
@media (max-width: 1080px) { .cap-grid.cap-grid--trio { grid-template-columns: 1fr; } .cap-grid--trio .cap__title { min-height: 0; } }

/* --- Light effects --- */
.cap:hover { box-shadow: 0 24px 55px -26px color-mix(in oklab, var(--accent) 42%, transparent), var(--shadow-sm); }
#capabilities { position: relative; isolation: isolate; }
#capabilities::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 12%; width: min(720px, 82%); height: 340px; transform: translateX(-50%); background: radial-gradient(circle, color-mix(in oklab, var(--accent) 14%, transparent), transparent 70%); pointer-events: none; }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ============================================================
   BIG STATEMENT
   ============================================================ */
.statement { text-align: center; }
.statement p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.032em; max-width: 22ch; margin-inline: auto; }
.statement .sub { font-family: var(--font-body); font-weight: 400; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink-dim); max-width: 52ch; margin: 28px auto 0; letter-spacing: 0; }

/* ============================================================
   FEATURE BAND (cinematic)
   ============================================================ */
.band { position: relative; border-radius: var(--radius); overflow: hidden; min-height: clamp(420px, 52vw, 560px); display: flex; align-items: flex-end; box-shadow: var(--shadow-lg); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, oklch(0.18 0.03 262/.78) 0%, oklch(0.18 0.03 262/.35) 50%, transparent 80%); }
.band__inner { position: relative; z-index: 2; padding: clamp(34px, 5vw, 64px); color: oklch(0.99 0.01 255); max-width: 720px; }
.band__inner .eyebrow { background: oklch(1 0 0/.16); color: oklch(0.99 0.01 255); }
.band__inner .eyebrow .dot { background: oklch(0.99 0.01 255); }
.band__inner h2 { color: oklch(0.99 0.01 255); margin-top: 20px; }
.band__inner p { color: oklch(0.93 0.01 255); margin-top: 16px; font-size: 1.1rem; max-width: 48ch; }
.band__inner .btn { margin-top: 28px; }

/* ============================================================
   FIELDS (image tiles)
   ============================================================ */
.fields-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 56px; }
.tile {
  position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 270px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: oklch(0.99 0.01 255);
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile .ph, .tile img.bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover .ph, .tile:hover img.bg { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 22%, oklch(0.16 0.03 262/.45) 55%, oklch(0.16 0.03 262/.92) 100%); }
.tile > * { position: relative; z-index: 2; }
.tile h3 { font-size: 1.45rem; color: oklch(0.99 0.01 255); }
.tile p { font-size: 14px; color: oklch(0.9 0.01 255); margin-top: 5px; max-width: 32ch; min-height: 3.1em; }
.tile__tag { display: inline-flex; align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; padding: 6px 12px; border-radius: var(--pill); background: oklch(1 0 0/.18); backdrop-filter: blur(6px); margin-bottom: 10px; }
.tile.span6 { grid-column: span 6; } .tile.span4 { grid-column: span 4; } .tile.span3 { grid-column: span 3; }
.tile.tall { min-height: 380px; }
/* friendly soft placeholder fill */
.ph { background:
  radial-gradient(120% 120% at 20% 10%, color-mix(in oklab, var(--accent) 38%, oklch(0.6 0.08 262)) 0%, oklch(0.42 0.07 262) 60%, oklch(0.3 0.05 262) 100%); }
.ph--b { background: radial-gradient(120% 120% at 80% 10%, oklch(0.62 0.1 230) 0%, oklch(0.4 0.07 250) 60%, oklch(0.28 0.05 262) 100%); }
.ph--c { background: radial-gradient(120% 120% at 30% 90%, oklch(0.6 0.09 290) 0%, oklch(0.4 0.07 275) 60%, oklch(0.28 0.05 280) 100%); }
.ph__note { position: absolute; top: 18px; left: 18px; z-index: 2; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: oklch(1 0 0/.7); }

/* eurocae: original size, separate from the photo tiles */
.eurocae { margin-top: 64px; padding: 40px 44px; display: flex; flex-direction: row; align-items: center; gap: 36px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.eurocae__badge { height: 90px; width: auto; flex: 0 0 auto; }
.eurocae p { color: var(--ink-mute); font-size: 1.05rem; max-width: 52ch; margin: 0; }
.eurocae .news__link { color: var(--accent); margin-top: 10px; display: inline-flex; }
@media (max-width: 700px) {
  .eurocae { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px; }
}
.legal-lang { display: flex; gap: 6px; margin-top: 18px; }
.legal-lang button { appearance: none; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 0.9rem; color: var(--ink-mute); cursor: pointer; padding: 6px 12px; border-radius: var(--pill); }
.legal-lang button.is-active { color: var(--accent); background: var(--accent-tint); }

/* ============================================================
   STATS / APPROACH
   ============================================================ */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.stat-card b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 3.5vw, 2.9rem); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.stat-card b.accent { color: var(--accent); }
.stat-card span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-mute); }

/* ============================================================
   NEWS
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.news { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.news:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.news__meta { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--accent); }
.news__meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.news h3 { font-size: 1.2rem; line-height: 1.2; }
.news p { font-size: 15px; color: var(--ink-dim); flex: 1; }
.news__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--accent); }
.news__link .arr { transition: transform .3s var(--ease); }
.news:hover .news__link .arr { transform: translateX(4px); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta { position: relative; border-radius: var(--radius); overflow: hidden; padding: clamp(48px, 7vw, 96px); text-align: center; background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-lg); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% -20%, oklch(1 0 0/.22), transparent 60%); }
.cta > * { position: relative; z-index: 2; }
.cta h2 { color: var(--accent-ink); max-width: 18ch; margin-inline: auto; }
.cta p { color: color-mix(in oklab, var(--accent-ink) 86%, transparent); margin: 18px auto 0; max-width: 46ch; font-size: 1.12rem; }
.cta .btn--primary { background: var(--accent-ink); color: var(--accent-deep); margin-top: 32px; box-shadow: 0 16px 40px -16px oklch(0 0 0/.4); }
.cta .btn--primary:hover { transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer .wrap { padding-block: clamp(56px, 7vw, 90px); }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p { color: var(--ink-dim); font-size: 15.5px; max-width: 44ch; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.03em; color: var(--ink-mute); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--ink-dim); font-size: 15.5px; padding: 6px 0; transition: color .25s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.footer-bottom .legal a { color: var(--ink-mute); } .footer-bottom .legal a:hover { color: var(--ink); }
.footer-bottom .copy { font-size: 14px; color: var(--ink-mute); }

/* ============================================================
   PAGE HERO (services / contact)
   ============================================================ */
.page-hero { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(20px, 4vw, 48px); }
.page-hero .breadcrumb { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.04em; max-width: 18ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-inline: auto; }

/* ---------- interior pages: solid header ---------- */
body.solid .site-header { background: color-mix(in oklab, var(--bg) 86%, transparent); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 1px 0 var(--line-soft); }

/* ---------- detail hero (image) ---------- */
.detail-hero { position: relative; margin-top: var(--header-h); overflow: hidden; color: oklch(0.99 0.01 255); padding: clamp(56px, 9vw, 116px) 0 clamp(40px, 6vw, 72px); }
.detail-hero__bg { position: absolute; inset: 0; z-index: 0; }
.detail-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.16 0.03 262 / 0.5) 0%, oklch(0.15 0.03 262 / 0.84) 100%); }
.detail-hero .wrap { position: relative; z-index: 1; }
.detail-hero .breadcrumb { color: oklch(0.86 0.02 255); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.detail-hero .breadcrumb a:hover { color: #fff; }
.detail-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; color: #fff; max-width: 16ch; }
.detail-hero .lead { color: oklch(0.92 0.01 255); margin-top: 18px; max-width: 64ch; }
.detail-hero__tag { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; letter-spacing: .03em; padding: 8px 15px; border-radius: var(--pill); background: oklch(1 0 0 / 0.16); backdrop-filter: blur(6px); margin-bottom: 20px; }

/* ---------- article ---------- */
.article { max-width: 980px; }
.article__lead { font-size: clamp(1.12rem, 1.7vw, 1.42rem); line-height: 1.55; color: var(--ink); max-width: 70ch; font-weight: 400; }
.activities { margin-top: clamp(40px, 5vw, 68px); }
.activities__head { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 4px; letter-spacing: -0.03em; }
.activity { display: grid; grid-template-columns: 60px 1fr; gap: 28px; padding: 36px 0; border-top: 1px solid var(--line); }
.activity__n { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--accent); }
.activity__body h3 { font-size: 1.42rem; letter-spacing: -0.02em; }
.activity__body p { color: var(--ink-dim); margin-top: 12px; line-height: 1.62; font-size: 1.04rem; }
.activity__body ul { margin-top: 12px; padding-left: 20px; list-style: disc; color: var(--ink-dim); line-height: 1.62; font-size: 1.04rem; }
.activity__body li + li { margin-top: 6px; }
.activity__body .lnk { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--accent); font-weight: 600; font-size: 15px; }
.activity__body .lnk .arr { transition: transform .3s var(--ease); }
.activity__body .lnk:hover .arr { transform: translateX(4px); }
@media (max-width: 640px) { .activity { grid-template-columns: 1fr; gap: 10px; } }

/* collapsible sub-item rows inside a numbered block */
.activity__folds { margin-top: 14px; margin-inline: -12px; }
.activity__fold { border-radius: var(--radius-sm); transition: background .25s; }
.activity__fold:hover, .activity__fold[open] { background: var(--surface); }
.activity__fold summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 12px; }
.activity__fold summary::-webkit-details-marker { display: none; }
.activity__fold summary h4 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink); transition: color .25s; }
.activity__fold summary:hover h4 { color: var(--accent); }
.activity__fold .ic { flex: 0 0 auto; width: 9px; height: 9px; margin-right: 5px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.activity__fold[open] .ic { transform: translateY(1px) rotate(225deg); }
.activity__fold__body { padding: 0 12px 16px; }
.activity__fold__body p { color: var(--ink-dim); line-height: 1.6; font-size: .97rem; }
.activity__fold__body p + p { margin-top: 10px; }
.activity__fold__body ul { margin-top: 10px; padding-left: 18px; list-style: disc; color: var(--ink-dim); line-height: 1.6; font-size: .97rem; }
.activity__fold__body li + li { margin-top: 4px; }

/* unnumbered lone survivor block */
.activity__body--lone { padding-top: 24px; max-width: 74ch; }

/* services groups */
.svc-block + .svc-block { margin-top: 64px; }
.svc-block__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.svc-block__head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.svc-block__head span { font-size: 14px; font-weight: 600; color: var(--ink-mute); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-item { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.info-item:first-child { border-top: 1px solid var(--line-soft); }
.info-item .k { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-mute); }
.info-item .v { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; margin-top: 5px; }
.info-item .v a:hover { color: var(--accent); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-sm); }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-group label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; color: var(--ink-mute); }
.field-group input, .field-group textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; transition: border-color .25s, box-shadow .25s, background .25s; }
.field-group input:focus, .field-group textarea:focus { outline: none; background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.field-group textarea { resize: vertical; min-height: 140px; }
.field-group .err { font-size: 12.5px; color: oklch(0.6 0.2 25); display: none; }
.field-group.invalid input, .field-group.invalid textarea { border-color: oklch(0.65 0.2 25); }
.field-group.invalid .err { display: block; }
.form__success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 44px 20px; }
.form__success.show { display: flex; }
.form__success .check { width: 60px; height: 60px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }

/* ============================================================
   ACCENT SWITCHER
   ============================================================ */
.accent-switch { position: fixed; z-index: 120; bottom: 22px; right: 22px; display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 16px; background: color-mix(in oklab, var(--surface) 86%, transparent); backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--line); border-radius: var(--pill); box-shadow: var(--shadow); }
.accent-switch .lbl { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-mute); }
.accent-switch .dots { display: flex; gap: 7px; }
.accent-switch .ac { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.accent-switch .ac:hover { transform: scale(1.12); }
.accent-switch .ac.active { border-color: var(--ink); }
.ac[data-a="cobalt"] { background: oklch(0.58 0.19 256); }
.ac[data-a="teal"] { background: oklch(0.66 0.13 195); }
.ac[data-a="violet"] { background: oklch(0.56 0.2 295); }
.ac[data-a="coral"] { background: oklch(0.67 0.17 32); }
.ac[data-a="lime"] { background: oklch(0.72 0.16 140); }

/* ============================================================
   REVEAL
   ============================================================ */
/* ---------- legal / prose ---------- */
.legal-doc { max-width: 820px; }
.legal-doc h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; margin-top: 44px; }
.legal-doc h3 { font-size: 1.12rem; margin-top: 26px; }
.legal-doc p, .legal-doc li { color: var(--ink-dim); line-height: 1.66; margin-top: 12px; }
.legal-doc ul { padding-left: 20px; list-style: disc; margin-top: 8px; }
.legal-doc a { color: var(--accent); }
.legal-doc .addr { color: var(--ink); font-weight: 500; white-space: pre-line; }
.legal-doc hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin-top: clamp(36px, 5vw, 56px); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.28rem); letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { flex: 0 0 auto; width: 24px; height: 24px; position: relative; }
.faq-item summary .ic::before, .faq-item summary .ic::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.faq-item summary .ic::before { left: 4px; right: 4px; top: 11px; height: 2px; }
.faq-item summary .ic::after { top: 4px; bottom: 4px; left: 11px; width: 2px; }
.faq-item[open] summary .ic::after { transform: scaleY(0); opacity: 0; }
.faq-item__a { padding: 0 4px 24px; color: var(--ink-dim); line-height: 1.62; max-width: 74ch; overflow: hidden; transition: height .35s var(--ease); }
.faq-item__a ul { margin-top: 10px; padding-left: 18px; list-style: disc; }
.faq-item__a li { margin-top: 4px; }

html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; } .reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; } .reveal[data-d="4"] { transition-delay: .28s; }
.reveal[data-d="5"] { transition-delay: .35s; } .reveal[data-d="6"] { transition-delay: .42s; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1 !important; transform: none !important; } * { scroll-behavior: auto; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .tile.span6, .tile.span4, .tile.span3 { grid-column: span 6; }
}
@media (max-width: 860px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: block; }
  .approach { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand img { height: 46px; }
  .cap-grid { grid-template-columns: 1fr; }
  .fields-grid { grid-template-columns: 1fr; }
  .tile.span6, .tile.span4, .tile.span3 { grid-column: span 1; }
  .tile p { min-height: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .field-group.row { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .accent-switch { bottom: 14px; right: 14px; padding: 8px; }
  .accent-switch .lbl { display: none; }
  .logos--hero { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.6vw, 32px); margin-top: clamp(32px, 4.5vw, 56px); }
.member { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; background: var(--bg-soft); display: block; }
.member__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 28px); flex: 1; }
.member__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.05; }
.member__roles { display: flex; flex-wrap: wrap; gap: 7px; }
.member__roles span { font-size: 12px; font-weight: 600; letter-spacing: 0.01em; padding: 5px 11px; border-radius: var(--pill); background: var(--accent-tint); color: var(--accent-deep); }
.member__quote { font-size: 0.98rem; line-height: 1.6; color: var(--ink); font-style: italic; border-left: 2px solid var(--accent); padding-left: 14px; }
.member__exp { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.member__exp li { position: relative; padding-left: 17px; font-size: 0.86rem; line-height: 1.55; color: var(--ink-mute); }
.member__exp li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.member__linkedin { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding-top: 6px; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--accent-deep); text-decoration: none; }
.member__linkedin svg { width: 18px; height: 18px; flex: 0 0 auto; }
.member__linkedin:hover { color: var(--accent); }
.member--fun .member__photo { object-position: 50% 50%; }
[data-lang-block][hidden] { display: none !important; }

/* LinkedIn news embeds (rendered from news.json) */
/* LinkedIn news — cropped official embed as a compact preview card (no scrollbar) */
.news-grid--embeds { align-items: start; }
.news-embed { position: relative; overflow: hidden; height: 340px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.news-embed:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-embed iframe { width: 100%; height: 1600px; border: 0; display: block; }
.news-embed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(to bottom, transparent, var(--surface)); pointer-events: none; }
.news-embed__more { position: absolute; left: 18px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--accent); background: color-mix(in oklab, var(--surface) 85%, transparent); backdrop-filter: blur(6px); padding: 8px 15px; border-radius: var(--pill); text-decoration: none; box-shadow: var(--shadow-sm); }
.news-embed__more .arr { display: inline-block; transition: transform .3s var(--ease); }
.news-embed__more:hover .arr { transform: translateX(4px); }

/* News carousel (arrows + dots + swipe; scrollbar hidden) */
.news-grid--carousel { display: block; }
.news-carousel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 14px 0 42px; }
.news-carousel__viewport::-webkit-scrollbar { display: none; }
.news-carousel__track { display: flex; gap: 16px; }
.news-carousel__track .news-embed { flex: 0 0 min(360px, 82%); scroll-snap-align: start; }
.news-carousel__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; }
.news-carousel__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: border-color .25s, color .25s; }
.news-carousel__btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.news-carousel__btn:disabled { opacity: .3; cursor: default; }
.news-carousel__dots { display: flex; gap: 8px; }
.news-carousel__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background .25s, transform .25s; }
.news-carousel__dot.active { background: var(--accent); transform: scale(1.35); }
