:root {
  --night: #0d0b1a;
  --night-2: #17142b;
  --night-3: #221e3d;
  --cream: #f4f1ea;
  --white: #fff;
  --orange: #ff6b14;
  --orange-soft: #ff9a5c;
  --orange-deep: #a83f00;
  --indigo: #4b3fb5;
  --text-dim: #b9b4d0;
  --muted: #5a566e;
  --line-dark: rgb(255 255 255 / .12);
  --line: #dcd6ca;
  --font: "Poppins", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--white); font: 400 1rem/1.7 var(--font); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.9rem); letter-spacing: -.04em; }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
section[id] { scroll-margin-top: 80px; }
.wrap { width: min(1360px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--night); padding: 10px 16px; }
.skip:focus { left: 8px; }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--orange); }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 28px; border: 1.5px solid var(--orange); border-radius: 99px; background: var(--orange); color: var(--night); font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn::after { content: "→"; transition: transform .25s var(--ease); }
.btn:hover { background: var(--white); border-color: var(--white); transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-small { min-height: 42px; padding: 8px 20px; font-size: .9rem; }
.btn-small::after { display: none; }
.btn-ghost { background: transparent; border-color: rgb(255 255 255 / .55); color: var(--white); }
.btn-ghost:hover { color: var(--night); }
.btn-dark { background: var(--night); border-color: var(--night); color: var(--white); }
.btn-dark:hover { background: var(--orange); border-color: var(--orange); color: var(--night); }
.btn-full { width: 100%; }
.text-link { font-weight: 500; color: var(--text-dim); }
.text-link:hover { color: var(--white); }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 4px; white-space: nowrap; }
.arrow-link::after { content: "→"; transition: transform .25s var(--ease); }
.arrow-link:hover::after { transform: translateX(6px); }
.head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { max-width: 16em; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.solid { background: rgb(13 11 26 / .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line-dark); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; width: min(1360px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.logo img { width: 150px; }
.menu-btn { display: none; min-height: 44px; padding: 8px 20px; border: 1.5px solid rgb(255 255 255 / .6); border-radius: 99px; background: transparent; color: var(--white); font: 600 .9rem var(--font); }

/* Main menu */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .92rem; font-weight: 500; }
.menu { display: flex; align-items: stretch; gap: 6px; }
.menu-top { display: flex; align-items: center; min-height: 76px; padding-inline: 8px; }
.menu-top > a { text-decoration: none; padding-block: 6px; background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.has-mega:hover .menu-top > a, .has-mega.open .menu-top > a, .menu-top > a[aria-current] { background-size: 100% 2px; }
.mega-toggle { display: grid; place-items: center; width: 22px; height: 28px; margin-left: 2px; padding: 0; border: 0; border-radius: 6px; background: none; color: inherit; cursor: pointer; }
.mega-toggle svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.has-mega.open .mega-toggle { color: var(--orange); }
.has-mega.open .mega-toggle svg { transform: rotate(180deg); }
.header.mega-open { background: var(--night); border-color: var(--line-dark); }

.mega { position: absolute; top: 100%; left: 0; right: 0; padding: 10px var(--gutter) 0; visibility: hidden; opacity: 0; translate: 0 -8px; pointer-events: none; transition: opacity .2s, translate .25s var(--ease), visibility 0s .25s; }
.has-mega.open .mega { visibility: visible; opacity: 1; translate: 0 0; pointer-events: auto; transition: opacity .2s, translate .25s var(--ease), visibility 0s; }
.mega-in { width: min(1248px, 100%); max-height: calc(100vh - 110px); max-height: calc(100svh - 110px); overflow-y: auto; margin-inline: auto; border-radius: 22px; background: var(--white); color: var(--night); box-shadow: 0 40px 90px rgb(5 4 14 / .55); }
.mega-in::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--orange), #ffb27a 40%, var(--indigo)); }
.mega-grid { display: grid; gap: 28px; padding: 24px 26px; }
.mega-services { grid-template-columns: 1fr 1fr 1fr 252px; gap: 18px; }
.mega-industries { grid-template-columns: 1fr 280px; }
.mega-cases { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mega-insights { grid-template-columns: 1fr 1fr 1.05fr .95fr; gap: 22px; }
.mega-company { grid-template-columns: 1fr 1fr 1fr; }

.mega-title { margin: 0 0 8px; padding-left: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: var(--orange-deep); }
.mega-list + .mega-title { margin-top: 16px; }
.mega-list.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; }
.mega-link { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.mega-link:hover, .mega-link:focus-visible, .mega-link[aria-current] { background: var(--cream); }
.mi { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--cream); color: var(--night); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.mi svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mega-link:hover .mi, .mega-link:focus-visible .mi, .mega-link[aria-current] .mi { background: var(--orange); color: var(--night); transform: scale(1.06); }
.mega-link b { display: block; font-size: .87rem; font-weight: 600; line-height: 1.35; }
.mega-link small { display: block; font-size: .73rem; font-weight: 400; line-height: 1.4; color: var(--muted); }

.mega-feature { position: relative; display: flex; align-items: flex-end; min-height: 280px; overflow: hidden; isolation: isolate; border-radius: 16px; background: var(--night-2); color: var(--white); text-decoration: none; }
.mega-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(13 11 26 / .96) 20%, rgb(13 11 26 / .55) 60%, rgb(13 11 26 / .2)); }
.mega-feature:hover img { transform: scale(1.06); }
.mega-feature-body { display: block; padding: 20px; }
.mega-feature b { display: block; font-size: 1.1rem; line-height: 1.35; margin-bottom: 6px; }
.mega-feature small { display: block; font-size: .78rem; font-weight: 400; line-height: 1.55; color: #d6d2e6; margin-bottom: 14px; }
.mega-feature-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: var(--orange); color: var(--night); font-size: .8rem; font-weight: 600; text-decoration: none; }
.mega i { font-style: normal; transition: transform .25s var(--ease); }
.mega a:hover > i, .mega a:hover .mega-feature-btn i { transform: translateX(4px); }

.mega-case { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.mega-case:hover { border-color: var(--orange); box-shadow: 0 18px 34px rgb(13 11 26 / .14); transform: translateY(-3px); }
.mega-case-logo { display: flex; align-items: center; justify-content: center; height: 128px; padding: 20px; }
.mega-case-logo img { width: auto; height: auto; max-width: 210px; max-height: 66px; mix-blend-mode: multiply; }
.mega-case.warm .mega-case-logo { background: #fbeede; }
.mega-case.cool .mega-case-logo { background: #ecebfa; }
.mega-case.mint .mega-case-logo { background: #e6f3ee; }
.mega-case-body { display: block; padding: 16px 18px 20px; }
.mega-case em, .mega-post em { display: block; font-style: normal; font-size: .72rem; font-weight: 600; color: var(--orange-deep); margin-bottom: 4px; }
.mega-case b { display: block; font-size: 1rem; line-height: 1.4; margin-bottom: 4px; }
.mega-case small { display: block; font-size: .79rem; font-weight: 400; line-height: 1.55; color: var(--muted); }

.mega-post { display: block; text-decoration: none; }
.mega-post img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; margin-bottom: 12px; background: var(--cream); transition: filter .25s; }
.mega-post:hover img { filter: saturate(1.2) brightness(1.04); }
.mega-post b { display: block; font-size: .93rem; line-height: 1.45; }
.mega-post:hover b { text-decoration: underline; text-decoration-color: var(--orange); }
.mega-plain a { display: block; padding: 9px 10px; border-bottom: 1px solid var(--line); font-size: .84rem; line-height: 1.45; text-decoration: none; transition: padding .25s var(--ease), color .2s; }
.mega-plain a:hover, .mega-plain a[aria-current] { padding-left: 16px; color: var(--orange-deep); }

.mega-contact { align-self: stretch; padding: 22px; border-radius: 16px; background: var(--night); color: var(--white); }
.mega-contact .mega-title { padding-left: 0; color: var(--orange); }
.mega-mail { display: block; margin: 4px 0 10px; font-size: 1.15rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.mega-mail:hover { color: var(--orange); }
.mega-contact address { font-size: .82rem; font-weight: 400; line-height: 1.7; color: var(--text-dim); margin-bottom: 18px; }

.mega-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 13px 36px; background: var(--cream); font-size: .82rem; }
.mega-foot span { color: var(--muted); font-weight: 400; }
.mega-foot a { font-weight: 600; text-decoration: none; }
.mega-foot a:hover { color: var(--orange-deep); }

/* Narrower laptops */
@media (min-width: 1101px) and (max-width: 1260px) {
  .mega-services { grid-template-columns: repeat(3, 1fr); }
  .mega-services .mega-feature { display: none; }
  .mega-link small { display: none; }
}

/* Phones and tablets: the menu becomes a list with sections that open */
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .header { background: rgb(13 11 26 / .94); }
  .nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 76px); max-height: calc(100svh - 76px); overflow-y: auto; overscroll-behavior: contain; padding: 4px var(--gutter) 28px; background: var(--night); border-bottom: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav > .btn { flex: none; margin-top: 20px; }
  .menu { flex: none; flex-direction: column; gap: 0; }
  .has-mega { border-bottom: 1px solid var(--line-dark); }
  .menu-top { justify-content: space-between; min-height: 58px; padding: 0; }
  .menu-top > a { flex: 1; padding-block: 16px; font-size: 1.05rem; background: none; }
  .mega-toggle { width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; }
  .mega-toggle svg { width: 14px; height: 14px; }
  .mega { position: static; display: none; visibility: visible; opacity: 1; translate: none; pointer-events: auto; padding: 0 0 16px; transition: none; }
  .has-mega.open .mega { display: block; transition: none; }
  .mega-in { max-height: none; overflow: hidden; border-radius: 16px; box-shadow: none; }
  .mega-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px 10px; }
  .mega-list.three { grid-template-columns: repeat(2, 1fr); }
  .mega-feature, .mega-post img { display: none; }
  .mega-case-logo { height: 92px; }
  .mega-post { padding-inline: 10px; }
  .mega-foot { padding: 14px 20px; }
  .mega-foot span { display: none; }
}

@media (max-width: 640px) {
  .mega-list.three { grid-template-columns: minmax(0, 1fr); }
}

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: min(100vh, 900px); min-height: min(100svh, 900px); padding-top: 96px; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img, .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg video { opacity: 0; transition: opacity .8s; }
.hero-bg video.playing { opacity: 1; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgb(13 11 26 / .86) 0%, rgb(13 11 26 / .6) 45%, rgb(13 11 26 / .3) 100%),
  linear-gradient(0deg, rgb(13 11 26 / .95) 0%, rgb(13 11 26 / 0) 30%); }
