/* Uncomplex - site styles
   Type: Montserrat (the wordmark's own geometric voice) + JetBrains Mono for labels.
   Colour: the brand's real ink + deep blue, lots of white. One accent. */

:root {
  --ink: #001223;
  --ink-2: #1b2c40;
  --muted: #536173;
  --line: #dbe4ee;
  --line-2: #c4d1df;
  --soft: #f2f7fb;
  --paper: #ffffff;
  --blue: #007BD3;
  --blue-2: #00A6F8;
  --blue-dark: #005BA7;
  --blue-tint: #e6f3fd;
  --aqua: #00A6F8;
  --ok: #1f7a57;

  --f-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --max: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --hdr: 76px;
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(0, 18, 35, .04), 0 12px 32px -12px rgba(0, 18, 35, .16);
  --shadow-lg: 0 2px 4px rgba(0, 18, 35, .04), 0 28px 60px -20px rgba(0, 18, 35, .32);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16.5px/1.7 var(--f-sans); letter-spacing: -.003em;
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px;
  background: var(--ink); color: #fff; border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 860px; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-dark);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.on-dark .eyebrow { color: #7fd3ff; }
.h-xl { font-size: clamp(2.5rem, 6.2vw, 5rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -.03em; }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.h-sm { font-size: 1.2rem; letter-spacing: -.015em; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 620px; line-height: 1.65; }
.on-dark .lede { color: #bccada; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }

/* The wordmark's baseline rule - drawn under key headings when they reveal */
.baseline { position: relative; display: inline; background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 100%; padding-bottom: .04em;
  transition: background-size 1.1s var(--ease-out) .25s; }
.in .baseline, .baseline.in { background-size: 100% 2px; }
.baseline--blue { background-image: linear-gradient(var(--blue), var(--blue)); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s;
  box-shadow: 0 8px 22px -10px rgba(0, 18, 35, .45);
}
.btn::after { /* light sweep */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(0, 18, 35, .55); }
.btn--blue { --bg: var(--blue); }
.btn--blue:hover { --bg: var(--blue-dark); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.on-dark .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.on-dark .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn--white { --bg: #fff; --fg: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px;
  transition: background-size .4s var(--ease), color .2s;
}
.link:hover { color: var(--blue); background-size: 0% 1.5px; background-position: 100% 100%; }
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.on-dark .link { color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr);
  transition: background-color .35s, box-shadow .35s, height .35s var(--ease);
}
.site-header.scrolled, .site-header.solid {
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled { --hdr: 66px; }
.hdr-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; width: 168px; flex: none; }
.brand img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 13px; white-space: nowrap; font-size: 14.5px; font-weight: 500; color: var(--ink-2); border-radius: 8px;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: var(--ink); font-weight: 600; }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.hdr-cta .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.hdr-phone { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; padding: 8px 6px; }
.hdr-phone svg { width: 17px; height: 17px; color: var(--blue); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--ink);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.burger span { display: block; width: 18px; height: 1.6px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.burger span + span { margin-top: 5px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--paper); padding: calc(var(--hdr) + 24px) var(--gut) 32px;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s var(--ease-out), visibility 0s .55s;
}
.menu-open .drawer { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease-out); }
.drawer a.d-link {
  display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 600; letter-spacing: -.03em;
  opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease-out);
}
.drawer a.d-link small { font: 500 12px var(--f-mono); color: var(--muted); letter-spacing: .1em; }
.drawer a.d-link.active { color: var(--blue); }
.menu-open .drawer a.d-link { opacity: 1; transform: none; }
.menu-open .drawer a.d-link:nth-child(2) { transition-delay: .05s; }
.menu-open .drawer a.d-link:nth-child(3) { transition-delay: .1s; }
.menu-open .drawer a.d-link:nth-child(4) { transition-delay: .15s; }
.menu-open .drawer a.d-link:nth-child(5) { transition-delay: .2s; }
.menu-open .drawer a.d-link:nth-child(6) { transition-delay: .25s; }
.drawer-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.drawer-foot .btn { width: 100%; }
html.menu-open { overflow: hidden; }

