/* =====================================================================
   OZARIAM — Brand System V3 (Celestial Noir)
   EN display: Julius Sans One · TH: Mitr
   Palette: Space Black 40% · Dawn Ivory 20% · Orbital Blue 20% · Ice Cyan 10% · Titanium Silver 10%
   ===================================================================== */
:root {
  color-scheme: dark;
  --black: #000000;
  --charcoal: #101216;
  --charcoal-2: #16191f;
  --ivory: #FFFAF3;
  --silver: #B1B2B6;
  --dim: #8E9096;
  --blue: #2C47A6;
  --blue-hover: #3756C6;
  --blue-rgb: 44, 71, 166;
  --cyan: #D0FFFF;
  --cyan-rgb: 208, 255, 255;
  --error: #FF7A66;
  --line: rgba(255, 250, 243, .14);
  --line-strong: rgba(255, 250, 243, .30);

  --en: 'Julius Sans One', 'Mitr', sans-serif;
  --th: 'Mitr', 'Noto Sans Thai', Tahoma, sans-serif;

  --container: 1640px;
  --gutter: clamp(20px, 4vw, 72px);
  --section: 120px;
  --header: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (max-width: 760px) { :root { --section: 64px; --header: 64px; } }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--ivory); font: 300 16px/26px var(--th); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--blue); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; display: inline-block; pointer-events: none; }
.container { width: min(var(--container), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 18px; background: var(--ivory); color: var(--black); border-radius: 100px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

/* ------------------------------------------------------------------ type */
.kicker, .caption { font: 400 12px/20px var(--en); letter-spacing: .28em; text-transform: uppercase; color: var(--silver); }
.kicker i { font-style: normal; margin: 0 .9em; color: var(--dim); }
.display-2 { font: 400 clamp(40px, 6.2vw, 88px)/1.05 var(--en); letter-spacing: .02em; }
.h3-en { font: 400 24px/32px var(--en); letter-spacing: .06em; }
.th-h2 { font: 300 clamp(26px, 2.6vw, 32px)/1.4 var(--th); }
.th-h2 span { color: var(--silver); }
.th-h3 { font: 300 20px/32px var(--th); }

/* ------------------------------------------------------------------ buttons (component library) */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 12px 28px; border-radius: 100px;
  border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font: 400 13px/1.2 var(--en); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .3s, transform .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn.th { font-family: var(--th); font-weight: 400; font-size: 15px; letter-spacing: 0; text-transform: none; }
.btn-primary { --btn-bg: var(--blue); --btn-bd: var(--blue); }
.btn-primary:hover { --btn-bg: var(--blue-hover); --btn-bd: var(--blue-hover); box-shadow: 0 0 0 1px rgba(var(--cyan-rgb), .18), 0 10px 34px rgba(var(--blue-rgb), .55); }
.btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--black), 0 0 0 4px var(--cyan); }
.btn-outline:hover { --btn-bd: var(--cyan); --btn-fg: var(--cyan); }
.btn-outline:focus-visible { outline: none; --btn-bd: var(--cyan); box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), .25); }
.btn:disabled { --btn-bg: #2a2d33; --btn-bd: #2a2d33; --btn-fg: #6d7076; cursor: not-allowed; box-shadow: none; }
.btn-sm { min-height: 42px; padding: 9px 22px; font-size: 12px; }
.btn-link {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 0;
  font: 400 13px/1.2 var(--en); letter-spacing: .18em; text-transform: uppercase; color: var(--ivory);
  border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s;
}
.btn-link .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn-link:hover { color: var(--cyan); border-color: var(--cyan); }
.btn-link:hover .icon { transform: translateX(4px); }
.btn-link.th { font-family: var(--th); font-size: 15px; letter-spacing: 0; text-transform: none; }
.btn-icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-grid; place-items: center; transition: border-color .2s, color .2s, background-color .2s; }
.btn-icon .icon { width: 18px; height: 18px; }
.btn-icon:hover { border-color: var(--cyan); color: var(--cyan); }

/* ------------------------------------------------------------------ header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header); border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s; }
.site-header.is-scrolled, body.menu-open .site-header { background: rgba(0, 0, 0, .94); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-primary { display: flex; gap: 36px; }
.nav-primary a { position: relative; font: 400 12px/1 var(--en); letter-spacing: .2em; text-transform: uppercase; color: var(--silver); padding: 8px 0; transition: color .2s; }
.nav-primary a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-primary a:hover, .nav-primary a.is-active { color: var(--ivory); }
.nav-primary a.is-active::after { transform: scaleX(1); }
.brand { display: block; justify-self: center; }
.brand img { height: 40px; width: auto; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--ivory); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded=true] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header) 0 0; z-index: 55; background: var(--black); overflow-y: auto; padding: 32px var(--gutter) 40px; display: flex; flex-direction: column; }
.mobile-menu nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 28px/1.2 var(--en); letter-spacing: .06em; }
.mobile-menu nav a small { font: 400 11px/1 var(--en); letter-spacing: .2em; color: var(--dim); }
.mobile-menu-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.mobile-menu-foot a:not(.btn) { color: var(--silver); }

/* ------------------------------------------------------------------ hero: copy left · AI ask panel right */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex;
  background: radial-gradient(50% 45% at 0% 0%, rgba(var(--blue-rgb), .22), transparent 70%), radial-gradient(40% 50% at 75% 60%, rgba(var(--blue-rgb), .14), transparent 70%), var(--black); }
.hero-inner { position: static; display: grid; grid-template-rows: 1fr auto; gap: 24px; min-height: 100%; padding-top: calc(var(--header) + 32px); padding-bottom: 28px; }
.hero-main { align-self: center; min-width: 0; }
.hero-copy { min-width: 0; max-width: min(680px, calc(50vw - var(--gutter) - 56px)); }
.hero-title { font: 400 clamp(38px, 3.7vw, 68px)/1.28 var(--th); letter-spacing: 0; color: var(--ivory); }
.hero-title .ht-line { display: block; }
.hero-title .ht-sub { color: var(--silver); font-weight: 300; }
.hero-title .nw { white-space: nowrap; }
.hero-title b { font: 400 1.18em/1 var(--en); color: var(--cyan); }
.hero-tagline { display: flex; align-items: center; gap: 14px; margin-top: 26px; font: 400 13px/1.4 var(--en); letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); }
.hero-tagline i { flex-shrink: 0; width: 36px; height: 1px; background: var(--cyan); }
.hero-lead { margin-top: 28px; max-width: 500px; color: var(--silver); font-size: 15px; line-height: 27px; }
.hero-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 32px; margin-top: 36px; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: calc(50vw - var(--gutter) - 56px); }

