/* Cloud ITS — site styles.
   Palette, type and graphic devices follow Cloud ITS Brand Guidelines v1:
   cyan #34c4eb, sky #1bace2, blue #1499d5, navy #0d1a41 (+ the tints printed in the guide), white.
   Inter is the brand's digital typeface; the bold + light uppercase pairing echoes the
   guide's "BRAND / IDENTITY" headers. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/static/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/static/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(/static/fonts/inter-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --cyan: #34c4eb;
  --sky: #1bace2;
  --blue: #1499d5;
  --navy: #0d1a41;
  --navy-80: #3b4567;
  --navy-60: #6b7189;
  --navy-40: #9ba0b0;
  --navy-20: #cdd0d9;
  --cyan-10: #e2f6fc;
  --blue-10: #d3eaf7;
  --white: #ffffff;
  --grad: linear-gradient(90deg, #34c4eb 0%, #1bace2 45%, #1499d5 100%);
  --ink: var(--navy);
  --muted: var(--navy-80);

  --f: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: .8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 5.5rem);
  --step-5: clamp(3.1rem, 1.4rem + 7.4vw, 8.75rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--f); font-size: var(--step-0); line-height: 1.6; color: var(--ink);
  background: var(--white); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -.025em; font-weight: 750; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; 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: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

/* ------------------------------------------------------------------ type devices */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: var(--step--1); font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 1.1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.on-dark .eyebrow, .on-blue .eyebrow { color: var(--cyan); }
.on-blue .eyebrow { color: #fff; }
.on-blue .eyebrow::before { background: #fff; }

/* The guide's BOLD / light pairing */
.duo { font-size: var(--step-4); line-height: .9; letter-spacing: -.04em; margin: 0 0 1.5rem; }
.duo b { display: block; font-weight: 820; text-transform: uppercase; }
.duo span { display: block; font-weight: 200; text-transform: uppercase; letter-spacing: -.01em; }
.duo--grad b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark .duo span { color: var(--cyan); }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 40ch; }
.on-dark .lede, .on-blue .lede { color: rgba(255,255,255,.86); }
.h2 { font-size: var(--step-3); letter-spacing: -.035em; line-height: 1; margin-bottom: 1rem; }
.h3 { font-size: var(--step-1); letter-spacing: -.015em; line-height: 1.2; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.tnum { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 1.5rem;
  border-radius: 999px; border: 0; font-weight: 650; font-size: 1rem; letter-spacing: -.005em; text-decoration: none;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(20,153,213,.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(20,153,213,.85); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 650; text-decoration: none; color: var(--blue); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--cyan); }
.on-blue .link-arrow { color: #fff; }

/* ------------------------------------------------------------------ header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, color .3s; color: var(--navy); background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 rgba(13,26,65,.08); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; }
.brand .logo-white { display: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(20,153,213,.1); color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 650; font-size: .95rem; font-variant-numeric: tabular-nums; }
.header-phone svg { width: 17px; height: 17px; color: var(--blue); }
.header-actions .btn { min-height: 44px; padding: 0 1.1rem; font-size: .92rem; }
.header-ticket { font-size: .85rem; font-weight: 550; text-decoration: none; opacity: .75; }
.header-ticket:hover { opacity: 1; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }

/* transparent header over the dark hero until scrolled */
.has-hero .site-header:not(.is-scrolled) { background: transparent; box-shadow: none; color: #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-hero .site-header:not(.is-scrolled) .logo-colour { display: none; }
.has-hero .site-header:not(.is-scrolled) .logo-white { display: block; }
.has-hero .site-header:not(.is-scrolled) .nav a:hover,
.has-hero .site-header:not(.is-scrolled) .nav a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; }
.has-hero .site-header:not(.is-scrolled) .header-phone svg { color: var(--cyan); }

.mobile-menu { position: fixed; inset: 0; z-index: 49; background: var(--navy); color: #fff; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px; transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; overflow-y: auto; }
.mobile-menu a { text-decoration: none; font-size: 1.9rem; font-weight: 750; letter-spacing: -.03em; padding: 6px 0; }
.mobile-menu a.sub { font-size: 1.05rem; font-weight: 500; opacity: .8; }
.mobile-menu .btn { margin-top: 20px; align-self: flex-start; font-size: 1rem; }
.menu-open .mobile-menu { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.menu-open .site-header { background: transparent !important; box-shadow: none !important; color: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.menu-open .site-header .logo-colour { display: none !important; }
.menu-open .site-header .logo-white { display: block !important; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .header-ticket { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .brand img { height: 44px; }
  .header-actions .btn, .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border-radius: 12px; }
  .header-phone svg { width: 20px; height: 20px; }
  .menu-btn { display: block; margin-left: 0; }
}
@media (min-width: 721px) { .mobile-menu { display: none; } }

/* ------------------------------------------------------------------ sections */
.sec { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.sec--tight { padding-block: clamp(56px, 7vw, 96px); }
.on-dark { background: var(--navy); color: #fff; }
.on-blue { background: var(--blue); color: #fff; }
.on-mist { background: var(--cyan-10); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .lede { justify-self: start; margin: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* brand contour ribbon (the guide's fine wave lines) */
.contour { position: absolute; pointer-events: none; color: var(--navy-40); opacity: .55; }
.contour svg { width: 100%; height: 100%; }
.on-dark .contour, .on-blue .contour { color: #fff; opacity: .14; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13,26,65,.92) 0%, rgba(13,26,65,.7) 34%, rgba(13,26,65,.05) 70%),
              linear-gradient(0deg, rgba(13,26,65,.95) 0%, rgba(13,26,65,0) 42%); }
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 48px); padding-bottom: 36px; }
.hero__title { font-size: var(--step-5); line-height: .86; letter-spacing: -.055em; margin: 0 0 1.75rem; max-width: 12ch; }
.hero__title b { display: block; font-weight: 820; }
.hero__title span { display: block; font-weight: 200; letter-spacing: -.035em; color: var(--cyan); }
.hero__sub { font-size: var(--step-1); line-height: 1.5; max-width: 46ch; color: rgba(255,255,255,.88); margin-bottom: 2rem; }
.hero__proof { margin-top: clamp(40px, 7vh, 88px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.proof__v { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 750; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof__v small { font-size: .5em; font-weight: 500; color: var(--cyan); letter-spacing: 0; margin-left: 2px; }
.proof__v i { font-style: normal; color: var(--cyan); }
.proof__l { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 8px; }
.proof-note { font-size: .75rem; color: rgba(255,255,255,.5); margin: 14px 0 0; }
@media (max-width: 720px) {
  .hero { align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(13,26,65,.97) 0%, rgba(13,26,65,.82) 55%, rgba(13,26,65,.25) 100%); }
  .hero__proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* sub-page hero */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 110px)); padding-bottom: clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero .duo { font-size: var(--step-5); line-height: .86; letter-spacing: -.05em; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: end; }
.page-hero__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 30px 80px -40px rgba(13,26,65,.55); }
.page-hero__img img, .page-hero__img video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }
.page-hero--media { color: #fff; background: var(--navy); min-height: 78svh; display: flex; align-items: flex-end; isolation: isolate; }
.page-hero--media .hero__media { z-index: -2; }
.page-hero--media::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13,26,65,.94) 0%, rgba(13,26,65,.6) 50%, rgba(13,26,65,.2) 100%), linear-gradient(0deg, rgba(13,26,65,.9), rgba(13,26,65,0) 50%); }
.page-hero--media .duo span { color: var(--cyan); }

/* ------------------------------------------------------------------ the automation bench (signature) */
.bench { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: stretch; }
.bench__tabs { display: flex; flex-direction: column; gap: 10px; }
.bench__tab { text-align: left; border: 1.5px solid var(--navy-20); background: #fff; border-radius: 14px; padding: 16px 18px; cursor: pointer;
  display: grid; gap: 2px; transition: border-color .2s, background-color .2s, transform .2s var(--ease); position: relative; }
.bench__tab b { font-size: 1.05rem; font-weight: 700; letter-spacing: -.015em; }
.bench__tab span { font-size: .88rem; color: var(--navy-60); }
.bench__tab:hover { border-color: var(--sky); transform: translateX(3px); }
.bench__tab[aria-selected="true"] { border-color: transparent; background: var(--navy); color: #fff; }
.bench__tab[aria-selected="true"] span { color: var(--cyan); }
.bench__tab[aria-selected="true"]::after { content: ""; position: absolute; right: -15px; top: 50%; width: 15px; height: 2px; background: var(--cyan); }
.bench__note { font-size: .8rem; color: var(--navy-60); margin-top: auto; padding-top: 8px; line-height: 1.45; }

.bench__stage { background: var(--navy); color: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 36px); position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; min-height: 520px; isolation: isolate; }
.bench__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(52,196,235,.18) 1px, transparent 1.2px); background-size: 22px 22px; }
.bench__flowbox { position: relative; display: flex; }
.bench__flow { flex: 1; list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.bench__trace { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.bench__trace i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cyan), var(--blue)); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform .6s var(--ease); }
.node { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 6px 0; }
.node__pad { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--navy); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); transition: box-shadow .4s, background-color .4s; }
.node__pad::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.22); transition: background-color .4s, transform .4s var(--ease); }
.node__pad::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(52,196,235,0); transition: border-color .4s; }
.node__kind { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); transition: color .4s; }
.node__text { font-size: .98rem; line-height: 1.35; color: rgba(255,255,255,.55); transition: color .4s; }
.node.is-on .node__pad { box-shadow: inset 0 0 0 2px var(--cyan), 0 0 24px rgba(52,196,235,.55); }
.node.is-on .node__pad::before { background: var(--cyan); transform: scale(1.1); }
.node.is-on .node__pad::after { border-color: rgba(52,196,235,.35); }
.node.is-on .node__kind { color: var(--cyan); }
.node.is-on .node__text { color: #fff; }
.node[data-kind="Human"].is-on .node__pad::before { background: #fff; }
.node[data-kind="Human"].is-on .node__kind { color: #fff; }

.bench__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bench__log { flex: 1; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px; font-size: .86rem;
  line-height: 1.55; font-variant-numeric: tabular-nums; min-height: 220px; overflow: hidden; }
.bench__log-head { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.bench__live { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); }
.bench__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.bench__log ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bench__log li { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 8px; animation: logIn .45s var(--ease) both; }
.bench__log li time { color: rgba(255,255,255,.4); }
.bench__log li.done { color: var(--cyan); font-weight: 600; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }
.bench__meter { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.meter { border-radius: 12px; padding: 12px 14px; background: rgba(255,255,255,.05); }
.meter dt { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.meter dd { margin: 4px 0 0; font-weight: 650; font-size: .98rem; line-height: 1.3; }
.meter--auto { background: var(--grad); }
.meter--auto dt { color: rgba(255,255,255,.85); }
.bench__done { font-weight: 600; font-size: 1rem; line-height: 1.4; min-height: 2.8em; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); }
.bench__done.is-on { opacity: 1; transform: none; }
.bench__replay { align-self: flex-start; background: none; border: 0; color: var(--cyan); font-weight: 600; cursor: pointer; padding: 4px 0; font-size: .9rem; }
.bench__replay:hover { text-decoration: underline; }
@media (max-width: 1000px) {
  .bench { grid-template-columns: 1fr; }
  .bench__tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .bench__tab { flex: 0 0 auto; min-width: 190px; scroll-snap-align: start; }
  .bench__tab[aria-selected="true"]::after { display: none; }
  .bench__note { display: none; }
  .bench__stage { grid-template-columns: 1fr; min-height: 0; }
}
.bench-note-m { display: none; font-size: .8rem; color: var(--navy-60); margin-top: 14px; }
@media (max-width: 1000px) { .bench-note-m { display: block; } }

/* ------------------------------------------------------------------ foundation stack (blue section) */
.foundation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.stack { display: grid; gap: 14px; perspective: 1400px; }
.slab { border-radius: 18px; padding: 22px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; align-items: baseline;
  transform-style: preserve-3d; transition: transform .9s var(--ease), opacity .9s var(--ease); }
.slab__tag { grid-row: span 2; font-size: .7rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; align-self: start; margin-top: 4px; }
.slab h3 { font-size: var(--step-1); font-weight: 750; letter-spacing: -.02em; }
.slab p { margin: 0; font-size: .95rem; line-height: 1.5; }
.slab--team { background: #fff; color: var(--navy); }
.slab--team .slab__tag { background: var(--cyan-10); color: var(--blue); }
.slab--team p { color: var(--navy-80); }
.slab--ai { background: var(--navy); color: #fff; box-shadow: 0 0 0 1.5px var(--cyan), 0 18px 50px -20px rgba(13,26,65,.7); }
.slab--ai .slab__tag { background: var(--grad); color: #fff; }
.slab--ai p { color: rgba(255,255,255,.75); }
.slab--it { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.slab--it .slab__tag { background: #fff; color: var(--blue); }
.slab--it p { color: rgba(255,255,255,.85); }
.slab__chips { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.slab__chips span { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.16); }
.js .stack:not(.is-in) .slab { opacity: 0; transform: translateY(40px) rotateX(18deg); }
.stack .slab:nth-child(1) { transition-delay: .3s; }
.stack .slab:nth-child(2) { transition-delay: .15s; }
@media (max-width: 900px) { .foundation { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ cards */
.ai-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.ai-card { grid-column: span 2; border-radius: var(--radius); padding: 30px 28px 28px; position: relative; overflow: hidden;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .3s, transform .3s var(--ease), background-color .3s; isolation: isolate; }
.ai-card:nth-child(1), .ai-card:nth-child(2) { grid-column: span 3; }
.ai-card:hover { box-shadow: inset 0 0 0 1px rgba(52,196,235,.55); background: rgba(52,196,235,.06); transform: translateY(-3px); }
.ai-card::after { content: ""; position: absolute; z-index: -1; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52,196,235,.22), transparent 70%); opacity: 0; transition: opacity .4s; }
.ai-card:hover::after { opacity: 1; }
.ai-card__lede { color: var(--cyan); font-weight: 600; margin: 0; }
.ai-card h3 { font-size: var(--step-2); font-weight: 750; letter-spacing: -.03em; }
.ai-card p { color: rgba(255,255,255,.76); margin: 0; font-size: .98rem; }
.ai-card ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.ai-card li { font-size: .88rem; color: rgba(255,255,255,.82); display: flex; gap: 10px; }
.ai-card li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .55em; border-radius: 50%; background: var(--cyan); }
.ai-card--cta { background: var(--grad); box-shadow: none; justify-content: space-between; }
.ai-card--cta:hover { background: var(--grad); box-shadow: 0 20px 50px -20px rgba(52,196,235,.8); }
.ai-card--cta p { color: rgba(255,255,255,.92); }
@media (max-width: 980px) { .ai-card, .ai-card:nth-child(1), .ai-card:nth-child(2) { grid-column: span 3; } }
@media (max-width: 640px) { .ai-grid { grid-template-columns: 1fr; } .ai-card, .ai-card:nth-child(1), .ai-card:nth-child(2) { grid-column: auto; } }

/* dogfood */
.dogfood { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.dogfood__img { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4 / 3.3; }
.dogfood__img img { width: 100%; height: 100%; object-fit: cover; }
.dogfood__badge { position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(13,26,65,.88); color: #fff; border-radius: 14px; padding: 14px 16px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .88rem; line-height: 1.4; display: flex; gap: 12px; align-items: center; }
.dogfood__badge b { color: var(--cyan); }
.dogfood__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.dogfood__list li { padding: 20px 0; border-top: 1px solid var(--navy-20); display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
.dogfood__list li:last-child { border-bottom: 1px solid var(--navy-20); }
.dogfood__list svg { width: 28px; height: 28px; color: var(--blue); margin-top: 2px; }
.dogfood__list h3 { font-size: var(--step-1); margin-bottom: 6px; }
.dogfood__list p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .dogfood { grid-template-columns: 1fr; } }

/* managed IT services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--navy-20); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--navy-20); }
.svc { background: #fff; padding: 32px 28px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-height: 250px; position: relative; transition: background-color .3s; }
.svc__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--cyan-10); color: var(--blue); display: grid; place-items: center; margin-bottom: 8px; transition: background-color .3s, color .3s; }
.svc__icon svg { width: 24px; height: 24px; }
.svc h3 { font-size: var(--step-1); font-weight: 750; }
.svc p { color: var(--muted); margin: 0; font-size: .95rem; }
.svc .link-arrow { margin-top: auto; padding-top: 12px; }
.svc:hover { background: var(--navy); color: #fff; }
.svc:hover p { color: rgba(255,255,255,.75); }
.svc:hover .svc__icon { background: var(--grad); color: #fff; }
.svc:hover .link-arrow { color: var(--cyan); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc { min-height: 0; } }

/* film band */
.band { position: relative; height: clamp(320px, 52vw, 620px); overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.band video, .band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13,26,65,.92) 0%, rgba(13,26,65,.15) 60%); }
.band__quote { font-size: var(--step-3); font-weight: 200; letter-spacing: -.035em; line-height: 1.02; max-width: 18ch; padding-bottom: clamp(32px, 5vw, 64px); margin: 0; }
.band__quote b { font-weight: 800; }

/* two houses */
.houses { display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); align-items: stretch; }
.house { border-radius: 22px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; min-height: 480px; position: relative; overflow: hidden; }
.house--cits { background: var(--grad); color: #fff; }
.house--ti { background: var(--navy); color: #fff; }
.house__logo { height: 70px; width: auto; align-self: flex-start; object-fit: contain; }
.house__mark { display: flex; align-items: center; gap: 14px; height: 70px; }
.house__mark svg { width: 54px; height: 54px; }
.house__mark span { font-size: 1.15rem; font-weight: 600; letter-spacing: .02em; line-height: 1.1; }
.house__role { font-size: .74rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; opacity: .8; margin-top: 12px; }
.house h3 { font-size: var(--step-3); font-weight: 820; letter-spacing: -.045em; line-height: .95; text-transform: uppercase; }
.house h3 span { display: block; font-weight: 200; }
.house p { margin: 0; color: rgba(255,255,255,.9); max-width: 40ch; }
.house ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.house li { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); }
.house--ti li { background: rgba(52,196,235,.14); color: var(--cyan); }
.house .link-arrow { color: #fff; }
.house--ti .link-arrow { color: var(--cyan); }
.houses__join { display: grid; place-items: center; position: relative; }
.houses__join::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--grad); }
.houses__join span { position: relative; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--sky), 0 10px 30px -10px rgba(20,153,213,.7);
  display: grid; place-items: center; font-weight: 300; font-size: 1.8rem; color: var(--blue); }
.houses__caption { text-align: center; max-width: 60ch; margin: 36px auto 0; color: var(--muted); }
@media (max-width: 900px) {
  .houses { grid-template-columns: 1fr; }
  .houses__join { height: 64px; }
  .houses__join::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .house { min-height: 0; }
}

/* steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue)); opacity: .35; }
.step { position: relative; padding-top: 72px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); font-weight: 750; font-size: 1.2rem; }
.step:first-child::before { background: var(--grad); color: #fff; box-shadow: none; }
.step__k { font-size: .74rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.step h3 { font-size: var(--step-1); margin: 6px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .step { padding: 0 0 32px 80px; min-height: 56px; }
}

/* industries */
.industries { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: clamp(1.7rem, 1rem + 3.2vw, 3.6rem); line-height: 1.15; letter-spacing: -.04em; font-weight: 200; text-transform: uppercase; }
.industries li { list-style: none; display: flex; align-items: center; }
.industries li:not(:last-child)::after { content: "/"; color: var(--sky); margin: 0 .35em; font-weight: 200; }
.industries li:nth-child(odd) { font-weight: 800; }
.industries { padding: 0; margin: 0; }

/* post cards */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.post-card__img { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--blue-10); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-weight: 650; display: flex; gap: 10px; }
.post-card__meta span:last-child { color: var(--navy-60); }
.post-card h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -.02em; transition: color .2s; }
.post-card:hover h3 { color: var(--blue); }
.post-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.on-dark .post-card p { color: rgba(255,255,255,.72); }
.on-dark .post-card:hover h3 { color: var(--cyan); }
.posts--featured .post-card:first-child { grid-column: span 2; grid-row: span 2; }
.posts--featured .post-card:first-child h3 { font-size: var(--step-2); }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .posts--featured .post-card:first-child { grid-column: span 2; grid-row: auto; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } .posts--featured .post-card:first-child { grid-column: auto; } }

/* ------------------------------------------------------------------ forms */
.cta-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.cta-block__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.cta-block__list li { display: flex; gap: 12px; color: rgba(255,255,255,.88); }
.cta-block__list svg { flex: none; width: 22px; height: 22px; color: var(--cyan); margin-top: 2px; }
.contact-lines { margin-top: 36px; display: grid; gap: 10px; }
.contact-lines a { text-decoration: none; font-weight: 650; font-size: 1.15rem; display: inline-flex; gap: 10px; align-items: center; }
.contact-lines svg { width: 20px; height: 20px; color: var(--cyan); }
.form { background: #fff; color: var(--navy); border-radius: 22px; padding: clamp(22px, 3.5vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.6); }
.form h3 { grid-column: 1 / -1; font-size: var(--step-2); letter-spacing: -.03em; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: .86rem; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--navy-20); border-radius: 12px; padding: 13px 14px; background: #fff; min-height: 50px;
  transition: border-color .2s, box-shadow .2s; font-size: 1rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20,153,213,.15); }
.field--opt label::after { content: " (optional)"; font-weight: 400; color: var(--navy-60); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 8px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--navy-20); font-size: .9rem; font-weight: 550; cursor: pointer; transition: all .2s; user-select: none; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.consent { display: flex; gap: 10px; font-size: .85rem; color: var(--navy-80); line-height: 1.45; align-items: flex-start; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.form__status { grid-column: 1 / -1; font-size: .95rem; margin: 0; }
.form__status.is-error { color: #b42318; }
.form__status.is-ok { color: var(--blue); font-weight: 600; }
.form .btn { justify-self: start; }
@media (max-width: 900px) { .cta-block { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ service page parts */
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.point { padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--navy-20); position: relative; overflow: hidden; }
.point::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; background: var(--grad); border-radius: 0 3px 3px 0; }
.point h3 { font-size: var(--step-1); margin-bottom: 8px; }
.point p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .points { grid-template-columns: 1fr; } }
.outcome { margin-top: 18px; border-radius: 22px; padding: clamp(28px, 4vw, 44px); background: var(--navy); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.outcome__k { font-size: .74rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.outcome h3 { font-size: var(--step-3); letter-spacing: -.04em; line-height: 1; margin-top: 10px; }
.outcome p { margin: 0; color: rgba(255,255,255,.78); }
@media (max-width: 800px) { .outcome { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--navy-20); }
.faq details { border-bottom: 1px solid var(--navy-20); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: var(--step-1); font-weight: 650; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 70ch; }
.two-col { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.guard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.guard > div { padding: 28px 28px 28px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.guard > div:not(:nth-child(3n)) { border-right: 1px solid rgba(255,255,255,.14); }
.guard > div:not(:nth-child(3n+1)) { padding-left: 28px; }
.guard h3 { font-size: var(--step-1); margin-bottom: 8px; }
.guard p { margin: 0; color: rgba(255,255,255,.75); font-size: .95rem; }
@media (max-width: 860px) {
  .guard { grid-template-columns: 1fr; }
  .guard > div { padding: 22px 0 !important; border-right: 0 !important; }
}
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case { padding: 26px; border-radius: var(--radius); background: var(--cyan-10); }
.case h3 { font-size: var(--step-1); margin-bottom: 8px; }
.case p { margin: 0; color: var(--navy-80); font-size: .95rem; }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cases { grid-template-columns: 1fr; } }

/* about */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.value { padding: 30px; border-radius: var(--radius); background: rgba(255,255,255,.12); }
.value h3 { font-size: var(--step-3); font-weight: 200; text-transform: uppercase; letter-spacing: -.04em; margin-bottom: 10px; }
.value p { margin: 0; color: rgba(255,255,255,.88); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-top: 1px solid var(--navy-20); }
.timeline time { font-size: var(--step-2); font-weight: 800; letter-spacing: -.04em; color: var(--blue); line-height: 1; }
.timeline h3 { font-size: var(--step-1); margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--muted); }
.vendors { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.vendors li { padding: 12px 18px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--navy-20); font-weight: 650; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.person { padding: 26px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--navy-20); display: flex; gap: 18px; align-items: center; }
.person__mono { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: 1.3rem; flex: none; }
.person h3 { font-size: var(--step-1); }
.person p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 700px) { .people { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ article */
.article-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }
.article-hero h1 { font-size: var(--step-4); letter-spacing: -.045em; line-height: .98; font-weight: 800; max-width: 20ch; margin: 0 0 24px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--navy-60); font-size: .9rem; }
.article-meta a { color: var(--blue); font-weight: 650; text-decoration: none; }
.article-cover { margin: clamp(32px, 5vw, 56px) auto 0; max-width: 1180px; padding-inline: var(--gutter); }
.article-cover img { border-radius: 22px; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.prose { font-size: 1.125rem; line-height: 1.75; color: #1d2850; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: var(--step-2); letter-spacing: -.03em; line-height: 1.15; margin-top: 2em; color: var(--navy); }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; color: var(--navy); }
.prose a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-radius: 16px; background: var(--cyan-10); border-left: 4px solid var(--blue); color: var(--navy); font-weight: 500; }
.prose blockquote p { margin: 0; }
.prose strong { color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--navy-20); vertical-align: top; }
.prose th { background: var(--cyan-10); }
.prose hr { border: 0; height: 1px; background: var(--navy-20); margin: 2.5em 0; }
.article-end { margin-top: 56px; padding: 32px; border-radius: 22px; background: var(--navy); color: #fff; display: grid; gap: 14px; }
.article-end h2 { font-size: var(--step-2); letter-spacing: -.03em; }
.article-end p { margin: 0; color: rgba(255,255,255,.8); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter button { border: 1.5px solid var(--navy-20); background: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.82); padding: 88px 0 calc(32px + env(safe-area-inset-bottom)); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-top img { height: 76px; width: auto; margin-bottom: 20px; }
.footer-top h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; font-weight: 700; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-top a { text-decoration: none; }
.footer-top a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-top address { font-style: normal; line-height: 1.7; }
.footer-word { font-size: clamp(3rem, 15vw, 15rem); font-weight: 820; letter-spacing: -.06em; line-height: .8; margin: 72px 0 0; text-transform: uppercase;
  background: linear-gradient(90deg, rgba(52,196,235,.28), rgba(20,153,213,.12)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; user-select: none; }
.footer-word span { font-weight: 200; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-bottom a { color: inherit; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* sticky mobile action bar (audit W-08) */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 8px; border-radius: 18px; background: rgba(13,26,65,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
    transform: translateY(140%); transition: transform .4s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 650; font-size: .92rem; background: rgba(255,255,255,.08); }
  .mbar a:last-child { background: var(--grad); }
  .mbar svg { width: 18px; height: 18px; }
  .site-footer { padding-bottom: 110px; }
}

/* ------------------------------------------------------------------ reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-stagger].is-in > *:nth-child(2) { transition-delay: .08s; }
.js [data-stagger].is-in > *:nth-child(3) { transition-delay: .16s; }
.js [data-stagger].is-in > *:nth-child(4) { transition-delay: .24s; }
.js [data-stagger].is-in > *:nth-child(5) { transition-delay: .32s; }
.js [data-stagger].is-in > *:nth-child(6) { transition-delay: .4s; }
.js [data-stagger].is-in > *:nth-child(n+7) { transition-delay: .46s; }
.hero__title b, .hero__title span { animation: rise 1.1s var(--ease) both; }
.hero__title span { animation-delay: .12s; }
.hero__sub, .hero .btn-row { animation: rise 1.1s var(--ease) .24s both; }
.hero__proof { animation: rise 1.1s var(--ease) .4s both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js [data-stagger] > *, .js .stack:not(.is-in) .slab { opacity: 1; transform: none; }
}

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--navy); color: #fff; padding: 120px var(--gutter) 60px; }
.notfound .duo { font-size: var(--step-5); }
.dogfood__badge svg { width: 24px; height: 24px; flex: none; color: var(--cyan); }
.uc-img img { border-radius: 18px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.page-hero--media .lede { color: rgba(255,255,255,.88); }
.page-hero--media .eyebrow { color: var(--cyan); }
.page-hero--media .hero__media img, .page-hero--media .hero__media video { width: 100%; height: 100%; object-fit: cover; }

/* Big headings size to their own column, not the viewport, so long words never overflow. */
.duo, .hero__title { overflow-wrap: normal; hyphens: none; }
.sec, .page-hero, .hero, .band, .site-footer { overflow-x: clip; }
body { overflow-x: clip; }
.page-hero__grid > div:first-child, .page-hero .wrap, .sec-head > div, .two-col > div, .foundation > div, .cta-block > div { min-width: 0; }
.sec > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }

/* cookie consent bar (GA4 is only loaded after Accept) */
.consent-bar { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); max-width: 720px; margin-inline: auto;
  background: var(--navy); color: #fff; border-radius: 18px; padding: 18px 20px; display: flex; gap: 16px 20px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(52,196,235,.35); }
.consent-bar[hidden] { display: none; }
.consent-bar p { margin: 0; flex: 1 1 320px; font-size: .92rem; line-height: 1.5; color: rgba(255,255,255,.88); }
.consent-bar a { color: var(--cyan); }
.consent-bar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-bar .btn { min-height: 44px; padding: 0 1.1rem; font-size: .92rem; }
.consent-bar .btn--ghost { color: #fff; }
@media (max-width: 720px) { .consent-bar { bottom: calc(80px + env(safe-area-inset-bottom)); } .consent-bar__actions { width: 100%; } .consent-bar .btn { flex: 1; } }