/* ---------- hero slideshow ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: center; overflow: hidden; background: #e6edf4; isolation: isolate; }
.slides { position: absolute; inset: 0; z-index: -2; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.slide.is-on { opacity: 1; }
.slide picture, .slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.slide.is-on img { transform: scale(1); }
.slide[data-pos="right"] img { object-position: 70% 50%; }
.hero::before { /* light scrim: copy sits on the white end */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 36%, rgba(255,255,255,.35) 62%, rgba(255,255,255,0) 82%),
              linear-gradient(0deg, rgba(255,255,255,.7), rgba(255,255,255,0) 30%);
}
.hero-in { position: relative; padding-top: calc(var(--hdr) + 48px); padding-bottom: 150px; }
.hero-copy { max-width: 690px; }
.hero h1 { margin: 22px 0 24px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.hero.ready h1 .line > span { transform: none; }
.hero.ready h1 .line:nth-child(2) > span { transition-delay: .09s; }
.hero.ready h1 .line:nth-child(3) > span { transition-delay: .18s; }
.hero .lede { color: var(--ink-2); }
.hero .fade { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .45s, transform .9s var(--ease-out) .45s; }
.hero.ready .fade { opacity: 1; transform: none; }
.hero .btn-row { margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--blue); }

.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.hero-bar .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 28px; }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: min(560px, 100%); }
.tab { text-align: left; padding-top: 12px; position: relative; color: var(--muted); transition: color .3s; }
.tab::before, .tab i { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 100%; background: rgba(0, 18, 35,.16); }
.tab i { background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.tab.is-on { color: var(--ink); }
.tab.is-on i { animation: tabfill var(--dur, 6.5s) linear forwards; }
.hero.paused .tab.is-on i { animation-play-state: paused; }
.tab.done i { transform: scaleX(1); }
@keyframes tabfill { to { transform: scaleX(1); } }
.tab b { display: block; font: 500 11px var(--f-mono); letter-spacing: .12em; }
.tab span { display: block; font-size: 14px; font-weight: 600; margin-top: 2px; }
.fig-label { /* labelled image tag on every slide */
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px -10px rgba(0, 18, 35,.35); font-size: 12.5px; font-weight: 500; color: var(--ink-2); max-width: 340px;
}
.fig-label b { font: 600 11px var(--f-mono); letter-spacing: .1em; color: var(--blue); white-space: nowrap; }
.fig-label .cap { transition: opacity .4s; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 22px; height: 36px; margin-left: -11px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(0, 18, 35,.35); display: none; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--soft { background: var(--soft); }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.on-dark { background: var(--ink); color: #fff; }
.on-dark .muted { color: #a7b7c9; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 24px 64px; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* page heads (inner pages) */
.pagehead { position: relative; padding: calc(var(--hdr) + clamp(64px, 9vw, 120px)) 0 clamp(56px, 7vw, 90px); overflow: hidden; isolation: isolate; }
.pagehead .ph-bg { position: absolute; inset: 0; z-index: -2; }
.pagehead .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 40%, rgba(255,255,255,.35) 75%, rgba(255,255,255,.15)); }
.pagehead h1 { margin: 20px 0 22px; max-width: 14ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }
.pagehead .fig-label { position: absolute; right: var(--gut); bottom: 22px; }
.ph-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .25s, background-color .25s; }
a.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); background: #fff; }
.chip b { font: 500 11px var(--f-mono); color: var(--blue); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding: 22px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marq 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; flex: none; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.marquee li::after { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- untangle (signature) ---------- */
.untangle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.tangle-fig { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-lg); background: var(--soft); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line); }
.tangle-fig svg { position: absolute; inset: 8% 6%; width: 88%; height: 84%; overflow: visible; }
.tangle-fig .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .55; -webkit-mask: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); mask: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); }
.tangle-fig figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; gap: 12px; font: 500 11.5px var(--f-mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.tangle-fig figcaption b { color: var(--ink); font-weight: 600; }
.tangle-state { position: absolute; top: 16px; left: 16px; font: 600 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: #a33b3b; transition: color .3s; }
.tangle-state.ok { color: var(--ok); }
.checks { display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-weight: 500; }
.checks li svg { width: 22px; height: 22px; color: var(--blue); margin-top: 3px; }

/* ---------- custom cards ---------- */
.cards { display: grid; gap: 18px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: var(--r-lg);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 123, 211, .08), transparent 60%);
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card .corner { position: absolute; width: 12px; height: 12px; border-color: var(--line-2); border-style: solid; border-width: 0; transition: border-color .3s, transform .4s var(--ease); }
.card .corner.tl { top: 12px; left: 12px; border-top-width: 1.5px; border-left-width: 1.5px; }
.card .corner.br { bottom: 12px; right: 12px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.card:hover .corner { border-color: var(--blue); }
.card:hover .corner.tl { transform: translate(-3px, -3px); }
.card:hover .corner.br { transform: translate(3px, 3px); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.card-num { font: 500 12px var(--f-mono); letter-spacing: .12em; color: var(--muted); }
.icon-tile { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue);
  transition: background-color .35s, color .35s, transform .5s var(--ease); }
.icon-tile svg { width: 24px; height: 24px; }
.card:hover .icon-tile { background: var(--blue); color: #fff; transform: rotate(-6deg); }
.card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.card .tag { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: 8px; display: block; }
.card .card-foot { margin-top: auto; padding-top: 24px; }
.card ul.ticks { display: grid; gap: 10px; margin-top: 18px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.ticks li svg { width: 16px; height: 16px; color: var(--blue); margin-top: 4px; }
.card--step .step-line { position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.card--step:hover .step-line { transform: scaleX(1); }

/* step connector on home: a baseline running under all four cards */
.steps-rail { position: relative; }
.steps-rail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -28px; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) .3s; }
.steps-rail.in::after { transform: scaleX(1); }

/* ---------- browser-frame work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.wcard { display: flex; flex-direction: column; gap: 18px; }
.frame { position: relative; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f7f8fa; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d9e1; }
.frame-bar span { margin-left: 10px; flex: 1; height: 20px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font: 500 10.5px/20px var(--f-mono); color: var(--muted); padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.frame-img { position: relative; aspect-ratio: 800 / 478; overflow: hidden; background: #fff; }
.frame-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.wcard:hover .frame { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-lg); }
.wcard:hover .frame-img img { transform: scale(1.04); }
.wcard figcaption, .img-label { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: var(--muted); }
.wcard figcaption b, .img-label b { font: 600 11px var(--f-mono); letter-spacing: .1em; color: var(--blue); }
.wcard h3 { font-size: 1.3rem; }
.wcard .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wcard .logo { height: 42px; width: auto; max-width: 110px; object-fit: contain; flex: none; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 34px 30px 28px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background-color .4s, box-shadow .4s; }
.quote:hover { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
.quote .qm { display: block; height: 38px; font: 600 76px/1 Georgia, 'Times New Roman', serif; color: #33b8fa; margin-bottom: -8px; }
.quote blockquote { margin: 0; font-size: 1.12rem; line-height: 1.6; font-weight: 500; letter-spacing: -.01em; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.quote figcaption .who { font-weight: 600; font-size: 14.5px; }
.quote figcaption .org { font-size: 13px; color: #a7b7c9; }
.quote .q-logo { width: 92px; height: 48px; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 7px 10px; flex: none; }
.quote .q-logo img { max-height: 34px; max-width: 72px; width: auto; height: auto; object-fit: contain; }

/* ---------- split / media ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
.media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); box-shadow: 0 0 0 1px var(--line); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .fig-label { position: absolute; left: 14px; bottom: 14px; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.prose p { color: var(--ink-2); font-size: 1.04rem; }
.prose p.big { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.5; font-weight: 500; color: var(--ink); letter-spacing: -.015em; }
.prose h2 { margin-bottom: 22px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(90px, 12vw, 150px) 0; }
.cta-band .bg { position: absolute; inset: 0; z-index: -2; }
.cta-band .bg img { width: 100%; height: 115%; object-fit: cover; object-position: 60% 50%; will-change: transform; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 18, 35, .9) 0%, rgba(0, 18, 35, .72) 45%, rgba(0, 18, 35, .25) 100%); }
.cta-band h2 { max-width: 15ch; margin: 18px 0 20px; }
.cta-band .lede { color: #d5dce8; }
.cta-band .btn-row { margin-top: 32px; }
.cta-band .fig-label { position: absolute; right: var(--gut); top: 26px; background: rgba(255,255,255,.14); color: #e7ecf4; box-shadow: none; }
.cta-band .fig-label b { color: #a6e0ff; }

/* ---------- link tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 36px 30px 36px 0; border-bottom: 1px solid var(--line); }
.tile + .tile { padding-left: 30px; border-left: 1px solid var(--line); }
.tile h3 { font-size: 1.25rem; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tile h3 svg { width: 22px; height: 22px; transition: transform .4s var(--ease); flex: none; }
.tile:hover h3 svg { transform: translate(4px, -4px); color: var(--blue); }
.tile p { color: var(--muted); font-size: 15px; }
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.tile + .tile::after { left: 30px; }
.tile:hover::after { transform: scaleX(1); }

/* ---------- process timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; padding: 44px 0; border-top: 1px solid var(--line); align-items: start; }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-num { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 300; letter-spacing: -.05em; line-height: .9; color: var(--line-2); transition: color .5s; }
.tl-item.in .tl-num { color: var(--blue); }
.tl-item h3 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); margin: 8px 0 12px; }
.tl-item .ticks { display: grid; gap: 12px; }
.tl-item .ticks li { font-size: 15.5px; }

/* ---------- toolkit grid ---------- */
.toolkit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.tool { background: var(--paper); padding: 26px 22px; display: grid; gap: 10px; align-content: start; transition: background-color .3s; }
.tool:hover { background: var(--soft); }
.tool svg { width: 24px; height: 24px; color: var(--blue); }
.tool h3 { font-size: 1rem; letter-spacing: -.01em; }
.tool p { font-size: 13.8px; color: var(--muted); line-height: 1.55; }
.tool .stage { font: 500 10.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- packages ---------- */
.pkg { padding: 34px 30px 30px; }
.pkg.featured { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px var(--ink), var(--shadow-lg); }
.pkg.featured p, .pkg.featured .ticks li { color: #c3d0de; }
.pkg.featured .ticks li svg { color: #5cc6ff; }
.pkg.featured .card-num { color: #8597ab; }
.pkg.featured .corner { border-color: rgba(255,255,255,.3); }
.pkg.featured .tag { color: #7fd3ff; }
.pkg.featured::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 166, 248, .16), transparent 60%); }
.pkg .badge { font: 600 10.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--blue); color: #fff; }
.pkg h3 { font-size: 1.6rem; margin-bottom: 8px; }
.pkg .card-foot .btn { width: 100%; }

.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; background: #fff; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 14px; font-weight: 600; background: var(--soft); position: sticky; top: 0; }
.compare thead th small { display: block; font: 500 10.5px var(--f-mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 18%; }
.compare tbody tr { transition: background-color .2s; }
.compare tbody tr:hover { background: #fafbfc; }
.compare tr.grp td { font: 600 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: #fbfcfe; padding-top: 22px; }
.compare svg { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.compare .yes { color: var(--blue); }
.compare .opt { font: 500 11.5px var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.compare .no { color: var(--line-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 600; letter-spacing: -.015em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary .pm { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .3s, box-shadow .3s, transform .4s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--ink); color: #fff; box-shadow: none; transform: rotate(180deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq details[open] .ans { grid-template-rows: 1fr; }
.faq .ans > div { overflow: hidden; }
.faq .ans p { color: var(--muted); max-width: 720px; padding-bottom: 26px; margin: 0; }

/* ---------- case studies (work page) ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(56px, 7vw, 90px) 0; border-top: 1px solid var(--line); }
.case:nth-child(even) > .case-media { order: 2; }
.case-num { font: 500 12px var(--f-mono); letter-spacing: .12em; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.case-num img { height: 40px; width: auto; }
.case h2 { margin: 18px 0 10px; }
.case .tagline { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.case blockquote { margin: 28px 0 0; padding: 22px 0 0 22px; border-left: 2px solid var(--blue); font-size: 1.06rem; font-weight: 500; line-height: 1.6; color: var(--ink-2); }
.case blockquote cite { display: block; margin-top: 12px; font-style: normal; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.case-media { display: grid; gap: 14px; }
.case-media .frame-img { aspect-ratio: 800 / 478; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.info-card { position: sticky; top: calc(var(--hdr) + 24px); padding: 34px 30px; border-radius: var(--r-lg); background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.info-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 166, 248, .35), transparent 70%); z-index: -1; }
.info-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.info-list { display: grid; gap: 4px; margin: 26px 0; }
.info-list li { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.info-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.info-list .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #7fd3ff; }
.info-list .ic svg { width: 19px; height: 19px; }
.info-list small { display: block; font: 500 10.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #8597ab; }
.info-list a, .info-list span.v { font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.info-list a:hover { color: #a6e0ff; }
.copy-btn { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.08); color: #d6deeb; transition: background-color .2s; }
.copy-btn:hover { background: rgba(255,255,255,.16); }
.clock { display: flex; align-items: center; gap: 10px; font: 500 12.5px var(--f-mono); color: #a7b7c9; }
.clock .dot { width: 8px; height: 8px; border-radius: 50%; background: #45c08a; box-shadow: 0 0 0 0 rgba(69,192,138,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(69,192,138,0); } 100% { box-shadow: 0 0 0 0 rgba(69,192,138,0); } }

.form-card { padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.form-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 500 15.5px var(--f-sans); color: var(--ink); padding: 14px 16px; border-radius: 12px; border: 0;
  background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, background-color .25s; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(0, 123, 211,.1); }
.field input:user-invalid, .field textarea:user-invalid { box-shadow: inset 0 0 0 1.5px #c0392b; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chk { position: relative; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer;
  background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, box-shadow .2s, color .2s; user-select: none; }
.chk span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: #fff no-repeat center / 10px; transition: background-color .2s, box-shadow .2s; }
.chk input:checked + span { background: var(--blue-tint); box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue-dark); }
.chk input:checked + span::before { background-color: var(--blue); box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.chk input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 320px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 500; font-size: 14.5px; }
.form-status.ok { background: #e8f5ef; color: #165c41; }
.form-status.err { background: #fbecea; color: #8a2c22; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; }

.next-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: ns; }
.next-steps li { counter-increment: ns; padding: 26px 24px; border-radius: var(--r); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.next-steps li::before { content: "0" counter(ns); display: block; font: 500 12px var(--f-mono); color: var(--blue); letter-spacing: .1em; margin-bottom: 14px; }
.next-steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.next-steps p { font-size: 14.5px; color: var(--muted); }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.value { padding: 40px 32px 8px 0; }
.value + .value { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.14); }
.value .word { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600; letter-spacing: -.035em; position: relative; display: inline-block; }
.value .word s { text-decoration: none; position: relative; color: #6e7a8f; }
.value .word s::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: 2px; background: #e86a5b; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out) .4s; }
.value.in .word s::after { transform: scaleX(1); }
.value p { margin-top: 14px; color: #a7b7c9; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c3d0de; padding: clamp(64px, 8vw, 100px) 0 28px; position: relative; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 54px; }
.foot-brand img { width: 190px; margin-bottom: 22px; }
.foot-brand p { font-size: 15px; max-width: 340px; color: #a7b7c9; }
.site-footer h3 { font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #7d90a6; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul span { font-size: 15px; color: #a7b7c9; }
.site-footer ul a { font-size: 15px; color: #dfe5ee; transition: color .2s; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.06); color: #dfe5ee; transition: background-color .25s, transform .35s var(--ease); }
.socials a:hover { background: var(--blue); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.foot-word { display: block; width: 100%; opacity: .07; margin: 0 0 22px; pointer-events: none; }
.foot-bot { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8597ab; }
.foot-bot a:hover { color: #fff; }

/* ---------- floating bits ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 50px; height: 50px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow);
  display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s, transform .45s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 144.5; stroke-dashoffset: calc(144.5 * (1 - var(--p, 0))); }
.to-top svg.arrow { width: 18px; height: 18px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); transition: opacity .3s, transform .4s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(8% 8% 8% 8% round 22px); transition: clip-path 1.3s var(--ease-out); }
.rv-img.in { clip-path: inset(0 0 0 0 round 22px); }
html.no-js .rv { opacity: 1; transform: none; }
html.no-js .rv-img { clip-path: none; }
body { animation: pagein .6s var(--ease) both; }
body.leaving { opacity: 0; transition: opacity .22s; }
@keyframes pagein { from { opacity: 0; } }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--hdr) + 40px) var(--gut) 60px; }
.nf .big { font-size: clamp(5rem, 18vw, 12rem); font-weight: 600; letter-spacing: -.06em; line-height: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .hdr-phone { display: none; }
}
@media (max-width: 1080px) {
  .nav, .hdr-phone { display: none; }
  .burger { display: flex; }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolkit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .tl-item { grid-template-columns: 80px minmax(0, 1fr); }
  .tl-item .ticks { grid-column: 2; }
}
@media (max-width: 900px) {
  .work-grid, .quotes, .cards--3 { grid-template-columns: minmax(0, 1fr); }
  .work-grid { gap: 40px; }
  .split, .untangle, .case, .contact-grid, .sec-head--split { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child, .case:nth-child(even) > .case-media { order: 0; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile + .tile { padding-left: 0; border-left: 0; }
  .tile + .tile::after { left: 0; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .value + .value { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .value { padding-bottom: 32px; }
  .next-steps { grid-template-columns: minmax(0, 1fr); }
  .info-card { position: relative; top: 0; }
  .hero-bar .fig-label { display: none; }
  .pagehead .fig-label { position: static; margin-top: 26px; }
  .cta-band .fig-label { position: static; margin-top: 30px; }
}
@media (max-width: 640px) {
  :root { --hdr: 66px; }
  body { font-size: 16px; }
  .brand { width: 136px; }
  .hdr-cta .btn { display: none; }
  .cards--4, .cards--2 { grid-template-columns: minmax(0, 1fr); }
  .toolkit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tool { padding: 20px 16px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .hero::before { background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.8) 55%, rgba(255,255,255,.5) 82%, rgba(255,255,255,.75) 100%); }
  .hero-in { padding-bottom: 130px; }
  .tabs { gap: 8px; }
  .tab span { font-size: 12.5px; }
  .tl-item { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 34px 0; }
  .tl-item .ticks { grid-column: auto; }
  .btn-row .btn { flex: 1 1 auto; }
  .info-list li { grid-template-columns: 42px minmax(0, 1fr); }
  .info-list .copy-btn { grid-column: 2; justify-self: start; }
  .pagehead::before { background: linear-gradient(180deg, rgba(255,255,255,.93), rgba(255,255,255,.82)); }
  .to-top { right: 14px; bottom: 14px; }
  table.compare { min-width: 0; font-size: 13.5px; }
  .compare th, .compare td { padding: 12px 8px; }
  .compare th:first-child, .compare td:first-child { padding-left: 14px; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 21%; }
  .compare thead th { font-size: 12.5px; line-height: 1.3; }
  .compare .opt { font-size: 10px; }
}
@media (max-width: 380px) {
  .toolkit { grid-template-columns: minmax(0, 1fr); }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
}
@media (hover: none) {
  .card:hover, .wcard:hover .frame { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .rv-img { clip-path: none; }
  .marquee-track { animation: none; }
}
@media print {
  .site-header, .to-top, .toast, .drawer, .marquee, .hero-bar, .scroll-cue { display: none !important; }
  .hero, .pagehead { min-height: 0; padding-top: 20px; }
  .rv { opacity: 1 !important; transform: none !important; }
  body { animation: none; }
}

/* ---------- round 2 fixes ---------- */
.note { margin-top: 28px; font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; max-width: 720px; }
.note svg { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 2px; }
.chk input[type=radio] + span::before { border-radius: 50%; }
.chk input[type=radio]:checked + span::before { background-image: none; box-shadow: inset 0 0 0 4px var(--blue); background-color: #fff; }
.statement { font-weight: 500; line-height: 1.15; }
/* a white wash along the top keeps the transparent header legible over any slide */
.hero::after, .pagehead::after { content: ""; position: absolute; inset: 0 0 auto; height: 170px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0)); }
.case-media .frame { display: block; }

/* =====================================================================
   WestRinse additions on top of the Uncomplex system
   ===================================================================== */
.brand { width: 250px; }
.brand img { width: 100%; height: auto; }
.site-footer .foot-brand img { width: 220px; }
.foot-word { opacity: .06; }

/* ---------- image-backed sections ---------- */
.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.sbg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.sbg img { width: 100%; height: 100%; object-fit: cover; }
.sbg[data-parallax] img { height: 118%; }
.has-bg.wash::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.84) 50%, rgba(255,255,255,.62) 100%); }
.has-bg.wash-soft::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(242,247,251,.9), rgba(242,247,251,.8)); }
.has-bg.on-dark::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,18,35,.86) 0%, rgba(0,18,35,.72) 50%, rgba(0,18,35,.9) 100%); }

/* ---------- service cards on photo backgrounds ---------- */
.card--img { color: #fff; background: var(--ink); box-shadow: none; min-height: 400px; justify-content: flex-end; }
.card--img .card-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.card--img .card-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.card--img .card-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,18,35,.25) 0%, rgba(0,18,35,.55) 38%, rgba(0,18,35,.94) 100%); transition: background-color .5s; }
.card--img:hover .card-bg img { transform: scale(1.08); }
.card--img::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0,166,248,.22), transparent 60%); }
.card--img .card-top { margin-bottom: auto; padding-bottom: 60px; }
.card--img .icon-tile { background: rgba(255,255,255,.14); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.card--img:hover .icon-tile { background: var(--blue); }
.card--img .card-num { color: rgba(255,255,255,.75); }
.card--img .tag { color: #7fd3ff; }
.card--img p { color: #d0dbe7; }
.card--img .corner { border-color: rgba(255,255,255,.4); }
.card--img:hover .corner { border-color: var(--aqua); }
.card--img .link { color: #fff; }
.card--img .step-line { background: var(--aqua); }
.card--img:hover { box-shadow: var(--shadow-lg); }
.card--wide { grid-column: span 2; }
.cards--svc { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- step cards on soft image wash ---------- */
.card--step .icon-tile { background: var(--blue-tint); }

/* ---------- untangle tweak for this brand ---------- */
.tangle-fig { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tangle-state { color: #8a5a17; }

/* ---------- reviews: honest first-review block ---------- */
.quote .badge-new { align-self: flex-start; font: 600 10.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--blue); color: #fff; }
.quote h3 { font-size: 1.3rem; }
.quote p { color: #c3d0de; font-size: 15.5px; }
.quote .btn { align-self: flex-start; }
.stars { display: flex; gap: 4px; color: #7fd3ff; }
.stars svg { width: 18px; height: 18px; }
.stars.empty { color: rgba(255,255,255,.28); }

/* ---------- packages ---------- */
.pkg .price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 14px; }
.pkg .price b { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.03em; }
.pkg .price small { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pkg.featured .price small { color: #8fa3b8; }
.pkg-img { margin: -34px -30px 26px; height: 170px; position: relative; overflow: hidden; }
.pkg-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pkg:hover .pkg-img img { transform: scale(1.05); }
.pkg-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,18,35,0) 40%, rgba(0,18,35,.35)); }
.pkg.featured .pkg-img::after { background: linear-gradient(180deg, rgba(0,18,35,0) 30%, var(--ink)); }
.pkg .card-top { position: absolute; top: 16px; left: 18px; right: 18px; z-index: 2; margin: 0; }
.pkg .card-top .card-num { color: #fff; background: rgba(0,18,35,.55); padding: 6px 10px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pkg { padding-top: 34px; }

/* ---------- gallery ---------- */
.g-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.g-filter .chip { cursor: pointer; background: #fff; }
.g-filter .chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.g-filter .chip.is-on b { color: #7fd3ff; }
.g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.gcard { display: flex; flex-direction: column; gap: 12px; }
.gcard.hide { display: none; }
.gcard figcaption { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; color: var(--muted); }
.gcard figcaption b { font: 600 11px var(--f-mono); letter-spacing: .1em; color: var(--blue-dark); white-space: nowrap; }
.gcard .frame { display: block; cursor: zoom-in; width: 100%; text-align: left; }
.gcard .frame-img { aspect-ratio: 4 / 3; }
.gcard:hover .frame { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-lg); }
.gcard:hover .frame-img img { transform: scale(1.04); }
.gcard .ba { position: absolute; left: 12px; top: 12px; z-index: 2; font: 600 10.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: rgba(0,18,35,.72); color: #fff; }
.g-note { margin-top: 30px; }

.lb { position: fixed; inset: 0; z-index: 150; background: rgba(0,18,35,.94); display: grid; place-items: center; padding: 70px 16px 40px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lb.open { opacity: 1; visibility: visible; transition: opacity .3s; }
.lb figure { max-width: min(1200px, 100%); display: grid; gap: 14px; }
.lb img { max-height: calc(100svh - 170px); width: auto; margin: 0 auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lb figcaption { color: #c3d0de; font-size: 14px; text-align: center; }
.lb figcaption b { font: 600 11px var(--f-mono); color: #7fd3ff; letter-spacing: .1em; margin-right: 10px; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background-color .2s; }
.lb button:hover { background: var(--blue); }
.lb button svg { width: 20px; height: 20px; }
.lb .lb-x { top: 16px; right: 16px; }
.lb .lb-p { left: 16px; top: 50%; margin-top: -24px; }
.lb .lb-n { right: 16px; top: 50%; margin-top: -24px; }

/* ---------- booking form (multi-step) ---------- */
.steps-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 28px 0 6px; }
.steps-nav span { position: relative; padding-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.steps-nav span::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); transition: background-color .3s; }
.steps-nav span b { display: block; font: 500 10.5px var(--f-mono); letter-spacing: .12em; }
.steps-nav span.on, .steps-nav span.done { color: var(--ink); }
.steps-nav span.on::before, .steps-nav span.done::before { background: var(--blue); }
.fstep { display: none; }
.fstep.on { display: block; animation: stepin .45s var(--ease-out); }
@keyframes stepin { from { opacity: 0; transform: translateY(10px); } }
.fstep h3 { font-size: 1.25rem; margin: 26px 0 4px; }
.fstep > p.muted { font-size: 14.5px; }
.field select { width: 100%; font: 500 15.5px var(--f-sans); color: var(--ink); padding: 14px 16px; border-radius: 12px; border: 0;
  background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536173' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(0,123,211,.1); }
.field textarea { min-height: 120px; }
.field.bad .chips, .field.bad input, .field.bad select { box-shadow: inset 0 0 0 1.5px #c0392b; border-radius: 12px; }
.ferr { color: #a8322a; font-size: 13.5px; font-weight: 500; margin-top: 14px; display: none; }
.ferr.show { display: block; }
.fnav { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.fnav .btn[disabled] { opacity: .6; pointer-events: none; }
.summary { margin-top: 22px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.summary div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.summary dt, .summary .k { font: 500 10.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.form-done { text-align: left; padding: 10px 0; }
.form-done .tick { width: 58px; height: 58px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.form-done .tick svg { width: 28px; height: 28px; }
.info-card .sbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,18,35,.86), rgba(0,18,35,.95)); }
.info-card { isolation: isolate; }
.info-card .sbg { z-index: -2; }
.soon { font: 500 10px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #8597ab; margin-left: 6px; }
.socials a.is-soon { opacity: .45; cursor: default; }
.socials a.is-soon:hover { background: rgba(255,255,255,.06); transform: none; }

/* ---------- mobile call bar ---------- */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line); }
  .mbar .btn { min-height: 48px; font-size: 14.5px; padding: 0 14px; }
  body { padding-bottom: 72px; }
  .to-top { bottom: 84px; }
  .toast { bottom: 90px; }
  .menu-open .mbar { display: none; }
}

/* ---------- areas ---------- */
.areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.areas li { padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); }
.areas li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.areas b { display: block; font-size: 1.05rem; letter-spacing: -.01em; }
.areas small { display: block; font: 500 10.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 6px; }
.areas span { font-size: 14px; color: var(--muted); }

/* hero tweaks: brand-blue sweep in the scrim keeps the light Uncomplex look */
.hero::before {
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 36%, rgba(255,255,255,.38) 62%, rgba(255,255,255,0) 82%),
              linear-gradient(0deg, rgba(255,255,255,.72), rgba(255,255,255,0) 30%);
}
.h-xl em, .h-lg em { font-style: normal; color: var(--blue); }

@media (max-width: 1080px) {
  .cards--svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .areas li:nth-child(4) { padding-left: 0; border-left: 0; }
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cards--svc { grid-template-columns: minmax(0, 1fr); }
  .card--wide { grid-column: auto; }
  .card--img { min-height: 360px; }
  .areas { grid-template-columns: minmax(0, 1fr); }
  .areas li + li { padding-left: 0; border-left: 0; }
  .g-grid { grid-template-columns: minmax(0, 1fr); }
  .steps-nav { gap: 6px; }
  .steps-nav span { font-size: 0; }
  .steps-nav span b { font-size: 10.5px; }
  .summary div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .brand { width: 196px; }
  .fnav .btn { flex: 1 1 auto; }
  .hero-bar .wrap { padding-bottom: 118px; }
  .hero-in { padding-bottom: 200px; }
  .hero::before { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.86) 58%, rgba(255,255,255,.6) 82%, rgba(255,255,255,.8) 100%); }
}

@media (max-height: 760px) and (min-width: 641px) {
  .hero-in { padding-top: calc(var(--hdr) + 18px); padding-bottom: 110px; }
  .hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin: 14px 0 16px; }
  .hero .lede { font-size: 1rem; }
  .hero .btn-row { margin-top: 20px; }
  .hero-meta { margin-top: 16px; }
  .hero-bar .wrap { padding-bottom: 18px; }
}

@media (max-width: 900px) { .contact-grid .form-card { order: -1; } }
.hp { left: 0; top: 0; }

/* homepage video hero (moved over from version C) */
.hero--video .slide video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero--video { background: #cfdbe6; }
.vid-toggle { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--ink); font: 600 12.5px var(--f-body, inherit); box-shadow: 0 6px 20px -10px rgba(0,18,35,.4); backdrop-filter: blur(6px); cursor: pointer; transition: background .3s; }
.vid-toggle:hover { background: #fff; }
.vid-toggle svg { width: 15px; height: 15px; color: var(--blue); }
.vid-toggle .i-play, .hero.vid-paused .vid-toggle .i-pause { display: none; }
.hero.vid-paused .vid-toggle .i-play { display: block; }