/* the ask panel — brand scene behind a working AI composer */
.hero-ask { position: absolute; z-index: 1; top: var(--header); right: 0; bottom: 0; width: 50%; isolation: isolate; overflow: hidden; display: flex; min-width: 0;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line); background: #000; }
#heroScene { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; }
.hero-ask.no-webgl { background: radial-gradient(170% 70% at 50% 128%, #05070c 0 58%, rgba(var(--cyan-rgb), .8) 58.6%, rgba(var(--blue-rgb), .55) 61%, transparent 72%), radial-gradient(60% 50% at 30% 0%, rgba(var(--blue-rgb), .35), transparent 70%), #000; }
.hero-ask.no-webgl #heroScene { display: none; }
.ask-body { position: relative; flex: 1; min-width: 0; width: 100%; max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 48px clamp(20px, 4vw, 64px) 56px; }
.ask-greet { text-align: center; margin-bottom: 10px; text-shadow: 0 2px 24px rgba(0, 0, 0, .8); }
.ask-hello { font: 400 clamp(22px, 2vw, 34px)/1.3 var(--en); letter-spacing: .01em; }
.ask-hello span { display: block; }
.ask-hello span + span { color: rgba(255, 250, 243, .55); }
.ask-th { margin-top: 12px; font: 300 15px/1.5 var(--th); color: var(--silver); }
.ask-box { padding: 14px 12px 10px 16px; border-radius: 16px; background: rgba(8, 9, 12, .8); border: 1px solid rgba(255, 250, 243, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .2s, box-shadow .2s; }
.ask-box:focus-within { border-color: rgba(var(--cyan-rgb), .5); box-shadow: 0 0 0 3px rgba(var(--blue-rgb), .35); }
.ask-box textarea { display: block; width: 100%; min-height: 50px; max-height: 140px; padding: 0 4px 0 0; border: 0; outline: none; resize: none; background: transparent; color: var(--ivory); font: 300 15px/1.65 var(--th); }
.ask-box textarea::placeholder { color: #7b7e86; }
.ask-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.ask-modes { display: flex; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.ask-modes label { position: relative; }
.ask-modes input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ask-modes span { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); font: 300 13px/1 var(--th); color: var(--silver); white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; pointer-events: none; }
.ask-modes .icon { width: 14px; height: 14px; }
.ask-modes input:checked + span { background: rgba(255, 250, 243, .12); border-color: var(--line-strong); color: var(--ivory); }
.ask-modes input:checked + span .icon { color: var(--cyan); }
.ask-modes input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.ask-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ask-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--silver); transition: color .2s, background-color .2s; }
.ask-ic:hover, .ask-ic[aria-pressed=true] { color: var(--ivory); background: rgba(255, 250, 243, .1); }
.ask-ic[aria-pressed=true] { color: var(--cyan); }
.ask-ic .icon { width: 17px; height: 17px; }
.ask-send { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--black); transition: transform .2s var(--ease), opacity .2s, background-color .2s; }
.ask-send:hover { background: var(--cyan); }
.ask-send:disabled { opacity: .35; cursor: not-allowed; }
.ask-send .icon { width: 17px; height: 17px; }
.ask-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ask-chips button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 10px; background: rgba(8, 9, 12, .74); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 300 13px/1 var(--th); color: var(--ivory); transition: border-color .2s, background-color .2s; }
.ask-chips .icon { width: 14px; height: 14px; color: var(--cyan); }
.ask-chips button:hover { border-color: rgba(var(--cyan-rgb), .6); background: rgba(var(--blue-rgb), .35); }
.ask-note { position: absolute; left: 16px; right: 16px; bottom: 16px; text-align: center; font: 300 11px/1.4 var(--th); color: #8a8d95; }
/* chatting: greeting + chips give way to the thread */
.ask-thread { flex: 1 1 0; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 4px 4px 4px 0; scrollbar-width: thin; scrollbar-color: rgba(255, 250, 243, .2) transparent;
  -webkit-mask-image: linear-gradient(transparent, #000 28px); mask-image: linear-gradient(transparent, #000 28px); }
.hero-ask.is-chatting .ask-body { justify-content: flex-end; }
.hero-ask.is-chatting .ask-greet, .hero-ask.is-chatting .ask-chips { display: none; }
.am { max-width: 88%; padding: 10px 14px; font: 300 14px/1.65 var(--th); white-space: pre-line; overflow-wrap: anywhere; animation: cw-in .45s var(--ease) both; }
.am:first-child { margin-top: auto; }
.am-user { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: rgba(255, 250, 243, .13); border: 1px solid var(--line); color: var(--ivory); }
.am-ai { align-self: flex-start; max-width: 94%; border-radius: 14px 14px 14px 4px; background: rgba(8, 9, 12, .82); border: 1px solid rgba(var(--cyan-rgb), .18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #dcdde0; }
.am-ai b { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font: 400 10px/1.4 var(--en); letter-spacing: .18em; color: var(--cyan); }
.am-ai b::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--cyan), var(--blue-hover) 60%, #142a72); box-shadow: 0 0 8px rgba(var(--blue-rgb), .9); }
.am-dots { display: inline-flex; gap: 4px; padding: 6px 0 2px; }
.am-dots i { width: 6px; height: 6px; border-radius: 50%; background: #7b7e86; animation: cw-dot 1s infinite; }
.am-dots i:nth-child(2) { animation-delay: .15s; } .am-dots i:nth-child(3) { animation-delay: .3s; }
.am-next { display: flex; flex-wrap: wrap; gap: 8px; animation: cw-in .45s var(--ease) .1s both; }
.am-next button { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 100px; border: 1px solid var(--line-strong); background: rgba(8, 9, 12, .74); font: 300 13px/1 var(--th); color: var(--ivory); transition: border-color .2s, background-color .2s; }
.am-next button .icon { width: 14px; height: 14px; }
.am-next button:hover { border-color: var(--cyan); }
.am-next .is-main { background: var(--blue); border-color: var(--blue); }
.am-next .is-main:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.case { position: relative; isolation: isolate; }
.case::before { content: ''; position: absolute; z-index: -1; inset: -8% -12% -4% -8%; pointer-events: none; background: radial-gradient(closest-side, rgba(var(--blue-rgb), .38), transparent 75%); filter: blur(20px); }
.case-frame { position: relative; padding: 34px; border: 1px solid var(--line-strong); border-radius: 6px; background: rgba(0, 0, 0, .55); }
.case-window { display: grid; grid-template-columns: 34% minmax(0, 1fr); min-height: 296px; border-radius: 16px; border: 1px solid #26272b; background: #0b0b0d; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.cw-side { display: flex; flex-direction: column; gap: 4px; padding: 16px 10px 12px; border-right: 1px solid #222327; min-width: 0; }
.cw-orb { width: 30px; height: 30px; margin: 2px 6px 16px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, var(--cyan) 0, #5f86f0 30%, var(--blue-hover) 62%, #142a72 100%); box-shadow: 0 0 16px rgba(var(--blue-rgb), .8); }
.cw-side ul { display: grid; gap: 4px; }
.cw-side li { padding: 9px 12px; border-radius: 9px; font: 300 13px/1.2 var(--th); color: #a2a3a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-side li.on { background: #1c1d21; color: var(--ivory); }
.cw-app { margin-top: auto; padding: 0 8px; font: 400 9px/1.3 var(--en); letter-spacing: .16em; text-transform: uppercase; color: #6c6e74; }
.cw-main { display: flex; flex-direction: column; gap: 14px; padding: 18px; min-width: 0; }
.cw-chat { display: flex; flex-direction: column; gap: 14px; }
.cw-user { align-self: flex-end; max-width: 88%; padding: 10px 14px; border-radius: 14px; background: #1c1d21; font: 300 13px/1.5 var(--th); color: var(--ivory); }
.cw-ai { font: 300 13px/1.65 var(--th); color: #b9bac0; }
.cw-typing { display: none; gap: 4px; padding: 4px 0; }
.cw-typing i { width: 6px; height: 6px; border-radius: 50%; background: #6c6e74; animation: cw-dot 1s infinite; }
.cw-typing i:nth-child(2) { animation-delay: .15s; } .cw-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cw-dot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.cw-input { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 46px; padding: 0 6px 0 18px; border-radius: 100px; border: 1px solid #2b2c31; font: 300 13px/1 var(--th); color: #7c7e85; }
.cw-input span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-send { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1c1d21; color: var(--ivory); }
.cw-send .icon { width: 15px; height: 15px; }
.cw-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cw-head b { font: 400 15px/1.3 var(--th); }
.cw-head span { font: 300 11px/1 var(--th); color: #7c7e85; padding: 5px 9px; border: 1px solid #2b2c31; border-radius: 100px; white-space: nowrap; }
.cw-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cw-kpis div { padding: 10px; border-radius: 11px; background: #141518; border: 1px solid #222327; min-width: 0; }
.cw-kpis small { display: block; font: 300 11px/1.3 var(--th); color: #8a8c92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-kpis b { display: block; margin-top: 6px; font: 400 15px/1.2 var(--th); color: var(--ivory); white-space: nowrap; }
.cw-chart { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; border-radius: 11px; background: #141518; border: 1px solid #222327; }
.cw-chart small { font: 300 11px/1 var(--th); color: #8a8c92; }
.cw-chart div { flex: 1; min-height: 70px; display: flex; align-items: flex-end; gap: 8px; }
.cw-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(var(--cyan), var(--blue-hover)); opacity: .85; transform-origin: bottom; }
.cw-chart i:last-child { background: linear-gradient(var(--ivory), var(--cyan)); opacity: 1; }
.cw-tickets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cw-tickets div { display: grid; gap: 4px; padding: 10px 11px; border-radius: 11px; background: #141518; border: 1px solid #222327; min-width: 0; }
.cw-tickets small { font: 400 10px/1 var(--en); letter-spacing: .12em; color: #8a8c92; }
.cw-tickets b { font: 400 13px/1.4 var(--th); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-tickets em { justify-self: start; font: 400 11px/1 var(--th); font-style: normal; padding: 4px 8px; border-radius: 100px; }
.cw-tickets em.new { background: rgba(var(--cyan-rgb), .16); color: var(--cyan); }
.cw-tickets em.cook { background: rgba(var(--blue-rgb), .4); color: #c9d6ff; }
.cw-tickets em.done { background: #1f2024; color: #7c7e85; }
/* entrance choreography per case */
.case-window.play .cw-side, .case-window.play .cw-main > * { animation: cw-in .5s var(--ease) both; }
.case-window.play .cw-main > *:nth-child(2) { animation-delay: .08s; } .case-window.play .cw-main > *:nth-child(3) { animation-delay: .16s; }
.case-window.play .cw-user { animation: cw-in .5s var(--ease) .25s both; }
.case-window.play .cw-typing { display: flex; animation: cw-typing 1.3s linear .7s both; }
.case-window.play .cw-ai { animation: cw-in .5s var(--ease) 1.9s both; }
.case-window.play .cw-chart i { animation: cw-bar .7s var(--ease) both; animation-delay: calc(.2s + var(--d) * .06s); }
.case-window.play .cw-tickets div { animation: cw-in .45s var(--ease) both; animation-delay: calc(.15s + var(--d) * .1s); }
@keyframes cw-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cw-typing { 0% { opacity: 0; max-height: 0; } 10%, 85% { opacity: 1; max-height: 20px; } 100% { opacity: 0; max-height: 0; padding: 0; } }
@keyframes cw-bar { from { transform: scaleY(0); } to { transform: none; } }
/* page curl: click to turn to the next case */
.case-curl { position: absolute; z-index: 3; right: -1px; bottom: -1px; width: 116px; height: 116px; transition: width .4s var(--ease), height .4s var(--ease); }
.case-curl:hover { width: 134px; height: 134px; }
.case-curl:focus-visible { outline-offset: -6px; }
.curl-under, .curl-flap { position: absolute; inset: 0; }
.curl-under { clip-path: polygon(100% 0, 100% 100%, 0 100%); border-bottom-right-radius: 6px;
  background:
    linear-gradient(to bottom right, transparent 49%, rgba(0, 0, 0, .45) 50%, transparent 62%),
    linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--blue-hover), var(--blue)); }
.curl-flap { clip-path: polygon(0 0, 100% 0, 0 100%); background: linear-gradient(135deg, #141416 0%, #242427 30%, #3c3d42 47%, #5a5b61 49.6%, #0f0f11 50%); }
.curl-hint { position: absolute; right: 12px; bottom: 11px; font: 400 10px/1 var(--en); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); }
.case-frame.is-peeling .case-curl { width: calc(100% + 2px); height: calc(100% + 2px); transition: width .55s var(--ease), height .55s var(--ease); }
.case-frame.is-peeling .curl-hint { opacity: 0; }
.case-frame.is-settling .case-curl { transition: width .5s var(--ease), height .5s var(--ease); }
.case-kicker { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 400 10px/1.5 var(--en); letter-spacing: .2em; text-transform: uppercase; color: var(--silver); }
.case-kicker span + span { color: var(--cyan); }
.case-title { margin-top: 8px; font: 400 20px/1.4 var(--th); }
.case-desc { margin-top: 6px; font: 300 14px/22px var(--th); color: var(--silver); }
.case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; }
.case-actions .btn { gap: 10px; }
.case-actions .btn .icon { width: 15px; height: 15px; }
.case-note { font: 300 12px/1 var(--th); color: var(--dim); }
@media (max-width: 760px) {
  .case-frame { padding: 16px; }
  .case-window { min-height: 268px; grid-template-columns: 30% minmax(0, 1fr); }
  .cw-side li { padding: 8px 9px; font-size: 12px; }
  .cw-main { padding: 14px 12px; }
  .cw-kpis { grid-template-columns: 1fr 1fr; }
  .cw-kpis div:nth-child(3) { display: none; }
  .case-curl { width: 92px; height: 92px; }
  .case-curl:hover { width: 92px; height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .case-window.play *, .case-window.play .cw-side { animation: none !important; }
  .case-window.play .cw-typing { display: none; }
}
.hero-motto { display: flex; align-items: center; gap: 18px; color: var(--dim); font-size: 11px; }
.hero-motto .dash { width: 40px; height: 1px; background: var(--line-strong); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font: 400 11px/1 var(--en); letter-spacing: .26em; text-transform: uppercase; color: var(--silver); }
.scroll-cue:hover { color: var(--cyan); }
.scroll-cue .mouse { width: 20px; height: 32px; border: 1px solid currentColor; border-radius: 12px; display: grid; justify-items: center; padding-top: 6px; }
.scroll-cue .mouse i { width: 2px; height: 6px; border-radius: 2px; background: currentColor; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }


/* ------------------------------------------------------------------ shared section scaffolding */
/* 120px between sections (64px mobile): sections pad the top only; bands that end a run pad the bottom */
.section { padding: var(--section) 0 0; position: relative; }
.section.ivory, #work { padding-bottom: var(--section); }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 64px; }
.sec-index { display: flex; align-items: center; font: 400 15px/1 var(--en); letter-spacing: .22em; text-transform: uppercase; }
.sec-index span { padding: 4px 0 4px 14px; margin-right: 28px; border-left: 1px solid var(--ivory); letter-spacing: .08em; }
.sec-tag { font: 400 11px/1.4 var(--en); letter-spacing: .24em; text-transform: uppercase; color: var(--silver); text-align: right; }
.blob { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(42px); opacity: .85;
  background: radial-gradient(closest-side, rgba(var(--cyan-rgb), .55), rgba(var(--blue-rgb), .75) 45%, rgba(var(--blue-rgb), 0)); }

/* reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ 2 · why ozariam: logo strip · dial + statement · staggered stats (after the Northline reference) */
.why2 { position: relative; isolation: isolate; overflow: hidden; padding-top: 24px; background: var(--black); }
.why2::before { content: ''; position: absolute; z-index: -1; left: -10%; top: 18%; width: 60%; height: 80%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--blue-rgb), .22), transparent 75%); }
.logo-strip { padding: 34px 0; border-bottom: 1px solid var(--line); }
.logo-strip-label { font: 300 13px/1.45 var(--th); color: var(--dim); max-width: 150px; }
.why2-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 72px; padding-top: 96px; border-bottom: 1px solid var(--line-strong); }
.why2-dial { position: relative; align-self: start; width: 100%; max-width: 660px; aspect-ratio: 1; margin: -40px 0 0 -4%; }
.why2-dial .dial-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.dial-tag { position: absolute; left: 5%; bottom: 5%; display: flex; align-items: center; gap: 10px; font: 400 10px/1 var(--en); letter-spacing: .2em; color: var(--dim); }
.dial-tag i { width: 2px; height: 14px; background: var(--cyan); }
.why2-copy { display: flex; flex-direction: column; min-width: 0; padding-top: 6px; }
.why2-label { display: flex; align-items: center; gap: 12px; font: 400 12px/1 var(--en); letter-spacing: .26em; text-transform: uppercase; color: var(--silver); }
.why2-label::before { content: ''; width: 9px; height: 9px; background: var(--cyan); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.why2-statement { margin-top: 26px; max-width: 640px; font: 300 clamp(18px, 1.55vw, 23px)/1.7 var(--th); color: var(--silver); text-wrap: pretty; }
.why2-brand { display: block; margin-bottom: 18px; font: 400 clamp(54px, 6.4vw, 108px)/.95 var(--en); letter-spacing: .02em; color: var(--ivory); }
.why2-stats { margin-top: 80px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.why2-stats > div { position: relative; min-height: calc(150px + var(--lift) * 44px); padding: 0 20px 26px; border-left: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 14px; }
.why2-stats > div::before { content: ''; position: absolute; left: -1px; top: 0; width: 1px; height: 28px; background: var(--cyan); }
.why2-stats dt { font: 400 clamp(40px, 4.4vw, 64px)/1 var(--en); letter-spacing: .01em; color: var(--ivory); }
.why2-stats dd { font: 400 11px/1.4 var(--en); letter-spacing: .18em; text-transform: uppercase; color: var(--silver); }
.why2-stats dd span { display: block; margin-top: 6px; font: 300 13px/1.5 var(--th); letter-spacing: 0; text-transform: none; color: var(--dim); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client-item { display: inline-flex; align-items: center; gap: 36px; font: 300 16px/1 var(--th); color: var(--ivory); white-space: nowrap; }
.client-item::after { content: ''; width: 9px; height: 9px; background: currentColor; opacity: .35; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.client-item img { height: 30px; width: auto; max-width: 140px; object-fit: contain; filter: brightness(0) invert(.96); opacity: .82; transition: opacity .2s; }
.client-item a:hover img { opacity: 1; }
.client-ind { display: inline-flex; align-items: center; gap: 12px; color: var(--silver); transition: color .2s; }
.client-ind .icon { width: 20px; height: 20px; color: var(--cyan); stroke-width: 1.2; }
.client-item:hover .client-ind { color: var(--ivory); }
.client-item.is-mark { gap: 0; padding-right: 64px; }
.client-item.is-mark::after { display: none; }
.lmark { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 250, 243, .72); transition: color .25s; }
.client-item:hover .lmark { color: var(--ivory); }
.lmark svg { width: 26px; height: 26px; flex-shrink: 0; overflow: visible; }
.lmark b { font-weight: 400; white-space: nowrap; }
.lm-a b { font: 400 17px/1 var(--en); letter-spacing: .22em; }
.lm-b b { font: 500 21px/1 var(--th); letter-spacing: -.02em; }
.lm-c b { font: italic 400 23px/1 Georgia, 'Times New Roman', serif; letter-spacing: -.01em; }
.lm-d b { font: 600 14px/1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .14em; }
.lm-e b { font: 800 19px/1 system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; letter-spacing: -.03em; }
.client-item .client-name { font: 400 14px/1 var(--en); letter-spacing: .14em; text-transform: uppercase; }

/* ------------------------------------------------------------------ case study band (Ice Cyan block after Selected Work) */
.case-band { position: relative; isolation: isolate; overflow: hidden; padding: 112px 0; color: var(--black);
  background: var(--cyan);
  --line: rgba(0, 0, 0, .14); --line-strong: rgba(0, 0, 0, .3); }
.case-band::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px) 0 0 / 80px 80px, linear-gradient(90deg, rgba(0, 0, 0, .05) 1px, transparent 1px) 0 0 / 80px 80px;
  -webkit-mask-image: radial-gradient(70% 90% at 70% 50%, #000, transparent); mask-image: radial-gradient(70% 90% at 70% 50%, #000, transparent); }
.case-band ::selection { background: var(--blue); color: var(--ivory); }
.case-band-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.case-band .case-kicker { color: #45474d; }
.case-band .case-kicker span + span { color: var(--blue); }
.case-band .case-title { margin-top: 18px; font: 400 clamp(28px, 3vw, 42px)/1.3 var(--th); color: var(--black); }
.case-band .case-desc { margin-top: 16px; max-width: 420px; font: 300 16px/28px var(--th); color: #3a3c41; }
.case-band .case-actions { margin-top: 32px; gap: 14px 24px; }
.case-band .btn-link { color: var(--black); }
.case-band .btn-link:hover { color: var(--blue); border-color: var(--blue); }
.case-band .btn-primary:focus-visible { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 4px var(--blue); }
.case-band .case-note { color: #5d5f65; }
.case-band .case::before { background: radial-gradient(closest-side, rgba(var(--blue-rgb), .4), transparent 75%); }
.case-band .case-frame { padding: 28px; border: 0; border-radius: 10px; background: #050506; box-shadow: 0 40px 90px rgba(20, 34, 90, .35), 0 0 0 1px rgba(0, 0, 0, .25); }
.case-band .case-window { min-height: 340px; }
.case-band .curl-under { border-bottom-right-radius: 10px; }
.case-chip { position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px 28px; padding: 5px 14px 5px 5px; border-radius: 100px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(0, 0, 0, .12); font: 400 12px/1 var(--en); letter-spacing: .08em; color: var(--black); }
.case-chip::after { content: ''; position: absolute; left: 18px; top: 100%; width: 1px; height: 23px; background: rgba(0, 0, 0, .3); }
.case-chip-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--cyan); }
.case-chip-ic .icon { width: 14px; height: 14px; }
.case-chip em { font-style: normal; font-size: 10px; letter-spacing: .16em; }
.case-chip em.is-live { color: var(--blue); }
.case-chip em.is-req { color: #6b6d73; }

/* ------------------------------------------------------------------ solutions */
.sol-grid { display: grid; grid-template-columns: 4fr 8fr; }
.sol-intro { padding-right: 48px; border-right: 1px solid var(--line); align-self: start; position: sticky; top: calc(var(--header) + 40px); }
.sol-intro p { color: var(--silver); margin-top: 24px; max-width: 360px; }
.sol-intro .btn-link { margin-top: 40px; }
.sol-list { border-top: 1px solid var(--line); margin-left: 40px; }
.sol-row { width: 100%; display: grid; grid-template-columns: 44px 40px minmax(170px, 1fr) minmax(0, 1.25fr) 28px; align-items: center; gap: 24px; padding: 30px 12px 30px 8px; text-align: left; border-bottom: 1px solid var(--line); position: relative; transition: background-color .3s; }
.sol-row::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--blue-rgb), .28), rgba(var(--blue-rgb), 0) 70%); opacity: 0; transition: opacity .35s; }
.sol-row { isolation: isolate; }
.sol-row:hover::before, .sol-row:focus-visible::before { opacity: 1; }
.sol-num { font: 400 14px/1 var(--en); color: var(--silver); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--line-strong); }
.sol-icon { width: 34px; height: 34px; stroke-width: 1.1; color: var(--ivory); }
.sol-name { font: 400 19px/1.35 var(--en); letter-spacing: .1em; text-transform: uppercase; transition: color .25s; }
.sol-desc { font-size: 14px; line-height: 22px; color: var(--silver); }
.sol-arrow { width: 22px; height: 22px; transition: transform .3s var(--ease), color .2s; }
.sol-row:hover .sol-name { color: var(--cyan); }
.sol-row:hover .sol-arrow { transform: translateX(5px); color: var(--cyan); }

/* ------------------------------------------------------------------ ways to start (Dawn Ivory band) */
.ivory { background: var(--ivory); color: var(--black); --line: rgba(0, 0, 0, .14); --line-strong: rgba(0, 0, 0, .3); }
.ivory .sec-index span { border-color: var(--black); }
.ivory .sec-tag, .ivory .kicker, .ivory .th-h2 span { color: #55575c; }
.ivory ::selection { background: var(--blue); color: var(--ivory); }
.start-title { margin-bottom: 56px; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.start-card { position: relative; padding: 48px 48px 48px 0; display: flex; flex-direction: column; align-items: flex-start; }
.start-card + .start-card { padding: 48px 0 48px 48px; border-left: 1px solid var(--line); }
.start-num { position: absolute; right: 40px; top: 28px; font: 400 120px/1 var(--en); color: rgba(0, 0, 0, .06); pointer-events: none; }
.start-card + .start-card .start-num { right: 0; }
.start-card .kicker { color: var(--blue); margin-bottom: 14px; }
.start-card h3 { font: 300 30px/1.35 var(--th); margin-bottom: 16px; }
.start-card > p { color: #3d3f44; max-width: 440px; }
.checks { display: grid; gap: 10px; margin: 26px 0 36px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.checks .icon { width: 18px; height: 18px; color: var(--blue); }
.start-card .btn { margin-top: auto; }
.ivory .btn-outline { --btn-fg: var(--black); --btn-bd: var(--black); }
.ivory .btn-outline:hover { --btn-fg: var(--blue); --btn-bd: var(--blue); }
.ivory :focus-visible { outline-color: var(--blue); }
.ivory .btn-primary:focus-visible { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 4px var(--blue); }
.start-note { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: #55575c; }

/* ------------------------------------------------------------------ process: three figures (FIG 3.x) */
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fig { display: flex; flex-direction: column; padding: 4px 40px 8px; border-left: 1px solid var(--line); min-width: 0; }
.fig:first-child { padding-left: 0; border-left: 0; }
.fig:last-child { padding-right: 0; }
.fig-label { font: 400 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; color: #64676d; }
.fig-media { height: clamp(220px, 22vw, 320px); margin: 28px 0 48px; }
.fig-art { display: block; width: 100%; height: 100%; overflow: visible; }
.fig-art .ln { fill: none; stroke: rgba(255, 250, 243, .46); stroke-width: 1; transition: stroke .4s; }
.fig-art .lf { fill: none; stroke: rgba(255, 250, 243, .15); stroke-width: 1; }
.fig-art .ld { fill: none; stroke: rgba(255, 250, 243, .34); stroke-width: 1; stroke-dasharray: 2 4; }
.fig-art .acc { fill: none; stroke: var(--cyan); stroke-width: 1.2; }
.fig-art .acc-faint { fill: none; stroke: rgba(var(--cyan-rgb), .45); stroke-width: 1; }
.fig-art .dot { fill: var(--ivory); }
.fig-art .glow { fill: url(#gPlanet); filter: drop-shadow(0 0 8px rgba(var(--cyan-rgb), .85)); }
.fig-art .star4 { fill: var(--cyan); filter: drop-shadow(0 0 6px rgba(var(--cyan-rgb), .9)); }
.fig:hover .fig-art .ln { stroke: rgba(255, 250, 243, .78); }
.fig-title { font: 400 22px/1.3 var(--en); letter-spacing: .06em; }
.fig-text { margin-top: 12px; max-width: 360px; font: 300 16px/27px var(--th); color: var(--silver); }
/* lines draw themselves in as each figure enters */
.js .fig .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .25s, stroke .4s; }
.js .fig.is-in .draw { stroke-dashoffset: 0; }
.fig-art .scan { animation: scan 7s linear infinite; }
@keyframes scan { to { stroke-dashoffset: -60; } }
@media (prefers-reduced-motion: reduce) {
  .js .fig .draw { stroke-dasharray: none; stroke-dashoffset: 0; }
  .fig-art .rocket { display: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ technology */
.tech-top { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.tech-top p { color: var(--silver); max-width: 520px; }
/* technology infographic: linked stages with line-art icons (layout after the Saturn V reference) */
.tstack { --iw: 168px; --rc: 220px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.tst-side { position: sticky; top: calc(var(--header) + 32px); align-self: start; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.tst-name { font: 400 clamp(26px, 2.4vw, 34px)/1.1 var(--en); letter-spacing: .02em; }
.tst-cap { margin-top: 8px; font: 400 11px/1.4 var(--en); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.tst-intro { margin-top: 28px; max-width: 360px; font: 300 14px/1.75 var(--th); color: var(--silver); }
.tst-facts { margin-top: 44px; display: grid; gap: 26px; }
.tst-facts dt { font: 400 12px/1.4 var(--en); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); }
.tst-facts dd { margin-top: 6px; font: 300 13px/1.65 var(--th); color: var(--silver); }
.tst-facts dd + dd { margin-top: 0; }
.tst-fig { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tst-row { --lc: var(--line-strong); display: grid; grid-template-columns: var(--rc) minmax(0, 1fr); padding-bottom: 34px; }
.tst-row:last-child { padding-bottom: 0; }
.tst-art { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.tst-ico { display: block; width: var(--iw); height: calc(var(--iw) * .85); transition: filter .35s; }
.tst-ico * { vector-effect: non-scaling-stroke; }
/* dotted spine: links each icon to the next stage */
.tst-art::after { content: ''; position: absolute; left: 50%; top: calc(var(--iw) * .85 + 6px); bottom: -28px; border-left: 1px dashed rgba(255, 250, 243, .22); }
.tst-row:last-child .tst-art::after { display: none; }
.tst-lead { position: absolute; top: 0; left: calc(50% + var(--iw) * .42); right: 0; border-top: 1px solid var(--lc); transform-origin: left; transition: border-color .3s; }
.tst-lead::before { content: ''; position: absolute; right: 100%; top: -1px; width: 15px; border-top: 1px solid var(--lc); transform-origin: right; transform: rotate(-42deg); transition: border-color .3s; }
.tst-label { display: grid; grid-template-columns: 64px minmax(0, 1fr); padding-top: 12px; border-top: 1px solid var(--lc); transition: border-color .3s; }
.tst-num { padding-left: 6px; font: 400 13px/1.5 var(--en); letter-spacing: .12em; color: var(--silver); transition: color .3s; }
.tst-body h3 { font: 400 14px/1.5 var(--en); letter-spacing: .18em; text-transform: uppercase; color: var(--ivory); }
.tst-body p { margin-top: 4px; max-width: 360px; font: 300 13px/1.6 var(--th); color: var(--silver); }
.tst-items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tst-items button { height: 28px; padding: 0 11px; border-radius: 100px; border: 1px solid var(--line); font: 300 12px/1 var(--th); color: var(--ivory); transition: border-color .2s, color .2s, background-color .2s; }
.tst-items button:hover { border-color: rgba(var(--cyan-rgb), .7); color: var(--cyan); background: rgba(var(--blue-rgb), .2); }
.tst-row:hover, .tst-row:focus-within { --lc: rgba(var(--cyan-rgb), .75); }
.tst-row:hover .tst-num, .tst-row:focus-within .tst-num { color: var(--cyan); }
.tst-row:hover .tst-ico .ln, .tst-row:focus-within .tst-ico .ln { stroke: rgba(255, 250, 243, .8); }
.tst-row:hover .tst-ico, .tst-row:focus-within .tst-ico { filter: drop-shadow(0 0 10px rgba(var(--cyan-rgb), .25)); }
/* stages appear bottom-up, each line draws out to its label */
.js .tst-fig .tst-ico { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .35s; }
.js .tst-fig .tst-lead { transform: scaleX(0); transition: transform .5s var(--ease), border-color .3s; }
.js .tst-fig .tst-label { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .3s; }
.js .tst-fig.is-in .tst-ico { opacity: 1; transform: none; transition-delay: calc(var(--d) * .13s), calc(var(--d) * .13s), 0s; }
.js .tst-fig.is-in .tst-lead { transform: none; transition-delay: calc(var(--d) * .13s + .3s), 0s; }
.js .tst-fig.is-in .tst-label { opacity: 1; transform: none; transition-delay: calc(var(--d) * .13s + .45s), calc(var(--d) * .13s + .45s), 0s; }

/* ------------------------------------------------------------------ teams */
.teams-title { margin-bottom: 48px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.team-cell { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); }
.team-cell:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.team-icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; margin-bottom: 22px; }
.team-icon .icon { width: 22px; height: 22px; }
.team-cell h3 { font: 400 20px/30px var(--th); }
.team-cell .team-sub { font: 400 14px/22px var(--th); color: var(--cyan); margin: 2px 0 12px; }
.team-cell p:last-child { font-size: 14px; line-height: 22px; color: var(--silver); }
.device-note { display: inline-flex; align-items: center; gap: 10px; }
.device-note .icon { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ work: journal-style grid (filter list left · cards right) */
.work-heading { margin-bottom: 48px; }
.wk-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.wk-filters { position: sticky; top: calc(var(--header) + 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.wk-filters button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font: 400 14px/1.35 var(--en); letter-spacing: .04em; color: var(--ivory); text-align: left; transition: color .2s; }
.wk-filters button .wk-n { font-size: 10px; color: var(--dim); transform: translateY(-5px); }
.wk-filters button:hover { color: rgba(var(--cyan-rgb), .8); }
.wk-filters button[aria-pressed=true] { color: var(--cyan); }
.wk-filters .live-dot { width: 6px; height: 6px; }
.wk-filters .wk-s { display: none; }
.wk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
.wk-card { position: relative; min-width: 0; }
.wk-tile { position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10.4; overflow: hidden; border-radius: 16px; background: #111214;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 243, .06); container-type: inline-size; transition: box-shadow .3s; }
.wk-tile:hover, .wk-tile:focus-visible { box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .35); }
.wk-tile:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.wk-tile.is-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.wk-tile.is-img:hover img { transform: scale(1.035); }
/* lockup: OZARIAM | product */
.wk-lock { display: flex; align-items: center; gap: 4.5cqw; padding: 0 7cqw; color: var(--ivory); transition: transform .8s var(--ease); }
.wk-tile:hover .wk-lock { transform: scale(1.04); }
.wk-oz { display: inline-flex; align-items: center; gap: 2.2cqw; font: 400 5cqw/1 var(--en); letter-spacing: .02em; white-space: nowrap; }
.wk-oz img { width: 7.4cqw; height: auto; }
.wk-lock > i { flex-shrink: 0; width: 1px; height: 9cqw; background: rgba(255, 250, 243, .4); }
.wk-prod { display: inline-flex; align-items: center; gap: 1.8cqw; font: 400 4.1cqw/1.15 var(--en); letter-spacing: .02em; }
.wk-prod .icon { flex-shrink: 0; width: 5.2cqw; height: 5.2cqw; color: var(--cyan); }
/* brand art: liquid light in Orbital Blue · Ice Cyan · Dawn Ivory */
.wk-art { position: absolute; inset: 0; overflow: hidden; }
.wk-art i { position: absolute; display: block; transition: scale 1.4s var(--ease), translate 1.4s var(--ease); }
.wk-tile:hover .wk-art i { scale: 1.07; }
.a-cloud { background: linear-gradient(165deg, #3756C6 0%, #1a2e7a 48%, #07112e 100%); }
.a-cloud i:nth-child(1) { left: 6%; top: 16%; width: 88%; height: 72%; border-radius: 50%; filter: blur(16px);
  background: radial-gradient(38% 48% at 30% 58%, #D0FFFF, transparent 72%), radial-gradient(42% 44% at 66% 44%, #a6ecff, transparent 72%), radial-gradient(60% 60% at 50% 62%, rgba(120, 190, 255, .9), transparent 76%); }
.a-cloud i:nth-child(2) { left: 38%; top: 46%; width: 30%; height: 30%; border-radius: 50%; background: radial-gradient(closest-side, #0a1440, transparent); filter: blur(10px); }
.a-cloud i:nth-child(3) { left: 14%; top: 20%; width: 42%; height: 34%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 250, 243, .75), transparent); filter: blur(18px); }
.wk-tile:hover .a-cloud i:nth-child(1) { translate: 3% -2%; }
.a-streak { background: #0b0b0d; }
.a-streak i:nth-child(1) { left: -6%; top: 28%; width: 96%; height: 44%; border-radius: 999px; filter: blur(5px);
  background: repeating-linear-gradient(90deg, #D0FFFF 0 4%, #3756C6 4% 9%, #FFFAF3 9% 11%, #7fa6ff 11% 16%, #2C47A6 16% 21%);
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 96%); mask-image: linear-gradient(90deg, #000 30%, transparent 96%); }
.a-streak i:nth-child(2) { left: 9%; top: 24%; width: 30%; height: 52%; border-radius: 50%; filter: blur(2px);
  background: radial-gradient(closest-side, transparent 56%, rgba(255, 250, 243, .95) 70%, rgba(208, 255, 255, .6) 82%, transparent 100%); }
.a-streak i:nth-child(3) { left: -4%; top: 14%; width: 56%; height: 72%; border-radius: 50%; background: radial-gradient(closest-side, rgba(208, 255, 255, .32), transparent); filter: blur(26px); }
.wk-tile:hover .a-streak i:nth-child(1) { translate: 4% 0; }
.a-orbit { background: radial-gradient(1px 1px at 12% 22%, rgba(255,250,243,.9), transparent), radial-gradient(1px 1px at 78% 14%, rgba(255,250,243,.8), transparent), radial-gradient(1px 1px at 64% 34%, rgba(208,255,255,.8), transparent), radial-gradient(1.5px 1.5px at 30% 12%, rgba(255,250,243,.9), transparent), radial-gradient(1px 1px at 90% 40%, rgba(255,250,243,.6), transparent), radial-gradient(1px 1px at 44% 8%, rgba(255,250,243,.7), transparent), radial-gradient(circle at 50% 55%, #0d1a4a, #000 70%); }
.a-orbit i:nth-child(3) { left: 28%; top: 14%; width: 44%; height: 72%; border-radius: 50%; background: radial-gradient(closest-side, rgba(44, 71, 166, .7), transparent); filter: blur(24px); }
.a-orbit i:nth-child(2) { left: 39.5%; top: 31%; width: 21%; aspect-ratio: 1; border-radius: 50%; background: #000;
  box-shadow: 0 0 0 2px rgba(255, 250, 243, .9), 0 0 22px 6px rgba(208, 255, 255, .55), 0 0 60px 22px rgba(44, 71, 166, .65); }
.a-orbit i:nth-child(1) { z-index: 1; left: 16%; top: 45%; width: 68%; height: 14%; border-radius: 50%; rotate: -10deg; filter: blur(2.5px);
  background: radial-gradient(closest-side, transparent 34%, rgba(208, 255, 255, .95) 55%, rgba(55, 86, 198, .85) 72%, transparent 100%); }
.a-dawn { background: radial-gradient(1px 1px at 12% 22%, rgba(255,250,243,.9), transparent), radial-gradient(1px 1px at 78% 14%, rgba(255,250,243,.8), transparent), radial-gradient(1px 1px at 64% 34%, rgba(208,255,255,.8), transparent), radial-gradient(1.5px 1.5px at 30% 12%, rgba(255,250,243,.9), transparent), radial-gradient(1px 1px at 90% 40%, rgba(255,250,243,.6), transparent), radial-gradient(1px 1px at 44% 8%, rgba(255,250,243,.7), transparent), #000; }
.a-dawn i:nth-child(1) { left: -30%; top: 64%; width: 160%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 0%, #0d1a46, #02040a 42%);
  box-shadow: 0 -2px 0 rgba(208, 255, 255, .9), 0 -10px 26px rgba(208, 255, 255, .45), 0 -40px 90px rgba(44, 71, 166, .85); }
.a-dawn i:nth-child(2) { left: 30%; top: 50%; width: 22%; height: 28%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 250, 243, .95), rgba(208, 255, 255, .5) 35%, transparent); filter: blur(6px); }
.a-dawn i:nth-child(3) { left: 8%; top: calc(64% - 1px); width: 66%; height: 2px; background: linear-gradient(90deg, transparent, rgba(208, 255, 255, .95) 50%, transparent); filter: blur(.6px); }
.wk-open { position: absolute; z-index: 3; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--black); opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .3s var(--ease), background-color .2s; }
.wk-open .icon { width: 17px; height: 17px; }
.wk-card:hover .wk-open, .wk-open:focus-visible { opacity: 1; transform: none; }
.wk-open:hover { background: var(--cyan); }
@media (hover: none) { .wk-open { opacity: 1; transform: none; } }
.wk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 20px; font: 400 11px/1.4 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.wk-cat { color: var(--cyan); }
.wk-title { margin-top: 12px; font: 400 clamp(19px, 1.7vw, 23px)/1.4 var(--th); }
.wk-title button { text-align: left; transition: color .2s; }
.wk-title button:hover { color: var(--cyan); }
.wk-desc { margin-top: 10px; max-width: 420px; font: 300 14px/1.65 var(--th); color: var(--silver); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); } 70% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.work-more { display: flex; justify-content: center; margin-top: 48px; }
.work-note { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 28px; font-size: 13px; color: var(--dim); text-align: center; }
.work-note .icon { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ contact */
.contact { position: relative; isolation: isolate; overflow: hidden; padding: var(--section) 0; text-align: center; border-top: 1px solid var(--line); }
.blob-contact { width: 520px; height: 260px; left: 50%; top: 22%; transform: translateX(-50%) rotate(-12deg); opacity: .65; }
.contact-emblem { position: absolute; z-index: -2; width: 620px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .045; pointer-events: none; }
.contact .kicker { margin-bottom: 22px; }
.contact-title { font-size: clamp(52px, 9vw, 132px); }
.contact-sub { margin-top: 18px; font-size: clamp(20px, 2.2vw, 26px); }
.contact-lead { max-width: 560px; margin: 16px auto 0; color: var(--silver); }
.contact-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.contact-item { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 16px; padding: 32px 40px 32px 0; transition: background-color .25s; }
.contact-item + .contact-item { padding-left: 40px; border-left: 1px solid var(--line); }
.contact-item .caption { grid-column: 1 / -1; }
.contact-item strong { font: 300 clamp(22px, 2.6vw, 32px)/1.3 var(--th); overflow-wrap: anywhere; }
.contact-item .icon { width: 22px; height: 22px; transition: transform .3s var(--ease), color .2s; }
.contact-item:hover strong, .contact-item:hover .icon { color: var(--cyan); }
.contact-item:hover .icon { transform: translate(3px, -3px); }

/* ------------------------------------------------------------------ footer */
.site-footer { position: relative; padding: 54px 0 28px; }
/* the palette's metallic gradient bar */
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, #5f6064 0%, #FFFAF3 9%, #B1B2B6 20%, #8d97b8 33%, #2C47A6 47%, #7ea0e0 60%, #D0FFFF 72%, #FFFAF3 84%, #B1B2B6 94%, #6b6c70 100%); }
.footer-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-top img { height: 44px; width: auto; }
.footer-motto { font: 400 12px/22px var(--en); letter-spacing: .22em; text-transform: uppercase; color: var(--silver); padding-left: 40px; border-left: 1px solid var(--line); }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font: 400 11px/1 var(--en); letter-spacing: .2em; text-transform: uppercase; color: var(--silver); }
.footer-nav a:hover { color: var(--cyan); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: var(--dim); }
.footer-bottom button { color: var(--dim); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom button:hover, .footer-bottom a:hover { color: var(--ivory); }

/* ------------------------------------------------------------------ floating AI */
.floating-ai { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 5px 20px 5px 5px; border: 1px solid var(--line-strong); border-radius: 100px; background: rgba(0, 0, 0, .92); box-shadow: 0 12px 36px rgba(0, 0, 0, .55), 0 0 24px rgba(var(--blue-rgb), .25); font: 400 13px/1 var(--en); letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), border-color .2s; }
.floating-ai.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.floating-ai:hover { border-color: var(--cyan); }
.floating-ai .floating-orb { width: 38px; height: 38px; }
.floating-ai .floating-orb .icon { width: 19px; height: 19px; }
.floating-orb { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, var(--cyan), var(--blue) 55%, #071233); box-shadow: 0 0 14px rgba(var(--blue-rgb), .8); }
.floating-orb .icon { width: 18px; height: 18px; color: var(--ivory); }

/* ------------------------------------------------------------------ dialogs */
dialog { color: var(--ivory); background: var(--charcoal); border: 1px solid var(--line-strong); border-radius: 18px; padding: 36px; width: min(680px, calc(100vw - 32px)); max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 40px 120px rgba(0, 0, 0, .8), 0 0 0 1px rgba(var(--blue-rgb), .15); }
dialog::backdrop { background: rgba(0, 0, 0, .78); }
dialog[open] { animation: dlg-in .3s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.dlg-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.dlg-top .btn-icon { width: 38px; height: 38px; flex-shrink: 0; }
.dlg-icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; margin-bottom: 20px; color: var(--cyan); }
.dlg-title { font: 400 30px/1.25 var(--en); letter-spacing: .03em; }
.dlg-lead { margin-top: 16px; color: var(--silver); font-size: 16px; line-height: 28px; }
.dlg-title.th { font: 300 28px/1.4 var(--th); letter-spacing: 0; }
.dlg-h { font: 400 14px/1.4 var(--th); color: var(--silver); margin: 30px 0 12px; }
.dlg-list { display: grid; border-top: 1px solid var(--line); }
.dlg-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 24px; }
.dlg-list .icon { width: 18px; height: 18px; color: var(--cyan); margin-top: 3px; }
.dlg-note { margin-top: 24px; padding-left: 14px; border-left: 1px solid var(--cyan); color: var(--dim); font-size: 13px; line-height: 22px; }
.dlg-demo { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 10px; display: grid; gap: 4px; }
.dlg-demo b { font: 400 13px/1.4 var(--en); letter-spacing: .12em; color: var(--cyan); overflow-wrap: anywhere; }
.dlg-demo span { font-size: 14px; color: var(--silver); }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

/* forms (component library: default / focus / error) */
.form-intro { color: var(--silver); margin: 10px 0 26px; }
.field { display: block; margin-bottom: 18px; }
.field-label { display: block; margin-bottom: 8px; font: 400 14px/1.4 var(--th); color: var(--silver); }
.field-label span { color: var(--cyan); margin-left: 4px; }
.field-wrap { position: relative; display: block; }
.input { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(0, 0, 0, .35); color: var(--ivory); font: 300 16px/24px var(--th); transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: #6f7279; }
.input:hover { border-color: rgba(255, 250, 243, .45); }
.input:focus { outline: none; border-color: var(--blue-hover); box-shadow: 0 0 0 3px rgba(var(--blue-rgb), .45); }
textarea.input { min-height: 120px; resize: vertical; }
.field.is-invalid .input { border-color: var(--error); padding-right: 46px; }
.field.is-invalid .input:focus { box-shadow: 0 0 0 3px rgba(255, 122, 102, .25); }
.field-err { display: none; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--error); }
.field.is-invalid .field-err { display: flex; }
.field .err-icon { display: none; position: absolute; right: 14px; top: 14px; width: 20px; height: 20px; color: var(--error); }
.field.is-invalid .err-icon { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 18px; }
.chips legend { padding: 0; margin-bottom: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 15px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: 14px; color: var(--silver); transition: all .2s; }
.chip input:hover + span { border-color: var(--ivory); color: var(--ivory); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--ivory); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), .35); }
.form-note { font-size: 13px; color: var(--dim); margin: -4px 0 22px; }
.form-submit { width: 100%; }
.form-tools { display: flex; justify-content: center; gap: 24px; margin-top: 16px; }
.form-tools button { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--silver); }
.form-tools button:hover { color: var(--cyan); }
.form-tools .icon { width: 16px; height: 16px; }
.form-feedback { margin-top: 14px; font-size: 14px; color: var(--cyan); text-align: center; }
.form-feedback:empty { display: none; }
.dlg-contacts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--silver); }
.dlg-contacts a { display: inline-flex; align-items: center; gap: 8px; }
.dlg-contacts a:hover { color: var(--cyan); }
.dlg-contacts .icon { width: 16px; height: 16px; }

/* chat (AI demo, reuses particle orb) */
.chat-dialog { position: fixed; inset: 16px 16px 16px auto; margin: 0; width: 440px; max-width: calc(100vw - 24px); height: calc(100dvh - 32px); max-height: 880px; padding: 0; overflow: hidden; }
.chat-dialog[open] { display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 34px; height: 34px; }
.chat-head h2 { font: 400 15px/1.2 var(--en); letter-spacing: .2em; }
.chat-head small { display: block; margin-top: 4px; font-size: 12px; color: var(--dim); }
.chat-head .btn-icon { margin-left: auto; width: 36px; height: 36px; }
.chat-orb { display: flex; flex-direction: column; align-items: center; padding: 6px 18px 12px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 50% 35%, rgba(var(--blue-rgb), .22), transparent 70%); }
.orb-scene { position: relative; width: 240px; height: 150px; cursor: pointer; touch-action: pan-y; border-radius: 50%; }
.orb-scene canvas { width: 100%; height: 100%; display: block; }
.orb-fallback { display: none; position: absolute; width: 110px; height: 110px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 25%, rgba(var(--cyan-rgb), .3), rgba(var(--blue-rgb), .5) 60%, transparent 72%); }
.orb-fallback.visible { display: block; }
.orb-fallback > div, .orb-fallback > i { position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(var(--cyan-rgb), .5); }
#orbStateLabel { font-size: 13px; color: var(--silver); text-align: center; }
.chat-orb-controls { display: flex; gap: 10px; margin-top: 10px; }
.chat-orb-controls button { width: 38px; height: 38px; }
.chat-orb-controls button[aria-pressed=true] { background: var(--blue); border-color: var(--blue); }
.chat-messages { flex: 1; min-height: 100px; overflow-y: auto; padding: 18px 20px 14px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: none; overscroll-behavior: contain;
  -webkit-mask-image: linear-gradient(transparent, #000 18px); mask-image: linear-gradient(transparent, #000 18px); }
.chat-messages::-webkit-scrollbar { display: none; }
.chat-messages > :first-child { margin-top: auto; }
/* chatting: the orb tucks into a slim row so the conversation gets the height; starters show only before the first message */
.chat-orb { transition: padding .35s var(--ease); }
.orb-scene { transition: width .35s var(--ease), height .35s var(--ease); }
.chat-dialog.is-chatting .chat-orb { flex-direction: row; gap: 12px; padding: 8px 20px; }
.chat-dialog.is-chatting .orb-scene { width: 56px; height: 56px; flex-shrink: 0; }
.chat-dialog.is-chatting #orbStateLabel { flex: 1; min-width: 0; margin: 0; text-align: left; font-size: 12px; line-height: 1.4; }
.chat-dialog.is-chatting .chat-orb-controls { margin: 0; gap: 6px; }
.chat-dialog.is-chatting .chat-orb-controls button { width: 34px; height: 34px; }
.chat-dialog.is-chatting .chat-starters { display: none; }
.chat-dialog.is-chatting .chat-form { margin-top: 10px; }
.bubble { max-width: 90%; padding: 12px 15px; border-radius: 14px; font-size: 14px; line-height: 23px; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble b { display: block; font-weight: 400; margin-bottom: 4px; }
.bubble.assistant { align-self: flex-start; background: var(--charcoal-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.user { align-self: flex-end; background: var(--blue); border-bottom-right-radius: 4px; }
.bubble.pending { color: var(--dim); }
.bubble.pending::after { content: '…'; animation: pend 1.2s infinite; }
@keyframes pend { 50% { opacity: .2; } }
.chat-starters { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 20px 6px; }
.chat-starters button { white-space: nowrap; padding: 7px 13px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: 13px; color: var(--silver); }
.chat-starters button:hover { border-color: var(--cyan); color: var(--cyan); }
.chat-form { display: flex; gap: 8px; margin: 4px 20px 0; padding: 5px; border: 1px solid var(--line-strong); border-radius: 12px; }
.chat-form:focus-within { border-color: var(--blue-hover); box-shadow: 0 0 0 3px rgba(var(--blue-rgb), .4); }
.chat-form input { flex: 1; min-width: 0; border: 0; background: none; padding: 8px 10px; font-size: 16px; font-weight: 300; outline: none; }
.chat-form button { width: 40px; height: 40px; border-radius: 9px; background: var(--blue); display: grid; place-items: center; }
.chat-form button:disabled { opacity: .5; }
.chat-form .icon { width: 17px; height: 17px; }
.chat-disclaimer { margin: 10px 20px; font-size: 12px; line-height: 19px; color: var(--dim); text-align: center; }
.chat-human { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; padding-bottom: calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font: 400 15px/1 var(--th); color: var(--cyan); }
.chat-human .icon { width: 16px; height: 16px; }

.toast { position: fixed; z-index: 300; left: 50%; bottom: 28px; max-width: min(560px, calc(100vw - 40px)); padding: 13px 22px; border-radius: 100px; background: var(--ivory); color: var(--black); font-size: 14px; text-align: center; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript { padding: 20px; text-align: center; background: var(--charcoal); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .fig { padding-inline: 24px; }
  .fig-text { font-size: 15px; line-height: 25px; }
  .sol-row { grid-template-columns: 36px 34px minmax(150px, 1fr) minmax(0, 1.2fr) 24px; gap: 18px; }
  .sol-name { font-size: 17px; }
}
@media (max-width: 1024px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav-primary { display: none; }
  .brand { justify-self: start; }
  .menu-toggle { display: block; }
  .sol-grid { grid-template-columns: 1fr; }
  .sol-intro { position: static; padding: 0 0 40px; border-right: 0; }
  .sol-list { margin-left: 0; }
  .tech-top { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 860px) {
  .figs { grid-template-columns: 1fr; }
  .fig, .fig:first-child, .fig:last-child { padding: 32px 0 36px; border-left: 0; border-top: 1px solid var(--line); }
  .fig:first-child { border-top: 0; padding-top: 0; }
  .fig-media { height: auto; aspect-ratio: 400 / 330; max-width: 420px; margin: 20px auto 28px; width: 100%; }
  .start-grid { grid-template-columns: 1fr; }
  .start-card, .start-card + .start-card { padding: 40px 0; border-left: 0; }
  .start-card + .start-card { border-top: 1px solid var(--line); }
  .start-num, .start-card + .start-card .start-num { right: 0; font-size: 88px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-cell, .team-cell:not(:nth-child(3n+1)) { padding: 32px 24px 32px 0; border-left: 0; }
  .team-cell:nth-child(2n) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item, .contact-item + .contact-item { padding: 26px 0; border-left: 0; }
  .contact-item + .contact-item { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-motto { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  .header-cta { display: none; }
  .brand img { height: 32px; }
  .sec-head { margin-bottom: 40px; padding: 14px 0; }
  .sec-index { font-size: 13px; }
  .sec-index span { margin-right: 16px; }
  .sec-tag { display: none; }
  .sol-row { grid-template-columns: 30px 1fr 22px; grid-template-areas: "num name arrow" "num desc arrow"; gap: 6px 14px; padding: 22px 4px; }
  .sol-num { grid-area: num; align-self: start; padding-top: 4px; }
  .sol-icon { display: none; }
  .sol-name { grid-area: name; font-size: 16px; }
  .sol-desc { grid-area: desc; }
  .sol-arrow { grid-area: arrow; }
  .start-card h3 { font-size: 25px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-cell, .team-cell:nth-child(2n), .team-cell:not(:nth-child(3n+1)) { padding: 28px 0; border-left: 0; }
  .contact-grid { margin-top: 56px; }
  dialog { padding: 26px 22px; border-radius: 16px; }
  .dlg-title { font-size: 25px; }
  .form-row { grid-template-columns: 1fr; }
  .chat-dialog { inset: auto 0 0; width: 100%; max-width: 100%; height: 92dvh; border-radius: 18px 18px 0 0; }
  /* compact orb-only button so it never covers content */
  .floating-ai { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 4px; gap: 0; }
  .floating-ai > span:last-child { display: none; }
  .floating-ai .floating-orb { width: 48px; height: 48px; }
  .floating-ai .floating-orb .icon { width: 22px; height: 22px; }
  .work-note { justify-content: flex-start; align-items: flex-start; text-align: left; }
  .work-note .icon { flex-shrink: 0; margin-top: 3px; }
}
@media (max-width: 420px) {
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .site-header, .floating-ai, .hero-ask, dialog, .scroll-cue, .blob { display: none !important; }
  body, .hero, .contact { background: #fff !important; color: #000 !important; }
  .hero { min-height: 0; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------------ technology infographic: responsive */
@media (max-width: 1100px) { .tstack { --iw: 150px; --rc: 190px; gap: 36px; } }
@media (max-width: 900px) {
  .tstack { grid-template-columns: 1fr; gap: 56px; }
  .tst-side { position: static; }
  .tst-facts { grid-template-columns: 1fr 1fr; gap: 22px 24px; }
}
@media (max-width: 760px) {
  .tstack { --iw: 92px; --rc: 104px; }
  .tst-row { padding-bottom: 26px; }
  .tst-lead::before { width: 11px; }
  .tst-label { grid-template-columns: 30px minmax(0, 1fr); padding-top: 10px; }
  .tst-num { padding-left: 0; font-size: 11px; }
  .tst-body h3 { font-size: 12px; letter-spacing: .14em; }
  .tst-items button { height: 26px; padding: 0 9px; font-size: 11px; }
  .tst-art::after { bottom: -22px; }
}
@media (prefers-reduced-motion: reduce) { .js .tst-fig .tst-ico, .js .tst-fig .tst-lead, .js .tst-fig .tst-label { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ hero: responsive (panel drops under the copy, still edge to edge) */
@media (max-width: 1100px) {
  .hero { display: block; min-height: 0; }
  .hero-inner { display: block; min-height: 0; padding-bottom: 0; }
  .hero-main { padding: 40px 0 56px; }
  .hero-copy { max-width: 680px; }
  .hero-foot { display: none; }
  .hero-ask { position: relative; inset: auto; width: auto; min-height: 660px; margin-inline: calc(var(--gutter) * -1); margin-top: 56px; margin-bottom: -56px; border-left: 0; }
}
@media (max-width: 760px) {
  .hero-inner { padding-top: var(--header); }
  .hero-main { padding: 36px 0 48px; }
  .hero-title { font-size: clamp(30px, 8.4vw, 40px); line-height: 1.36; }
  .hero-tagline { margin-top: 18px; gap: 10px; font-size: 10.5px; letter-spacing: .2em; }
  .hero-tagline i { width: 22px; }
  .hero-lead { margin-top: 18px; font-size: 15px; line-height: 26px; }
  .hero-ctas { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 18px; margin-top: 28px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-ask { min-height: 580px; margin-top: 44px; margin-bottom: -48px; }
  .ask-body { padding: 40px 20px 52px; gap: 14px; }
  .ask-hello { font-size: 21px; }
  .ask-th { font-size: 14px; }
  .ask-box { padding: 12px 10px 8px 14px; }
  .ask-modes span { padding: 0 10px; font-size: 12px; gap: 6px; }
  .ask-chips { gap: 8px; }
  .ask-chips button { height: 34px; padding: 0 13px; font-size: 13px; }
}
@media (max-width: 380px) { .ask-modes .icon { display: none; } }

/* ------------------------------------------------------------------ sections 2–3: responsive */
@media (max-width: 1100px) {
  .case-band-inner { grid-template-columns: 1fr; gap: 48px; }
  .case-band .case { max-width: 760px; }
  .case-band .case-desc { max-width: 560px; }
}
@media (max-width: 960px) {
  .why2-grid { grid-template-columns: 1fr; padding-top: 64px; }
  .why2-dial { max-width: 460px; justify-self: center; margin: 0 0 32px; }
}
@media (max-width: 760px) {
  .logo-strip { padding: 24px 0; }
  .lmark svg { width: 22px; height: 22px; }
  .client-item.is-mark { padding-right: 44px; }
  .why2-grid { padding-top: 48px; }
  .why2-dial { max-width: 360px; margin-bottom: 24px; }
  .why2-statement { margin-top: 20px; font-size: 17px; line-height: 1.7; }
  .why2-brand { font-size: 48px; margin-bottom: 14px; }
  /* stats become clean rows: number left, label right */
  .why2-stats { grid-template-columns: 1fr; margin-top: 40px; }
  .why2-stats > div { min-height: 0; display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 0 14px; padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .why2-stats > div::before { left: 0; top: -1px; width: 28px; height: 1px; }
  .why2-stats dt { font-size: 44px; }
  .why2-stats dd { font-size: 11px; letter-spacing: .16em; }
  .why2-stats dd span { font-size: 13px; }
  .case-band { padding: 72px 0; }
  .case-band .case-frame { padding: 14px; }
  .case-band .case-window { min-height: 268px; }
  .case-chip { margin-left: 14px; }
  .case-chip::after { height: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; gap: 18px 0; animation: none; }
  .client-item { gap: 20px; font-size: 14px; }
  .marquee-track > [aria-hidden=true] { display: none; }
}

/* ------------------------------------------------------------------ work: responsive (kept last so it wins) */
@media (max-width: 900px) {
  .wk-layout { grid-template-columns: 1fr; gap: 28px; }
  /* category bar sticks under the header until the work grid ends */
  .wk-filters { position: sticky; top: var(--header); z-index: 6; flex-direction: row; flex-wrap: wrap; gap: 7px 6px;
    margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter); background: var(--black); transition: box-shadow .25s; }
  .wk-filters.is-stuck { box-shadow: 0 10px 24px rgba(0, 0, 0, .18), 0 1px 0 var(--line); }
  .wk-filters::-webkit-scrollbar { display: none; }
  .wk-filters button { height: 34px; padding: 0 13px; border-radius: 100px; border: 1px solid var(--line); white-space: nowrap; font-size: 12.5px; letter-spacing: .03em; }
  .wk-filters .wk-l { display: none; }
  .wk-filters .wk-s { display: inline; }
  .wk-filters button[aria-pressed=true] { border-color: rgba(var(--cyan-rgb), .6); }
  .wk-filters button .wk-n { transform: none; }
}
@media (max-width: 640px) { .wk-grid { grid-template-columns: 1fr; gap: 44px; } }

/* ------------------------------------------------------------------ detail drawer: slides in from the right, half the screen (kept last so it wins) */
.detail-dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: max(50vw, min(560px, 100vw)); max-width: 100vw; height: 100dvh; max-height: none;
  padding: 0 clamp(24px, 4vw, 72px); border: 0; border-left: 1px solid var(--line-strong); border-radius: 0; background: var(--charcoal);
  box-shadow: -40px 0 120px rgba(0, 0, 0, .7), -1px 0 0 rgba(var(--blue-rgb), .25); }
.detail-dialog[open] { animation: drawer-in .5s var(--ease); }
.detail-dialog.is-closing { animation: drawer-out .32s cubic-bezier(.4, 0, 1, 1) forwards; }
.detail-dialog::backdrop { background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: drawer-fade .4s ease; }
.detail-dialog.is-closing::backdrop { opacity: 0; transition: opacity .3s; }
.detail-dialog .dlg-top { position: sticky; top: 0; z-index: 2; margin: 0 0 30px; padding: 30px 0 18px; background: var(--charcoal); border-bottom: 1px solid var(--line); }
.detail-dialog .dlg-actions { position: sticky; bottom: 0; z-index: 2; margin-top: 40px; padding: 20px 0 28px; background: var(--charcoal); }
.detail-dialog .dlg-title { font-size: clamp(30px, 2.6vw, 42px); }
.detail-dialog .dlg-lead { font-size: 17px; line-height: 30px; max-width: 640px; }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes drawer-fade { from { opacity: 0; } }
@media (max-width: 760px) {
  .detail-dialog { width: 100vw; padding: 0 20px; border-left: 0; border-radius: 0; }
  .detail-dialog .dlg-top { padding-top: 18px; margin-bottom: 22px; }
  .detail-dialog .dlg-actions { padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .detail-dialog[open], .detail-dialog.is-closing { animation: none; } }

/* ------------------------------------------------------------------ palette blocks: Dawn Ivory 20 · Titanium Silver 10 · Ice Cyan 10 · Orbital Blue 20 · Space Black 40 */
.tone-blue, .tone-silver { padding-bottom: var(--section); }
/* Orbital Blue: Solutions + Teams */
.tone-blue { background: var(--blue); color: var(--ivory); --line: rgba(255, 250, 243, .22); --line-strong: rgba(255, 250, 243, .45); }
.tone-blue .sec-index span { border-color: var(--ivory); }
.tone-blue .sec-tag, .tone-blue .kicker, .tone-blue .th-h2 span { color: rgba(255, 250, 243, .72); }
.tone-blue .sol-intro p, .tone-blue .sol-desc, .tone-blue .sol-num, .tone-blue .team-cell p:last-child { color: rgba(255, 250, 243, .82); }
.tone-blue .sol-row::before { background: linear-gradient(90deg, rgba(0, 0, 0, .24), rgba(0, 0, 0, 0) 70%); }
.tone-blue .team-icon { background: rgba(0, 0, 0, .14); }
.tone-blue ::selection { background: var(--ivory); color: var(--blue); }
.tone-blue :focus-visible { outline-color: var(--cyan); }
/* Titanium Silver: Ways to Start (dark text, reuses the .ivory overrides) */
.tone-silver { background: var(--silver); }
.tone-silver .sec-tag, .tone-silver .kicker, .tone-silver .th-h2 span, .tone-silver .start-note { color: #2e3035; }
.tone-silver .start-card > p, .tone-silver .start-card li { color: #1f2024; }
.tone-silver .start-card .kicker { color: #17286a; }
.tone-silver .start-num { color: rgba(0, 0, 0, .08); }
.tone-silver .btn-primary:focus-visible { box-shadow: 0 0 0 2px var(--silver), 0 0 0 4px var(--blue); }
/* Dawn Ivory: Selected Work — dark tiles sit on paper like a gallery wall */
.ivory .wk-filters button { color: #1c1d21; }
.ivory .wk-filters button:hover, .ivory .wk-filters button[aria-pressed=true] { color: var(--blue); }
.ivory .wk-filters button .wk-n { color: #7a7c82; }
.ivory .wk-meta, .ivory .work-note { color: #6b6d73; }
.ivory .wk-cat { color: var(--blue); }
.ivory .wk-title button:hover { color: var(--blue); }
.ivory .wk-desc { color: #4a4c52; }
.ivory .wk-tile { box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
.ivory .wk-tile:hover, .ivory .wk-tile:focus-visible { box-shadow: 0 22px 50px rgba(0, 0, 0, .2), inset 0 0 0 1px rgba(var(--cyan-rgb), .35); }
@media (max-width: 900px) {
  .ivory .wk-filters { background: rgba(255, 250, 243, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .ivory .wk-filters button { background: var(--ivory); }
  .ivory .wk-filters button[aria-pressed=true] { border-color: var(--blue); background: var(--blue); color: var(--ivory); }
  .ivory .wk-filters button[aria-pressed=true] > span:last-child { color: rgba(255, 250, 243, .75); }
}

@media (max-width: 380px) { .wk-filters { gap: 6px 5px; } .wk-filters button { height: 32px; padding: 0 10px; font-size: 11.5px; letter-spacing: .02em; gap: 6px; } }