.hero-grid { display: grid; grid-template-columns: 1.6fr minmax(300px, 340px); gap: clamp(32px, 5vw, 80px); align-items: center; flex: 1; padding-block: 24px 40px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: .9rem; font-weight: 500; color: var(--text-dim); }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero h1 { font-size: clamp(2.4rem, min(4.7vw, 8.8vh), 4.9rem); letter-spacing: -.05em; line-height: 1.04; margin-bottom: 26px; }
.swap-box { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; white-space: nowrap; }
.swap { display: inline-block; color: var(--orange); }
.h1-end { display: block; }
.lead { max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.15rem); color: #d6d2e6; margin-bottom: 32px; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.quick { display: grid; grid-template-columns: 1fr; gap: 8px; align-self: center; background: var(--cream); color: var(--night); border-radius: 18px; padding: 20px; box-shadow: 0 30px 60px rgb(0 0 0 / .4); }
.quick > :not(.field) { grid-column: 1 / -1; }
.quick-title { margin: 0; font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.quick-sub { margin: -6px 0 2px; font-size: .78rem; color: var(--muted); }
.quick .field label { font-size: .74rem; margin-bottom: 3px; }
.quick .field input, .quick .field select { min-height: 40px; padding: 7px 11px; border-radius: 10px; font-size: .88rem; }
.quick .consent { margin: 2px 0 0; font-size: .72rem; gap: 8px; }
.quick .consent input { width: 16px; height: 16px; margin-top: 1px; }
.quick .btn { min-height: 46px; font-size: .9rem; }
.quick .form-status { margin: 0; font-size: .8rem; }

.field label { display: block; font-weight: 600; font-size: .82rem; margin-bottom: 5px; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #cfc8b8; border-radius: 12px; background: var(--white); color: var(--night); font: inherit; font-size: .95rem; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgb(255 107 20 / .2); }
.field textarea { resize: vertical; }
.lead-form.tried input:invalid, .lead-form.tried select:invalid { border-color: #b3261e; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--orange-deep); }
.form-status { margin: 0; font-size: .86rem; font-weight: 500; }
.form-status:empty { display: none; }
.trap { position: absolute; left: -9999px; }

.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px 26px; border-top: 1px solid var(--line-dark); }
.hero-foot ul { display: flex; flex-wrap: wrap; gap: 10px 44px; font-size: .9rem; color: var(--text-dim); }
.hero-foot strong { color: var(--white); font-weight: 600; margin-right: 4px; }
.video-toggle { min-height: 36px; padding: 6px 16px; border: 1px solid rgb(255 255 255 / .35); border-radius: 99px; background: rgb(13 11 26 / .6); color: var(--white); font: 500 .8rem var(--font); cursor: pointer; flex: none; }

/* Logos */
.clients { background: var(--cream); color: var(--night); padding-block: 44px; overflow: hidden; }
.clients h2 { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); text-align: center; margin-bottom: 26px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; flex: none; align-items: center; min-width: 100%; justify-content: space-around; }
.clients .track li { display: flex; align-items: center; justify-content: center; width: 220px; height: 64px; flex: none; }
.clients .track img { max-width: 160px; max-height: 46px; width: auto; }
.marquee.looping .track { animation: slide 46s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }

/* Services bento */
.services { padding-block: clamp(90px, 11vw, 150px); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(240px, auto); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line-dark); text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color .3s, transform .4s var(--ease); }
.tile:hover { border-color: rgb(255 107 20 / .7); transform: translateY(-4px); }
.tile::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); opacity: 0; filter: blur(60px); transition: opacity .4s; z-index: -1; }
.tile:hover::before { opacity: .22; }
.tile-no { font-size: .8rem; font-weight: 600; color: var(--orange); }
.tile-body h3 { margin-bottom: 10px; }
.tile-text { display: block; font-size: .9rem; line-height: 1.6; color: var(--text-dim); }
.tile-go { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.tile:hover .tile-go { background: var(--orange); border-color: var(--orange); color: var(--night); transform: rotate(-45deg); }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile:hover > img { transform: scale(1.05); }
.tile-big { grid-column: span 2; grid-row: span 2; justify-content: flex-end; padding: 36px; }
.tile-big::after, .tile-wide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(13 11 26 / .95) 0%, rgb(13 11 26 / .55) 50%, rgb(13 11 26 / .15) 100%); }
.tile-big .tile-no { position: absolute; top: 34px; left: 36px; }
.tile-big h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -.035em; line-height: 1.1; max-width: 12em; }
.tile-big .tile-text { max-width: 40ch; font-size: 1rem; color: #ddd9ec; }
.tile-big .tile-go { width: 52px; height: 52px; background: var(--orange); border-color: var(--orange); color: var(--night); }
.tile-wide { grid-column: span 2; }
.tile-orange { background: var(--orange); color: var(--night); border-color: var(--orange); }
.tile-orange > img { left: 50%; width: 50%; z-index: 0; }
.tile-orange::after { display: none; }
.tile-orange .tile-body { max-width: 48%; }
.tile-orange .tile-no { color: var(--night); }
.tile-orange .tile-text { color: #2a1405; }
.tile-orange .tile-go { border-color: rgb(13 11 26 / .3); right: auto; left: calc(50% - 64px); background: var(--orange); z-index: 1; }
.tile-orange:hover .tile-go { background: var(--night); color: var(--white); }

/* Case studies, horizontal on wide screens */
.work { background: var(--cream); color: var(--night); padding-block: clamp(90px, 11vw, 140px); }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 48px; }
.work-nav { display: flex; align-items: center; gap: 18px; font-weight: 600; }
.work-count b { color: var(--orange-deep); }
.work-bar { width: 160px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.work-bar i { display: block; height: 100%; width: 100%; background: var(--orange); transform: scaleX(.33); transform-origin: left; }
.work-track { display: grid; gap: 24px; width: min(1360px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.slide { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 28px; overflow: hidden; background: var(--white); box-shadow: 0 20px 50px rgb(13 11 26 / .08); }
.slide-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4vw, 56px); }
.slide-logo { height: 54px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 28px; }
.slide-sector { font-size: .82rem; font-weight: 600; color: var(--orange-deep); margin-bottom: 8px; }
.slide h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -.035em; line-height: 1.12; margin-bottom: 16px; }
.slide-text > p:not(.slide-sector) { color: var(--muted); margin-bottom: 28px; }
.slide-visual { display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 4vw, 52px) clamp(18px, 4vw, 52px) 18px; }
.slide-school .slide-visual { background: var(--orange); }
.slide-logistics .slide-visual { background: var(--indigo); color: var(--white); }
.slide-imaging .slide-visual { background: var(--night-3); color: var(--white); }
.slide-visual figcaption { margin-top: 16px; font-size: .7rem; text-align: right; }
.slide-end { display: none; }

