@view-transition { navigation: auto; }

:root {
  --ink: #0d1b3e;
  --ink-soft: #4b587a;
  --paper: #ffffff;
  --mist: #eef2fb;
  --line: #d6ddef;
  --blue: #2440e6;
  --blue-deep: #1a2fb4;
  --sky: #b9ccff;
  --night: #0a1535;
  --night-2: #14224f;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 180ms;
  --mid: 420ms;
  --slow: 900ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.06; letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
em, i { font-style: normal; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--mid) var(--ease), box-shadow var(--mid) var(--ease); }
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(13, 27, 62, 0.5); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.025em; }
.brand svg { width: 30px; height: 30px; flex: none; transition: transform var(--mid) var(--ease); }
.brand:hover svg { transform: rotate(-8deg) scale(1.06); }

.nav { position: relative; display: flex; gap: clamp(4px, 1.5vw, 14px); font-size: 1rem; }
.nav a { position: relative; z-index: 1; text-decoration: none; padding: 9px 12px; color: var(--ink-soft); transition: color var(--fast) ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav-ind { position: absolute; left: 0; bottom: 2px; height: 2.5px; width: 0; border-radius: 3px; background: var(--blue); transform: translateX(0); view-transition-name: nav-ind; }
.nav-ind.ready { transition: transform var(--mid) var(--ease), width var(--mid) var(--ease); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; text-decoration: none; padding: 15px 26px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; overflow: hidden; isolation: isolate; transition: color var(--mid) var(--ease), border-color var(--mid) var(--ease), transform var(--fast) ease; }
.btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--blue); transform: translateY(102%); border-radius: inherit; transition: transform var(--mid) var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { border-color: var(--blue); }
.btn:active { transform: scale(0.97); }
.btn.quiet { background: transparent; color: var(--ink); }
.btn.quiet::before { background: var(--ink); }
.btn.quiet:hover { color: #fff; border-color: var(--ink); }
.dark .btn { background: #fff; color: var(--ink); border-color: #fff; }
.dark .btn::before { background: var(--sky); }
.dark .btn:hover { border-color: var(--sky); }
.dark .btn.quiet { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.dark .btn.quiet::before { background: #fff; }
.dark .btn.quiet:hover { color: var(--ink); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Picture frames */
.pic { position: relative; overflow: hidden; border-radius: 28px; background: var(--mist); margin: 0; }
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease); }
.pic.zoom:hover img { transform: scale(1.045); }
.js .reveal { clip-path: inset(0 0 100% 0 round 28px); transition: clip-path 1100ms var(--ease); }
.js .reveal img { transform: scale(1.12); }
.js .reveal.in { clip-path: inset(0 0 0 0 round 28px); }
.js .reveal.in img { transform: scale(1); }
.js .reveal.in.zoom:hover img { transform: scale(1.045); }

/* Hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.hero h1 { max-width: 16ch; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .ln > span { display: block; }
.js .hero h1 .ln > span { transform: translateY(105%); animation: rise var(--slow) var(--ease) forwards; }
.js .hero h1 .ln:nth-child(2) > span { animation-delay: 90ms; }
.js .hero h1 .ln:nth-child(3) > span { animation-delay: 180ms; }
.hero-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; margin-top: clamp(24px, 3vw, 40px); }
.hero-row .actions { justify-content: flex-end; }
.js .hero-row { opacity: 0; animation: fade var(--slow) var(--ease) 380ms forwards; }
.lead { max-width: 33em; font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.45; color: var(--ink-soft); }
.hero-art { margin-top: clamp(32px, 5vw, 64px); aspect-ratio: 21 / 9; background: linear-gradient(120deg, var(--night), var(--blue) 55%, var(--sky)); }
.hero-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art svg { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); width: clamp(44px, 6vw, 76px); height: auto; color: #fff; }
.js .hero-art { clip-path: inset(100% 0 0 0 round 28px); animation: unveil 1300ms var(--ease) 480ms forwards; }
.js .hero-art canvas { animation: settle 1900ms var(--ease) 480ms both; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round 28px); } }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }

.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 56px; align-items: center; }
.page-head.solo .wrap { grid-template-columns: 1fr; }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.page-head .lead { margin-top: 22px; }
.page-head .pic { aspect-ratio: 4 / 3; }

/* Sections */
.block { padding: clamp(64px, 9vw, 128px) 0; }
.block.tint { background: var(--mist); }
.dark { background: var(--night); color: #fff; }
.intro { max-width: 40em; }
.intro p { margin-top: 18px; color: var(--ink-soft); font-size: 1.15rem; }
.dark .intro p { color: #aab7de; }

/* Product showcase */
.show { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; align-items: center; margin-top: clamp(36px, 5vw, 64px); }
.show-list { position: relative; display: grid; }
.show-mark { position: absolute; left: 0; top: 0; width: 3px; height: 40px; border-radius: 3px; background: var(--sky); transition: transform var(--mid) var(--ease), height var(--mid) var(--ease); }
.show-item { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.show-tab { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 18px 0 18px 26px; cursor: pointer; }
.show-tab .name { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.025em; line-height: 1.1; color: #7c8cbd; transition: color var(--mid) var(--ease), transform var(--mid) var(--ease); }
.show-tab:hover .name { color: #c9d5fb; transform: translateX(6px); }
.show-item.on .show-tab .name { color: #fff; transform: none; }
.stage { border-radius: 18px; background: var(--night-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1); overflow: hidden; }
.stage-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.stage-dots { display: flex; gap: 6px; }
.stage-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.stage-url { flex: 1; text-align: center; font-size: 0.875rem; color: #c3cdf0; background: rgba(255, 255, 255, 0.08); border-radius: 999px; padding: 5px 14px; overflow: hidden; }
.stage-url span { display: block; transition: opacity var(--fast) ease, transform var(--mid) var(--ease); }
.stage-url.swap span { opacity: 0; transform: translateY(8px); }
.stage-view { position: relative; aspect-ratio: 16 / 10; background: var(--night); }
.stage-view > * { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.04); transition: opacity 600ms ease, transform 1100ms var(--ease); }
.stage-view > .on { opacity: 1; transform: scale(1); }
.stage-view img { object-fit: cover; object-position: top; }
.stage-plain { display: grid; place-items: center; background: linear-gradient(140deg, var(--blue), #101e55); font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.03em; color: #fff; }
.stage-col { min-width: 0; }
.stage-caps { display: grid; margin-top: 22px; min-height: 6.5em; }
.cap { grid-area: 1 / 1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 32px; opacity: 0; transform: translateY(8px); visibility: hidden; transition: opacity var(--mid) ease, transform var(--mid) var(--ease), visibility 0s linear var(--mid); }
.cap.on { opacity: 1; transform: none; visibility: visible; transition-delay: 80ms, 80ms, 0s; }
.cap p { color: #aab7de; max-width: 34em; flex: 1 1 18em; }
.cap a { flex: none; font-weight: 600; color: #fff; text-decoration: none; background-image: linear-gradient(var(--sky), var(--sky)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 3px; transition: background-size var(--mid) var(--ease), color var(--fast) ease; }
.cap a:hover { color: var(--night); background-size: 100% 100%; }
.show-item.more { border-bottom: 0; margin-top: 14px; }
.show-item.more .show-tab { padding: 14px 20px 14px 22px; border: 1.5px dashed rgba(185, 204, 255, 0.55); border-radius: 14px; transition: border-color var(--mid) ease, background var(--mid) ease; }
.show-item.more .show-tab:hover, .show-item.more.on .show-tab { border-color: var(--sky); background: rgba(185, 204, 255, 0.1); }
.show-item.more .name { color: var(--sky); font-size: clamp(1.15rem, 1.9vw, 1.45rem); }
.show-item.more .show-tab:hover .name { transform: none; color: #fff; }
.plus-sign { display: inline-block; margin-right: 4px; transition: transform var(--mid) var(--ease); }
.show-item.more .show-tab:hover .plus-sign, .show-item.more.on .plus-sign { transform: rotate(90deg); }
.stage-more { display: grid; place-items: center; background: linear-gradient(140deg, var(--blue), #101e55); }
.stage-more canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-more strong { position: relative; font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: -0.025em; color: #fff; text-align: center; padding: 0 24px; }

/* What we build for others */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 72px; align-items: start; }
.split .pic { aspect-ratio: 4 / 5; margin-top: 36px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { position: relative; padding: 26px 0 26px 0; border-bottom: 1px solid var(--line); transition: padding-left var(--mid) var(--ease); }
.rows li::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 3px; border-radius: 3px; background: var(--blue); transition: width var(--mid) var(--ease); }
.rows li:hover { padding-left: 40px; }
.rows li:hover::before { width: 26px; }
.rows h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.rows p { margin-top: 8px; color: var(--ink-soft); max-width: 34em; }

/* Industries */
.bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.bento .pic { min-height: 240px; }
.bento .pic:first-child { grid-row: span 2; min-height: 420px; }
.bento figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 26px 22px; background: linear-gradient(to top, rgba(8, 16, 44, 0.86), rgba(8, 16, 44, 0)); color: #fff; }
.bento figcaption strong { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.15; }
.bento figcaption span { display: block; margin-top: 6px; color: #d3dcfa; max-width: 30em; }
.bento .pic.plain { background: var(--ink); }

/* What we build for others: four tiles, each with a small looping mock */
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.svc-tile { grid-column: span 5; background: var(--mist); border-radius: 24px; padding: 14px 14px 26px; transition: background 520ms ease, transform 520ms var(--ease); }
.svc-tile.wide { grid-column: span 7; }
.svc-tile:hover { background: #e2e9fb; transform: translateY(-4px); }
.svc-tile h3 { margin: 22px 14px 0; }
.svc-tile p { margin: 8px 14px 0; color: var(--ink-soft); max-width: 30em; }
.mock { display: grid; place-items: center; height: 250px; border-radius: 16px; background: linear-gradient(150deg, #dfe7fb, #cbd8fa); overflow: hidden; }
.m-card { width: min(84%, 380px); background: #fff; border-radius: 14px; box-shadow: 0 24px 50px -28px rgba(13, 27, 62, 0.55); padding: 16px; font-size: 0.875rem; color: var(--ink); transition: transform 620ms var(--ease); }
.svc-tile:hover .m-card { transform: scale(1.03); }
.m-in { animation: m-in 8s var(--ease) infinite both; animation-delay: var(--d, 0ms); }
@keyframes m-in { 0% { opacity: 0; transform: translateY(10px); } 7%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(10px); } }

.m-app { display: flex; gap: 12px; height: 178px; width: min(88%, 440px); }
.m-side { flex: none; width: 22%; border-radius: 8px; background: var(--ink); }
.m-main { flex: 1; display: grid; gap: 10px; align-content: start; }
.m-top { display: flex; align-items: center; justify-content: space-between; }
.m-top span { width: 40%; height: 10px; border-radius: 5px; background: #c5cfe8; }
.m-live { font-weight: 600; font-size: 0.75rem; color: #fff; background: var(--blue); border-radius: 999px; padding: 2px 10px; }
.m-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-blocks span { height: 54px; border-radius: 8px; background: var(--mist); }
.m-blocks span:nth-child(2) { background: var(--sky); }
.m-row { height: 10px; border-radius: 5px; background: #dde4f5; }
.m-row.short { width: 62%; }

.m-doc { display: grid; gap: 9px; }
.m-line { height: 9px; border-radius: 5px; background: #dde4f5; }
.w70 { width: 70%; }
.m-btn { justify-self: start; font-weight: 600; font-size: 0.8rem; color: #fff; background: var(--ink); border-radius: 999px; padding: 5px 14px; animation: m-press 8s ease infinite; }
@keyframes m-press { 0%, 14%, 22%, 100% { transform: scale(1); background: var(--ink); } 18% { transform: scale(0.92); background: var(--blue); } }
.m-sum { display: grid; gap: 8px; border: 1.5px solid var(--blue); border-radius: 10px; padding: 12px; background: #f3f6ff; }
.m-grow { height: 9px; border-radius: 5px; background: var(--blue); transform-origin: left center; animation: m-grow 8s var(--ease) infinite both; animation-delay: var(--d, 0ms); }
@keyframes m-grow { 0% { transform: scaleX(0); } 12%, 100% { transform: scaleX(1); } }

.m-search { display: grid; gap: 12px; }
.m-input { border: 1.5px solid #a3aecb; border-radius: 999px; padding: 9px 16px; white-space: nowrap; overflow: hidden; }
.m-typed { display: inline-block; animation: m-type 8s steps(27, end) infinite both; }
@keyframes m-type { 0%, 4% { clip-path: inset(0 100% 0 0); } 30%, 88% { clip-path: inset(0 0 0 0); } 94%, 100% { clip-path: inset(0 100% 0 0); } }
.m-answer { display: grid; gap: 8px; background: var(--mist); border-radius: 10px; padding: 12px 14px; }
.m-answer b { font-weight: 600; }
.m-answer div { display: flex; flex-wrap: wrap; gap: 6px; }
.m-answer i { font-size: 0.75rem; color: var(--blue); background: #fff; border-radius: 999px; padding: 2px 10px; }

.m-tasks { display: grid; gap: 11px; }
.m-tasks > div { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.m-check { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #a3aecb; animation: m-tick 8s var(--ease) infinite both; animation-delay: var(--d, 0ms); }
.m-check::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg); }
@keyframes m-tick { 0% { background: transparent; border-color: #a3aecb; transform: scale(1); } 4% { transform: scale(1.25); } 8%, 78% { background: var(--blue); border-color: var(--blue); transform: scale(1); } 88%, 100% { background: transparent; border-color: #a3aecb; } }

/* Industries: panels that widen, each with its own moving line drawing */
.ind { display: flex; gap: 14px; height: 440px; margin-top: clamp(32px, 4vw, 52px); }
.ind-panel { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; padding: 0; border: 0; border-radius: 24px; overflow: hidden; cursor: pointer; background: var(--night); color: #fff; transition: flex-grow 760ms var(--ease), background 520ms ease; }
.ind-panel.on { flex-grow: 2.3; background: var(--blue); }
.ind-art { position: absolute; left: 0; right: 0; top: 0; height: 64%; padding: 22px 22px 0; opacity: 0.5; transition: opacity 520ms ease; }
.ind-panel.on .ind-art, .ind-panel:hover .ind-art { opacity: 1; }
.ind-art svg { width: 100%; height: 100%; overflow: visible; }
.ind-text { position: relative; display: block; padding: 0 26px 26px; }
.ind-text strong { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.15; }
.ind-text span { display: block; max-width: 26em; margin-top: 8px; color: #dbe2ff; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 620ms var(--ease), opacity 420ms ease; }
.ind-panel.on .ind-text span { max-height: 5em; opacity: 1; transition-delay: 0ms, 180ms; }
.ind-art .ln { fill: none; stroke: var(--sky); stroke-width: 2; }
.ind-art .fill { fill: var(--sky); }
.ind-panel.on .ind-art .ln { stroke: #fff; }
.ind-panel.on .ind-art .fill { fill: #fff; }
.ind-art .grid { stroke: rgba(185, 204, 255, 0.18); stroke-width: 1; }
.ind-art .bar { fill: var(--sky); transform-box: fill-box; transform-origin: left center; animation: type 4.2s var(--ease) infinite both; }
.ind-art .flow { fill: none; stroke: var(--sky); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; animation: march 1.2s linear infinite; }
.ind-art .blink { animation: blink 1.8s ease-in-out infinite; }
.ind-art .pulse { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100; animation: trace 3s linear infinite; }
.ind-art .beat { transform-box: fill-box; transform-origin: center; animation: beat 1.5s var(--ease) infinite; }
.ind-art .wave { fill: var(--sky); transform-box: fill-box; transform-origin: center; animation: wave 1.1s ease-in-out infinite alternate; }
.ind-panel.on .ind-art .wave, .ind-panel.on .ind-art .bar { fill: #fff; }
.ind-art .scrub { animation: scrub 7s linear infinite; }
@keyframes type { 0% { transform: scaleX(0); } 22%, 82% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes trace { 0% { stroke-dashoffset: 100; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.5); } 36% { transform: scale(1.15); } }
@keyframes wave { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
@keyframes scrub { from { transform: translateX(0); } to { transform: translateX(352px); } }

/* Locations */
.where { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 56px; align-items: center; }
.cities { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.cities li { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.city { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%; background: none; border: 0; padding: 22px 0; text-align: left; cursor: pointer; }
.city strong { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; line-height: 1; transition: color var(--mid) var(--ease), transform var(--mid) var(--ease); }
.city span { color: #aab7de; transition: color var(--mid) ease; }
.city:hover strong, .city.on strong { color: var(--sky); transform: translateX(8px); }
.city:hover span, .city.on span { color: #fff; }
.clock { margin-top: 26px; color: #aab7de; }
.clock b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

.map { width: 100%; max-width: 560px; margin: 0 auto; height: auto; overflow: visible; }
.map .land { fill: none; stroke: #33478f; stroke-width: 4.2; stroke-linecap: round; }
.map .route { fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-dasharray: 2 7; stroke-linecap: round; opacity: 0.8; animation: march 1.6s linear infinite; }
@keyframes march { to { stroke-dashoffset: -18; } }
.pin { cursor: pointer; }
.pin .core { fill: #fff; transition: r var(--mid) var(--ease), fill var(--mid) ease; }
.pin .halo { fill: none; stroke: var(--sky); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.6s var(--ease) infinite; }
.pin:nth-of-type(2) .halo { animation-delay: 1.3s; }
.pin .tag { fill: #fff; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.4px; transition: fill var(--mid) ease; }
.pin .sub { fill: #aab7de; font-family: var(--body); font-size: 13px; }
.pin text { paint-order: stroke; stroke: var(--night); stroke-width: 7px; stroke-linejoin: round; }
.pin.on .core { r: 9; fill: var(--sky); }
.pin.on .tag { fill: var(--sky); }
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(4.2); opacity: 0; } }

/* Closing band */
.band { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.band > canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.band .wrap { position: relative; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 48px; align-items: end; }
.band h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 14ch; }
.band p { font-size: 1.15rem; color: #dbe2ff; max-width: 30em; }
.band .actions { margin-top: 24px; }

/* Jobs */
.jobs { border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; background: none; border: 0; padding: 24px 0; text-align: left; cursor: pointer; }
.job-head .title { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.85rem); letter-spacing: -0.03em; line-height: 1.05; transition: color var(--mid) var(--ease), transform var(--mid) var(--ease); }
.job-head:hover .title { color: var(--blue); transform: translateX(8px); }
.plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); transition: background var(--mid) var(--ease), border-color var(--mid) var(--ease), transform var(--mid) var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: var(--ink); border-radius: 2px; transition: transform var(--mid) var(--ease), background var(--mid) ease; }
.plus::after { transform: rotate(90deg); }
.job-head:hover .plus { background: var(--ink); }
.job-head:hover .plus::before, .job-head:hover .plus::after { background: #fff; }
.job.open .plus { background: var(--blue); border-color: var(--blue); transform: rotate(180deg); }
.job.open .plus::before, .job.open .plus::after { background: #fff; }
.job.open .plus::after { transform: rotate(0deg); }
.job-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 520ms var(--ease); }
.job.open .job-body { grid-template-rows: 1fr; }
.job-body > div { overflow: hidden; }
.job-inner { display: grid; grid-template-columns: minmax(0, 7fr) auto; gap: 20px 48px; align-items: end; padding: 0 0 34px; opacity: 0; transform: translateY(10px); transition: opacity var(--mid) ease, transform var(--mid) var(--ease); }
.job.open .job-inner { opacity: 1; transform: none; transition-delay: 120ms; }
.job-inner p { color: var(--ink-soft); max-width: 40em; font-size: 1.125rem; }
.job-inner p + p { margin-top: 12px; }

/* Forms */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; font-weight: 600; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: 0.95rem; }
.form input, .form textarea, .select-btn { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1.5px solid #a3aecb; border-radius: 14px; padding: 14px 16px; width: 100%; transition: border-color var(--fast) ease, box-shadow var(--mid) var(--ease), background var(--fast) ease; }
.form textarea { min-height: 136px; resize: vertical; }
.form input:hover, .form textarea:hover, .select-btn:hover { border-color: var(--ink); }
.form input:focus, .form textarea:focus, .select-btn:focus-visible, .select.open .select-btn { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36, 64, 230, 0.18); }
.form .btn { justify-self: start; }
.form-note { color: var(--ink-soft); font-size: 0.95rem; }
.form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 72px; align-items: start; }

.select { position: relative; }
.select-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; cursor: pointer; }
.select-btn .ph { color: #7783a3; }
.chev { flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-3px) rotate(45deg); transition: transform var(--mid) var(--ease); }
.select.open .chev { transform: translateY(3px) rotate(225deg); }
.select-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(13, 27, 62, 0.45), 0 0 0 1px var(--line); font-weight: 400; opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: top; visibility: hidden; transition: opacity var(--fast) ease, transform var(--mid) var(--ease), visibility 0s linear var(--mid); }
.select.open .select-list { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.select-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; cursor: pointer; transition: background var(--fast) ease, color var(--fast) ease, padding-left var(--mid) var(--ease); }
.select-list li.active { background: var(--mist); padding-left: 20px; }
.select-list li[aria-selected="true"] { color: var(--blue); font-weight: 600; }
.select-list li[aria-selected="true"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.select.bad .select-btn { border-color: #c4262e; box-shadow: 0 0 0 4px rgba(196, 38, 46, 0.14); }
.select-err { display: none; font-weight: 400; color: #b01f27; font-size: 0.95rem; }
.select.bad + .select-err { display: block; }

.mail { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.mail p { color: var(--ink-soft); margin-top: 8px; }
.linkish { font-weight: 600; color: var(--blue); background: none; border: 0; padding: 0 0 3px; cursor: pointer; background-image: linear-gradient(var(--blue), var(--blue)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; text-decoration: none; transition: background-size var(--mid) var(--ease), color var(--fast) ease; }
.linkish:hover { color: #fff; background-size: 100% 100%; }
.mail .shown { animation: fade var(--mid) ease both; }

/* Footer */
.foot { padding: 44px 0 52px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.foot .brand { font-size: 1.1rem; color: var(--ink); }
.foot .brand svg { width: 24px; height: 24px; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 2px; transition: background-size var(--mid) var(--ease), color var(--fast) ease; }
.foot nav a:hover { color: var(--ink); background-size: 100% 1.5px; }

@media (max-width: 860px) {
  .hero-row, .show, .split, .where, .band .wrap, .form-grid, .page-head .wrap, .job-inner { grid-template-columns: 1fr; }
  .hero-row .actions { justify-content: flex-start; }
  .hero-art { aspect-ratio: 4 / 3; }
  .stage-col { order: -1; }
  .svc-tile, .svc-tile.wide { grid-column: 1 / -1; }
  .ind { flex-direction: column; height: auto; }
  .ind-panel { flex: none; min-height: 280px; }
  .ind-text span { max-height: 5em; opacity: 1; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bento .pic:first-child { min-height: 300px; }
  .split .pic { aspect-ratio: 4 / 3; }
  .plus { width: 40px; height: 40px; }
  .nav a { padding: 9px 8px; }
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .map .route, .pin .halo, .ind-art *, .mock * { animation: none !important; }
  @view-transition { navigation: none; }
}