.work.hs { padding: 0; }
.work.hs .work-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 70px; }
.work.hs .work-head { margin-bottom: 36px; }
.work.hs .work-track { display: flex; width: max-content; margin: 0; gap: 28px; padding-inline: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter))); will-change: transform; }
.work.hs .slide { width: min(1080px, 80vw); flex: none; min-height: min(520px, calc(100svh - 300px)); }
.work.hs .slide-end { display: flex; flex-direction: column; justify-content: space-between; width: 300px; flex: none; padding: 36px; border-radius: 28px; background: var(--night); color: var(--white); text-decoration: none; font-size: 1.8rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; transition: background-color .3s; }
.slide-end b { align-self: flex-end; font-size: 2.6rem; color: var(--orange); transition: transform .3s var(--ease); }
.slide-end:hover { background: var(--orange); color: var(--night); }
.slide-end:hover b { color: var(--night); transform: translateX(8px); }

/* Interface illustrations */
.mock { background: var(--white); color: var(--night); border-radius: 16px; padding: clamp(14px, 2vw, 24px); box-shadow: 0 30px 60px rgb(10 8 24 / .3); font-size: .8rem; line-height: 1.4; }
.mock-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: .92rem; }
.mock-bar span { font-size: .7rem; font-weight: 600; background: #ece9f8; color: var(--indigo); padding: 4px 12px; border-radius: 99px; }
.tiles { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-bottom: 8px; }
.mini { background: #f5f3ee; border-radius: 12px; padding: 14px; }
.mini small { display: block; color: var(--muted); margin-bottom: 8px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 78px; }
.bars i { flex: 1; height: var(--h); background: var(--indigo); border-radius: 5px 5px 0 0; }
.bars i:last-child { background: var(--orange); }
.mini-ring { display: flex; flex-direction: column; }
.ring { align-self: center; width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--orange) 0 74%, #ddd8ea 0); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px; border-top: 1px solid #ebe7de; }
.row em { font-style: normal; font-weight: 600; font-size: .72rem; }
.row em.ok { color: #0b6b43; background: #dcf4e8; padding: 3px 10px; border-radius: 99px; }
.row em.wait { color: #86400a; background: #ffe9d6; padding: 3px 10px; border-radius: 99px; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .45; } }
.map { display: block; width: 100%; height: auto; background: #eef0f7; border-radius: 12px; }
.roads { stroke: var(--white); stroke-width: 9; fill: none; }
.route { stroke: var(--indigo); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 9; fill: none; }
.pin-a { fill: var(--indigo); }
.pin-b { fill: var(--night); }
.van { fill: var(--orange); stroke: var(--white); stroke-width: 4; offset-path: path("M32 140 C 90 140, 70 62, 140 62 S 215 128, 268 108 S 320 30, 368 34"); animation: drive 7s ease-in-out infinite alternate; }
@keyframes drive { from { offset-distance: 4%; } to { offset-distance: 96%; } }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; text-align: center; font-size: .7rem; font-weight: 500; color: var(--muted); }
.timeline li { border-top: 4px solid #ddd8ea; padding-top: 10px; }
.timeline .done { border-color: var(--indigo); color: var(--night); }
.timeline .now { border-color: var(--orange); color: var(--night); font-weight: 600; }
.files { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.files span { display: grid; place-items: center; height: 50px; border: 1.5px dashed #a9a3c4; border-radius: 10px; font-weight: 600; font-size: .74rem; }
.pipe { position: relative; height: 34px; width: 3px; margin: 4px auto; background: #ddd8ea; overflow: hidden; }
.pipe i { position: absolute; inset: 0; background: var(--orange); animation: flow 1.5s linear infinite; }
@keyframes flow { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.dicom { background: #f5f3ee; border-radius: 12px; padding: 12px 16px 2px; }
.dicom b { display: block; margin-bottom: 4px; }

/* Process */
.process { padding-block: clamp(90px, 11vw, 150px); }
.process-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.process-top h2 { margin-bottom: 18px; }
.process-intro { color: var(--text-dim); max-width: 40ch; }
.process-video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: #6d696c; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 44px; }
.steps::before, .steps::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 100%; background: var(--line-dark); }
.steps::after { background: var(--orange); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.steps li { position: relative; display: flex; flex-direction: column; }
.steps li::before { content: ""; position: absolute; top: -51px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--night); border: 2px solid rgb(255 255 255 / .35); transition: background-color .3s, border-color .3s; }
.steps li.lit::before { background: var(--orange); border-color: var(--orange); }
.step-no { font-size: 3rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: rgb(255 255 255 / .2); margin-bottom: 18px; transition: color .3s; }
.steps li.lit .step-no { color: var(--orange); }
.steps h3 { font-size: 1.45rem; margin-bottom: 10px; }
.steps p { font-size: .93rem; color: var(--text-dim); }
.steps .out { margin: auto 0 0; padding: 12px 14px; border-radius: 12px; background: var(--night-2); border: 1px solid var(--line-dark); color: var(--white); font-size: .85rem; font-weight: 500; }

/* Industries */
.industries { position: relative; background: var(--night-2); padding-block: clamp(90px, 11vw, 150px); border-block: 1px solid var(--line-dark); }
.industries-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.industries-side { position: sticky; top: 120px; }
.industries-side h2 { margin-bottom: 18px; }
.industries-side > p:last-child { color: var(--text-dim); max-width: 32ch; }
.ind-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--line-dark); }
.ind-list li { border-bottom: 1px solid var(--line-dark); }
.ind-list a { display: flex; flex-direction: column; justify-content: center; min-height: 96px; padding: 16px 40px 16px 0; position: relative; text-decoration: none; transition: padding .3s var(--ease); }
.ind-list a::after { content: "→"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; color: var(--orange); opacity: .5; transition: opacity .3s, transform .3s var(--ease); }
.ind-list span { font-size: clamp(1.25rem, 1.9vw, 1.7rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; transition: color .3s; }
.ind-list small { font-size: .82rem; color: var(--text-dim); }
.ind-list a:hover { padding-left: 12px; }
.ind-list a:hover span { color: var(--orange); }
.ind-list a:hover::after { opacity: 1; transform: translateX(4px); }
.peek { position: fixed; left: 0; top: 0; z-index: 30; width: 260px; height: 180px; object-fit: cover; border-radius: 16px; pointer-events: none; opacity: 0; scale: .8; transition: opacity .25s, scale .3s var(--ease); box-shadow: 0 30px 60px rgb(0 0 0 / .5); }
.peek.show { opacity: 1; scale: 1; }

/* Technology strip */
.stack-strip { background: var(--orange); color: var(--night); padding-block: 26px; overflow: hidden; }
.marquee-text .track li { flex: none; padding-inline: 28px; font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee-text .track li::after { content: "✦"; font-size: .55em; }
.marquee-text .track li:last-child::after { content: "✦"; }

/* Insights */
.insights { background: var(--cream); color: var(--night); padding-block: clamp(90px, 11vw, 150px); }
.posts { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.post { position: relative; display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 22px; padding: 14px; border-radius: var(--radius); background: var(--white); transition: box-shadow .3s, transform .3s var(--ease); }
.post:hover { box-shadow: 0 24px 50px rgb(13 11 26 / .12); transform: translateY(-3px); }
.post img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; }
.post-main { grid-row: span 2; grid-template-columns: 1fr; align-content: start; }
.post-main img { height: 330px; }
.post-main .post-text { padding: 6px 12px 14px; }
.post-text p { font-size: .8rem; font-weight: 600; color: var(--orange-deep); margin-bottom: 6px; }
.post h3 a { text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post-main h3 { font-size: 1.7rem; letter-spacing: -.03em; }

/* FAQ */
.faq { background: var(--cream); color: var(--night); padding-bottom: clamp(90px, 11vw, 150px); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.faq-grid > div:first-child { position: sticky; top: 120px; }
.faq .kicker { color: var(--orange-deep); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--night); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 24px; cursor: pointer; font-size: 1.1rem; font-weight: 600; line-height: 1.4; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--night); color: var(--white); font-weight: 400; font-size: 1.3rem; line-height: 1; transition: background-color .2s, transform .3s var(--ease); }
.faq details[open] summary::after { background: var(--orange); color: var(--night); transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 60ch; padding-bottom: 10px; }

/* Contact */
.contact { position: relative; isolation: isolate; overflow: hidden; background: #1a1538; color: var(--white); padding-block: clamp(90px, 11vw, 140px); }
.contact::before { content: ""; position: absolute; z-index: -1; width: 720px; aspect-ratio: 1; left: -240px; bottom: -360px; border-radius: 50%; background: radial-gradient(circle, rgb(255 107 20 / .28), transparent 65%); }
.contact::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(90deg, #000, transparent 55%); }
.contact h2 em { font-style: normal; color: var(--orange); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); letter-spacing: -.05em; line-height: 1; margin-bottom: 22px; }
.contact-copy > p { font-size: 1.08rem; max-width: 38ch; color: #d6d2e6; }
.contact dl { margin: 40px 0 0; }
.contact dt { font-size: .82rem; font-weight: 600; color: var(--orange); padding-top: 16px; border-top: 1px solid var(--line-dark); }
.contact dd a:hover { color: var(--orange); }
.contact dd { margin: 4px 0 22px; max-width: 36ch; }
.full { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; color: var(--night); background: var(--cream); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px rgb(13 11 26 / .18); }
.field-wide { grid-column: 1 / -1; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.form-foot .form-status { flex: 1 1 220px; }

/* Footer */
.footer { background: var(--night); color: var(--text-dim); padding-top: clamp(64px, 8vw, 96px); overflow: hidden; font-size: .92rem; }
.footer { position: relative; isolation: isolate; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgb(13 11 26 / .9) 0%, rgb(13 11 26 / .78) 40%, rgb(13 11 26 / .97) 78%, var(--night) 100%),
  linear-gradient(90deg, rgb(13 11 26 / .55), rgb(13 11 26 / .1) 60%, rgb(13 11 26 / .45));
}
.footer.bg-on::before { background:
  linear-gradient(180deg, rgb(13 11 26 / .9) 0%, rgb(13 11 26 / .78) 40%, rgb(13 11 26 / .97) 78%, var(--night) 100%),
  linear-gradient(90deg, rgb(13 11 26 / .55), rgb(13 11 26 / .1) 60%, rgb(13 11 26 / .45)),
  url("img/footer-bg.jpg") center top / cover no-repeat; }
.footer-card { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgb(23 20 43 / .72); }
.footer-top { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { width: 160px; margin-bottom: 20px; }
.footer-brand p { max-width: 38ch; font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--white); transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.social a:hover { background: var(--orange); border-color: var(--orange); color: var(--night); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-contact { display: grid; gap: 12px; }
.footer-card { position: relative; display: block; padding: 22px 64px 22px 24px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--line-dark); text-decoration: none; transition: border-color .25s, background-color .25s; }
.footer-card:hover { border-color: var(--orange); background: var(--night-3); }
.footer-card-label { display: block; font-size: .78rem; font-weight: 600; color: var(--orange); margin-bottom: 4px; }
.footer-card-value { display: block; color: var(--white); font-size: 1.05rem; font-weight: 500; line-height: 1.5; }
.footer-card:first-child .footer-card-value { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -.02em; }
.footer-card-go { position: absolute; right: 20px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / .08); color: var(--white); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.footer-card:hover .footer-card-go { background: var(--orange); color: var(--night); transform: translateX(3px); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 48px; }
.footer h2 { font-size: .95rem; letter-spacing: 0; color: var(--white); margin-bottom: 16px; }
.footer nav a { display: block; width: fit-content; padding-block: 5px; text-decoration: none; transition: color .2s, transform .2s var(--ease); }
.footer nav a:hover { color: var(--orange); transform: translateX(4px); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer-base p { margin: 0; }
.footer-legal { display: flex; gap: 22px; }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--orange); }
.to-top { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line-dark); border-radius: 99px; color: var(--white); font-weight: 500; }
.to-top:hover { border-color: var(--orange); }

.mobile-bar { display: none; }

/* Scroll reveal, only when scripts run */
.js .reveal { transform: translateY(24px); transition: transform .8s var(--ease); }
.js .reveal.in { transform: none; }

/* Medium screens */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr minmax(280px, 320px); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-bg::after { background: linear-gradient(0deg, rgb(13 11 26 / 1) 30%, rgb(13 11 26 / .7) 70%, rgb(13 11 26 / .55) 100%); }
  .slide, .process-top, .industries-grid, .faq-grid, .contact-grid, .posts, .footer-top { grid-template-columns: 1fr; }
  .industries-side, .faq-grid > div:first-child { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; padding-top: 0; }
  .steps::before, .steps::after { display: none; }
  .steps li { padding-top: 0; }
  .steps li::before { display: none; }
  .post-main { grid-row: auto; }
  .peek { display: none; }
}

@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .eyebrow { font-size: .8rem; align-items: flex-start; }
  .eyebrow .pulse { margin-top: 6px; }
  .hero h1 { font-size: clamp(2.3rem, 10.6vw, 3.2rem); }
  .quick { padding: 18px; }
  .hero-foot ul { gap: 8px 22px; font-size: .82rem; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile, .tile-big, .tile-wide { grid-column: auto; grid-row: auto; }
  .tile { min-height: 200px; }
  .tile-big { min-height: 420px; padding: 26px; }
  .tile-big .tile-no { top: 26px; left: 26px; }
  .tile-orange { padding-top: 220px; }
  .tile-orange > img { left: 0; width: 100%; height: 200px; }
  .tile-orange .tile-body { max-width: none; }
  .tile-orange .tile-go { left: auto; right: 22px; top: 22px; }
  .steps { grid-template-columns: 1fr; }
  .ind-list { grid-template-columns: 1fr; }
  .ind-list a { min-height: 80px; }
  .post { grid-template-columns: 1fr; }
  .post img, .post-main img { height: 200px; }
  .full { grid-template-columns: 1fr; }
  .full .btn { width: 100%; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; inset: auto 0 0; z-index: 40; padding: 9px 10px max(9px, env(safe-area-inset-bottom)); background: var(--night); border-top: 1px solid var(--line-dark); transition: transform .25s; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid rgb(255 255 255 / .4); border-radius: 99px; color: var(--white); font-weight: 600; font-size: .88rem; text-decoration: none; }
  .mobile-bar a:last-child { background: var(--orange); border-color: var(--orange); color: var(--night); }
  .mobile-bar.away { transform: translateY(110%); visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { overflow-x: auto; }
}
