/* Alfred Beshi — alfredbeshi.com
   Static, dependency-free. No external fonts, images or scripts. */

:root {
  --ivory: #f6f1e7;
  --paper: #fbf8f1;
  --ink: #14182b;
  --ink-soft: #3b4056;
  --muted: #62667a;
  --line: rgba(20, 24, 43, .13);
  --cobalt: #1f3fd6;
  --cobalt-deep: #172fa6;
  --persimmon: #e8552d;
  --navy: #0a1030;
  --navy-2: #121a45;
  --on-navy: #e9ecfb;
  --on-navy-muted: #a4abd3;
  --radius: 20px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
::selection { background: var(--cobalt); color: #fff; }
:focus-visible { outline: 3px solid var(--persimmon); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cobalt), var(--persimmon)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1.1;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  will-change: transform;
}
.btn-sm { padding: 11px 18px; font-size: 14.5px; }
.btn-cobalt { background: var(--cobalt); color: #fff; box-shadow: 0 10px 30px -12px rgba(31, 63, 214, .7); }
.btn-cobalt:hover { background: var(--cobalt-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--cobalt); }
.btn-persimmon { background: var(--persimmon); color: #fff; }
.btn-persimmon:hover { background: #cf4520; }
.btn-ghost { border-color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--cobalt); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 100;
  width: min(100% - 28px, 1280px); display: flex; align-items: center; gap: 20px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  background: rgba(251, 248, 241, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line); transition: box-shadow .3s, background .3s;
}
.nav.is-scrolled { box-shadow: 0 14px 40px -22px rgba(20, 24, 43, .45); background: rgba(251, 248, 241, .92); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand-mark {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  background: var(--ink); color: var(--ivory); font-family: var(--serif); font-size: 15px; font-weight: 700; letter-spacing: .02em;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--ink-soft); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.is-active { background: rgba(20, 24, 43, .07); color: var(--ink); }
.nav-links .nav-ext { color: var(--cobalt); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.kbd-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 13.5px; color: var(--muted); }
.kbd-btn:hover { border-color: var(--ink); color: var(--ink); }
kbd { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 6px; background: rgba(20, 24, 43, .07); border: 1px solid var(--line); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 124px 0 36px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(31, 63, 214, .16), transparent 70%),
    radial-gradient(45% 45% at 8% 90%, rgba(232, 85, 45, .15), transparent 70%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-inner { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(251, 248, 241, .7); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--persimmon); box-shadow: 0 0 0 0 rgba(232, 85, 45, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(232, 85, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 85, 45, 0); } }
.hero-title {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(3rem, 7.4vw, 7rem); margin: 24px 0 26px; max-width: 14ch; text-wrap: balance;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .w > span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
.hero-title .w.alt > span { font-style: italic; color: var(--cobalt); }
@keyframes rise { to { transform: none; } }
.hero-lede { font-size: clamp(1.1rem, 1.6vw, 1.4rem); max-width: 60ch; color: var(--ink-soft); }
.hero-rotator { margin-top: 18px; font-family: var(--mono); font-size: 13.5px; color: var(--muted); }
.rot { color: var(--persimmon); font-weight: 600; display: inline-block; transition: opacity .35s, transform .35s var(--ease); }
.rot.out { opacity: 0; transform: translateY(8px); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 36px; }
.hero-foot { position: relative; margin-top: clamp(40px, 8vh, 90px); display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.hero-foot i { flex: 1 1 20px; height: 1px; background: var(--line); min-width: 16px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2.1rem); font-style: italic; white-space: nowrap; }
.marquee b { color: var(--persimmon); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section-tight { padding-top: 0; }
.section-paper { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 900px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 18px; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
h2 em { color: var(--cobalt); }
.section-lede { margin-top: 22px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.015em; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Themes ---------- */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.theme { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px 34px; display: flex; flex-direction: column; gap: 16px; transition: box-shadow .4s, border-color .3s; transform-style: preserve-3d; }
.theme:hover { box-shadow: 0 30px 60px -36px rgba(20, 24, 43, .45); border-color: rgba(20, 24, 43, .3); }
.theme-num { font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--persimmon); }
.theme h3 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; letter-spacing: -.02em; }
.theme p { color: var(--ink-soft); }
.theme ul { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; }
.theme li::before { content: "→"; color: var(--cobalt); margin-right: 10px; }
.theme-accent { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.theme-accent p { color: rgba(255, 255, 255, .86); }
.theme-accent .theme-num { color: #ffd0bf; }
.theme-accent ul { border-color: rgba(255, 255, 255, .25); }
.theme-accent li::before { color: #ffd0bf; }

/* ---------- Slider ---------- */
.slider-ctrl { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; }
.slider-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; font-size: 20px; transition: background .25s, color .25s, transform .25s; }
.slider-ctrl button:hover { background: var(--ink); color: #fff; }
.slider-ctrl button:active { transform: scale(.94); }
.slider { border-radius: 28px; overflow: hidden; background: var(--navy); touch-action: pan-y; }
.slider-track { display: flex; transition: transform .9s var(--ease); }
.slide { position: relative; flex: 0 0 100%; min-height: clamp(460px, 62vw, 680px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.slide-infra { background: linear-gradient(135deg, #0a1030, #1a2a7a); }
.slide-sec { background: linear-gradient(135deg, #1a0f12, #7a2410 130%); }
.slide-ai { background: linear-gradient(135deg, #0f1440, #1f3fd6 140%); }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }
.slide-copy { position: relative; padding: clamp(28px, 5vw, 64px); max-width: 720px; background: linear-gradient(0deg, rgba(5, 8, 26, .8), transparent); width: 100%; max-width: none; }
.slide-copy > * { max-width: 680px; }
.slide-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #ffc9b6; }
.slide-copy h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.025em; margin: 14px 0; }
.slide-copy p { color: rgba(255, 255, 255, .85); font-size: 1.08rem; }
.racks rect { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; }
.racks .leds rect { fill: rgba(140, 165, 255, .22); stroke: none; animation: led 3.2s ease-in-out infinite; }
.racks .leds rect:nth-child(3n) { animation-delay: .7s; fill: rgba(232, 85, 45, .55); }
.racks .leds rect:nth-child(4n+1) { animation-delay: 1.4s; }
@keyframes led { 50% { opacity: .25; } }
.flow { stroke: rgba(255, 255, 255, .5); stroke-width: 2; fill: none; stroke-dasharray: 6 10; animation: dash 2.5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -64; } }
.rings circle { fill: none; stroke: rgba(255, 255, 255, .26); stroke-width: 1.5; }
.rings .core { fill: rgba(232, 85, 45, .28); stroke: #ff9c7d; }
.rings .orbit circle { fill: #ffb9a3; stroke: none; }
.orbit { animation: spin 16s linear infinite; }
.o2 { animation-duration: 11s; animation-direction: reverse; } .o3 { animation-duration: 7s; }
@keyframes spin { to { transform: rotate(360deg); } }
.shield { fill: rgba(255, 255, 255, .12); stroke: #fff; stroke-width: 2; }
.check { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.net-lines path { stroke: rgba(255, 255, 255, .3); stroke-width: 1.3; fill: none; stroke-dasharray: 4 8; animation: dash 3s linear infinite; }
.net-nodes circle { fill: #0f1440; stroke: #fff; stroke-width: 2; animation: node 2.6s ease-in-out infinite; }
.net-nodes circle:nth-child(2n) { animation-delay: .5s; } .net-nodes circle:nth-child(3n) { animation-delay: 1s; }
.net-nodes .out { fill: var(--persimmon); stroke: #ffd0bf; }
@keyframes node { 50% { fill: #5d79ff; } }
.net-nodes .out { animation: none; }
.slider-tabs { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.slider-tabs button { flex: 1 1 160px; text-align: left; background: transparent; border: 0; border-top: 2px solid var(--line); padding: 14px 2px; font-weight: 600; color: var(--muted); transition: color .25s, border-color .25s; }
.slider-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--persimmon); }

/* ---------- Capabilities ---------- */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap { position: relative; padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: background .3s; }
.cap svg { width: 34px; height: 34px; fill: none; stroke: var(--cobalt); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 44px; transition: transform .5s var(--ease), stroke .3s; }
.cap h3 { margin-bottom: 10px; }
.cap p { color: var(--ink-soft); font-size: 15.5px; }
.cap:hover { background: var(--paper); }
.cap:hover svg { transform: translateY(-6px) scale(1.08); stroke: var(--persimmon); }
.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(31, 63, 214, .12), transparent 70%); }
.spot:hover::after { opacity: 1; }

/* ---------- Cases ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 18px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: all .25s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .45s var(--ease), box-shadow .45s, opacity .35s; }
.case:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(20, 24, 43, .5); }
.case.is-hidden { display: none; }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.case-no { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }
.badge { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; }
.badge-persimmon { background: var(--persimmon); border-color: var(--persimmon); color: #fff; }
.case h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.12; }
.case p { color: var(--ink-soft); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.tags li { font-size: 12.5px; padding: 5px 10px; border-radius: 8px; background: rgba(31, 63, 214, .08); color: var(--cobalt-deep); font-weight: 600; }
.case-feature { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.case-feature p { color: var(--on-navy-muted); } .case-feature .case-no { color: var(--on-navy-muted); }
.case-feature .tags li { background: rgba(255, 255, 255, .1); color: #fff; }
.empty { color: var(--muted); padding: 30px 0; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; transition: box-shadow .4s, border-color .3s; }
.product:hover { box-shadow: 0 30px 60px -36px rgba(20, 24, 43, .45); border-color: rgba(20, 24, 43, .3); }
.product h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; letter-spacing: -.02em; }
.product p { color: var(--ink-soft); font-size: 15.5px; }
.stage { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px dashed var(--ink-soft); color: var(--ink-soft); }
.stage-project { border: 0; background: var(--cobalt); color: #fff; }
.product-art { width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; margin-bottom: 8px; position: relative; overflow: hidden; background: var(--ivory); border: 1px solid var(--line); }
.product-art i { position: absolute; display: block; }
.art-scan i { left: 22%; right: 22%; height: 18%; border-radius: 6px; background: #fff; border: 1.5px solid var(--ink); }
.art-scan i:nth-child(1) { top: 18%; } .art-scan i:nth-child(2) { top: 41%; background: var(--cobalt); border-color: var(--cobalt); } .art-scan i:nth-child(3) { top: 64%; }
.art-scan::after { content: ""; position: absolute; left: 12%; right: 12%; height: 2px; background: var(--persimmon); box-shadow: 0 0 14px 2px rgba(232, 85, 45, .6); top: 12%; animation: scan 3.4s ease-in-out infinite; }
@keyframes scan { 50% { top: 88%; } }
.art-secure { background: var(--navy); }
.art-secure i:nth-child(1) { inset: 22% 36%; border: 2px solid #fff; border-radius: 10px; top: 42%; background: rgba(255, 255, 255, .08); }
.art-secure i:nth-child(2) { left: 41%; right: 41%; top: 20%; height: 30%; border: 2px solid #fff; border-bottom: 0; border-radius: 40px 40px 0 0; }
.art-secure::after { content: ""; position: absolute; left: 50%; top: 60%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--persimmon); animation: pulse 2.2s infinite; }
.art-park { background: #e9edfb; }
.art-park i { top: 18%; bottom: 18%; width: 16%; border: 2px solid var(--cobalt); border-bottom: 0; border-radius: 6px 6px 0 0; }
.art-park i:nth-child(1) { left: 8%; } .art-park i:nth-child(2) { left: 31%; background: var(--cobalt); animation: led 4s infinite; } .art-park i:nth-child(3) { left: 54%; } .art-park i:nth-child(4) { left: 77%; background: var(--persimmon); border-color: var(--persimmon); }
.art-qr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7%; padding: 12% 26%; }
.art-qr i { position: static; background: var(--ink); border-radius: 4px; animation: led 3s infinite; }
.art-qr i:nth-child(2n) { background: transparent; border: 2px solid var(--ink); animation-delay: .8s; }
.art-qr i:nth-child(5) { background: var(--persimmon); border: 0; }

/* ---------- AI Lab ---------- */
.lab { background: var(--navy); color: var(--on-navy); overflow: hidden; }
.lab-glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(31, 63, 214, .55), transparent 62%); filter: blur(20px); animation: drift 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { to { transform: translate(-12%, 14%) scale(1.15); } }
.lab .wrap { position: relative; }
.lab .kicker { color: #ffb9a3; }
.lab h2 em { color: #8ea3ff; }
.lab .section-lede { color: var(--on-navy-muted); }
.disclosure { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; background: rgba(255, 255, 255, .05); font-size: 14.5px; color: var(--on-navy); max-width: 70ch; }
.disclosure svg { flex: none; margin-top: 3px; color: #ffb9a3; }
.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.panel { background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px; padding: 24px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.panel-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.panel-head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.panel-meta { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--on-navy-muted); }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--persimmon); animation: pulse 2.2s infinite; }
.dot-cobalt { background: #7d93ff; }
.chat { height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: 15.5px; animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.msg.bot { background: rgba(255, 255, 255, .1); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--cobalt); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: #ffc9b6; }
.msg .src { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; color: var(--on-navy-muted); }
.typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .4; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; transform: translateY(-3px); } }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.suggest button { background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: var(--on-navy); border-radius: 999px; padding: 7px 13px; font-size: 13.5px; transition: background .2s, border-color .2s; }
.suggest button:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.chat-form { display: flex; gap: 10px; }
.chat-form input { flex: 1; min-width: 0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 12px 18px; color: #fff; }
.chat-form input::placeholder { color: var(--on-navy-muted); }
.brief-form { display: grid; gap: 18px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-muted); margin-bottom: 10px; padding: 0; }
legend small { text-transform: none; letter-spacing: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: var(--on-navy); border-radius: 10px; padding: 8px 13px; font-size: 14px; transition: all .2s; }
.opt:hover { border-color: #fff; }
.opt.is-on { background: #fff; color: var(--navy); border-color: #fff; font-weight: 600; }
.brief-form .btn { justify-self: start; }
.brief-out { margin-top: 20px; padding: 20px; border-radius: 16px; background: rgba(5, 8, 26, .55); border: 1px solid rgba(255, 255, 255, .14); }
.brief-out h4 { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.brief-out .brief-sub { font-family: var(--mono); font-size: 11.5px; color: var(--on-navy-muted); margin-bottom: 14px; }
.brief-out h5 { margin: 16px 0 6px; font-size: 12px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #ffb9a3; font-weight: 500; }
.brief-out li { position: relative; padding-left: 18px; font-size: 15px; margin-bottom: 6px; opacity: 0; animation: pop .5s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 60ms); }
.brief-out li::before { content: "—"; position: absolute; left: 0; color: #7d93ff; }
.brief-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- Approach ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { padding: 28px 26px 10px 0; border-right: 1px solid var(--line); padding-left: 26px; }
.steps li:first-child { padding-left: 0; } .steps li:last-child { border-right: 0; }
.steps span { font-family: var(--mono); font-size: 13px; color: var(--persimmon); }
.steps h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin: 40px 0 10px; letter-spacing: -.02em; }
.steps p { color: var(--ink-soft); font-size: 15.5px; }
.audience { margin-top: 60px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 22px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.audience p { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.audience ul { display: flex; flex-wrap: wrap; gap: 10px; }
.audience li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact .btn { margin-top: 30px; }
.privacy-note { margin-top: 26px; font-size: 14px; color: var(--muted); }
.contact-form { background: var(--ivory); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.contact-form h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; }
.form-note { font-size: 14px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(31, 63, 214, .14); }
.contact-form .btn { margin-top: 4px; justify-self: start; }
.form-error { color: #b3261e; font-size: 14.5px; font-weight: 600; }
.prepared { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 12px; justify-items: start; }
.prepared pre { margin: 0; width: 100%; white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; max-height: 220px; overflow: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-navy); padding: 64px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer .brand-mark { background: var(--ivory); color: var(--ink); margin-bottom: 14px; }
.footer-name { font-family: var(--serif); font-size: 2rem; letter-spacing: -.02em; }
.footer-tag { color: var(--on-navy-muted); font-size: 14.5px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: start; max-width: 460px; }
.footer nav a, .footer-base a { text-decoration: none; color: var(--on-navy); font-size: 15px; }
.footer nav a:hover, .footer-base a:hover { color: #ffb9a3; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13.5px; color: var(--on-navy-muted); }

/* ---------- Palette ---------- */
.palette { position: fixed; inset: 0; z-index: 300; background: rgba(10, 16, 48, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: start center; padding: 14vh 16px 0; animation: fade .2s; }
.palette[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.palette-box { width: min(560px, 100%); background: var(--paper); border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(10, 16, 48, .7); overflow: hidden; animation: pop .3s var(--ease); }
.palette-box input { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 20px 22px; font-size: 18px; background: transparent; outline: 0; }
.palette-box ul { max-height: 320px; overflow: auto; padding: 8px; }
.palette-box li { padding: 12px 14px; border-radius: 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.palette-box li small { color: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.palette-box li.is-sel { background: var(--ink); color: #fff; } .palette-box li.is-sel small { color: #c9cde0; }
.palette-hint { padding: 10px 18px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .kbd-btn span, .kbd-btn kbd { display: none; } .kbd-btn { padding: 10px; }
  .nav-links a { padding: 8px 9px; font-size: 14px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .caps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .nav { border-radius: 26px; flex-wrap: wrap; }
  .nav-actions { margin-left: auto; }
  .nav-links { order: 3; flex: 1 0 100%; flex-direction: column; margin: 0; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
  .nav-links.open { max-height: 440px; padding: 8px 0 6px; }
  .nav-links a { font-size: 17px; padding: 12px 10px; }
  .themes, .cases { grid-template-columns: 1fr 1fr; }
  .lab-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 26px; }
  .steps h3 { margin-top: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .nav .btn-sm { display: none; }
  .hero { padding-top: 120px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .05em; border-radius: 14px; }
  .themes, .cases, .products, .caps, .steps, .field-row { grid-template-columns: 1fr; }
  .slide { min-height: 540px; }
  .slider-ctrl button { width: 46px; height: 46px; }
  .panel { padding: 18px; } .panel-meta { margin-left: 0; flex-basis: 100%; }
  .chat { height: 280px; }
  .hero-foot i { display: none; } .hero-foot { gap: 8px 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero-title .w > span { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .brief-out li { opacity: 1; }
  .marquee-track { transform: none; }
  .hero-canvas { display: none; }
}

@media print {
  .nav, .progress, .hero-canvas, .marquee, .lab, .palette, .slider-ctrl, .slider-tabs, .filters { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero { min-height: 0; padding: 20px 0; }
}

/* =====================================================================
   v2 — hero slider, parallax bands, capability explorer, product rows
   ===================================================================== */
.section-xl { padding: clamp(100px, 13vw, 200px) 0; }
.h-xl { font-size: clamp(2.5rem, 6.2vw, 5.6rem); }
[data-parallax] { will-change: transform; }

/* ---------- Hero slider ---------- */
.hero { position: relative; min-height: 100svh; height: 100svh; max-height: 1100px; display: block; padding: 0; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before { display: none; }
.hslides, .hslide { position: absolute; inset: 0; }
.hslide { opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 0s 1.2s; display: flex; align-items: center; }
.hslide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease); z-index: 1; }
.hslide-bg { position: absolute; inset: -14% 0; background-size: cover; background-position: center; }
.hslide.is-active .hslide-bg { animation: kenburns 12s ease-out both; }
@keyframes kenburns { from { scale: 1.12; } to { scale: 1; } }
.hslide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 9, 30, .82) 0%, rgba(6, 9, 30, .45) 48%, rgba(6, 9, 30, .05) 100%), linear-gradient(0deg, rgba(6, 9, 30, .75), transparent 34%); }
.hslide-copy { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 110px; }
.hslide-copy > * { opacity: 0; transform: translateY(34px); }
.hslide.is-active .hslide-copy > * { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hslide.is-active .hslide-copy > :nth-child(1) { transition-delay: .25s; }
.hslide.is-active .hslide-copy > :nth-child(2) { transition-delay: .38s; }
.hslide.is-active .hslide-copy > :nth-child(3) { transition-delay: .52s; }
.hslide.is-active .hslide-copy > :nth-child(4) { transition-delay: .66s; }
.hero .eyebrow { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #e9ecfb; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .hero-title { font-size: clamp(2.7rem, 6.6vw, 6.6rem); max-width: 15ch; margin: 24px 0 24px; color: #fff; }
.hero .hero-title em { color: #9db0ff; }
.hero .hero-lede { color: rgba(255, 255, 255, .86); max-width: 56ch; }
.hero .hero-cta { margin-top: 32px; }
.hero-canvas { z-index: 2; pointer-events: none; opacity: .7; }
.hero-ui { position: absolute; left: 50%; transform: translateX(-50%); bottom: 26px; z-index: 3; display: flex; align-items: flex-end; gap: 24px; }
.htabs { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.htabs button { position: relative; text-align: left; background: none; border: 0; color: rgba(255, 255, 255, .6); padding: 14px 0 0; font-weight: 600; font-size: 14.5px; transition: color .3s; }
.htabs button span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; margin-bottom: 3px; color: #ffb9a3; }
.htabs button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255, 255, 255, .25); }
.htabs button i { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--persimmon); }
.htabs button[aria-selected="true"] { color: #fff; }
.htabs button[aria-selected="true"] i { width: 100%; }
.hero.is-playing .htabs button[aria-selected="true"] i { animation: hprog var(--hdur, 7s) linear forwards; }
.hero.is-held .htabs button[aria-selected="true"] i { animation-play-state: paused; }
@keyframes hprog { from { width: 0; } to { width: 100%; } }
.hctrl { display: flex; gap: 8px; }
.hctrl button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); color: #fff; font-size: 16px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s, color .25s; }
.hctrl button:hover { background: #fff; color: var(--navy); }
#hPause { font-size: 11px; letter-spacing: 1px; }

/* ---------- Parallax bands ---------- */
.band { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--navy); color: #fff; padding: 110px 0; }
.band-bg { position: absolute; inset: -22% 0; background-size: cover; background-position: center; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(6, 9, 30, .42); }
.band-inner { position: relative; z-index: 1; }
.band .kicker { color: #ffb9a3; }
.band-quote { font-family: var(--serif); font-size: clamp(2.1rem, 5.4vw, 5rem); line-height: 1.06; letter-spacing: -.03em; max-width: 20ch; text-wrap: balance; }
.band-quote em { color: #a9b9ff; }
.band-warm .band-quote em { color: #ffc2ad; }
.band-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.band-pills li { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .07); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-weight: 600; font-size: 14.5px; }
.band .btn { margin-top: 36px; }

/* ---------- Capability explorer ---------- */
.capx { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.capx-tabs { display: grid; gap: 4px; position: sticky; top: 100px; }
.capx-tabs button { display: flex; align-items: baseline; gap: 14px; text-align: left; background: none; border: 0; border-left: 2px solid var(--line); padding: 14px 18px; font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.01em; color: var(--muted); transition: color .25s, border-color .25s, padding .35s var(--ease), background .25s; border-radius: 0 12px 12px 0; }
.capx-tabs button span { font-family: var(--mono); font-size: 11px; color: var(--persimmon); }
.capx-tabs button:hover { color: var(--ink); padding-left: 24px; }
.capx-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--cobalt); background: var(--paper); padding-left: 24px; }
.capx-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 52px); }
.capx-panel.is-on { animation: panel .6s var(--ease); }
@keyframes panel { from { opacity: 0; transform: translateY(18px); } }
.capx-panel h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.8rem); letter-spacing: -.025em; line-height: 1.08; }
.capx-lede { color: var(--ink-soft); font-size: 1.1rem; margin: 14px 0 30px; max-width: 58ch; }
.capx-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.capx-list li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 3px; }
.capx-panel.is-on .capx-list li { animation: pop .5s var(--ease) both; }
.capx-panel.is-on .capx-list li:nth-child(n+3) { animation-delay: .06s; } .capx-panel.is-on .capx-list li:nth-child(n+5) { animation-delay: .12s; } .capx-panel.is-on .capx-list li:nth-child(n+7) { animation-delay: .18s; } .capx-panel.is-on .capx-list li:nth-child(n+9) { animation-delay: .24s; }
.capx-list b { font-size: 1.02rem; }
.capx-list b::before { content: "↗"; color: var(--cobalt); margin-right: 8px; font-weight: 400; }
.capx-list span { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Cases additions ---------- */
.case-wide { grid-column: span 2; }
.case-wide h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.case-wide p { font-size: 1.05rem; max-width: 62ch; }

/* ---------- Product rows ---------- */
.prods { display: grid; gap: 28px; }
.prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 32px; padding: clamp(18px, 2.4vw, 32px); transition: box-shadow .5s, border-color .3s; }
.prod:hover { box-shadow: 0 40px 80px -50px rgba(20, 24, 43, .55); border-color: rgba(20, 24, 43, .28); }
.prod-flip .prod-art { order: 2; }
.prod-art { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 3; background: var(--ivory); border: 1px solid var(--line); }
.prod-art i { position: absolute; display: block; }
.prod-body { padding: 10px clamp(0px, 1.5vw, 20px) 10px 0; }
.prod-flip .prod-body { padding: 10px 0 10px clamp(0px, 1.5vw, 20px); }
.prod-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.prod-no { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }
.stage-live { border: 0; background: #0f7a4d; color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.stage-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7dffbf; animation: pulse-g 2s infinite; }
@keyframes pulse-g { 70% { box-shadow: 0 0 0 8px rgba(125, 255, 191, 0); } 0% { box-shadow: 0 0 0 0 rgba(125, 255, 191, .7); } }
.prod h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -.03em; line-height: 1.02; }
.prod-tag { color: var(--cobalt); font-weight: 600; margin: 10px 0 14px; }
.prod-body > p:not(.prod-tag) { color: var(--ink-soft); font-size: 1.05rem; max-width: 56ch; }
.prod dl { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.prod dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--persimmon); margin-bottom: 4px; }
.prod dd { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.art-condo { background: linear-gradient(180deg, #dfe6ff, #f6f1e7); }
.art-condo i { bottom: 0; background: var(--navy); border-radius: 6px 6px 0 0; background-image: repeating-linear-gradient(0deg, transparent 0 10px, rgba(255, 210, 150, .75) 10px 14px), repeating-linear-gradient(90deg, transparent 0 8px, var(--navy) 8px 14px); background-blend-mode: normal; }
.art-condo i:nth-child(1) { left: 8%; width: 13%; height: 46%; } .art-condo i:nth-child(2) { left: 24%; width: 15%; height: 72%; background-color: var(--cobalt); } .art-condo i:nth-child(3) { left: 42%; width: 12%; height: 56%; }
.art-condo i:nth-child(4) { left: 57%; width: 16%; height: 84%; } .art-condo i:nth-child(5) { left: 76%; width: 11%; height: 40%; background-color: var(--cobalt); } .art-condo i:nth-child(6) { left: 0; right: 0; height: 3%; width: auto; background: var(--persimmon); border-radius: 0; }
.art-sync { background: var(--navy-2); }
.art-sync i:nth-child(1), .art-sync i:nth-child(2) { top: 50%; left: 50%; width: 46%; aspect-ratio: 1; margin: -23% 0 0 -23%; border-radius: 50%; border: 3px solid transparent; border-top-color: #fff; border-right-color: #fff; animation: spin 5s linear infinite; }
.art-sync i:nth-child(2) { width: 30%; margin: -15% 0 0 -15%; border-top-color: var(--persimmon); border-right-color: transparent; border-left-color: var(--persimmon); animation-duration: 3.2s; animation-direction: reverse; }
.art-sync i:nth-child(3) { top: 50%; left: 50%; width: 10%; aspect-ratio: 1; margin: -5% 0 0 -5%; border-radius: 50%; background: #9db0ff; animation: pulse 2.2s infinite; }
.art-desk { background: #eef1fb; }
.art-desk i { left: 12%; right: 12%; height: 15%; border-radius: 10px; background: #fff; border: 1.5px solid var(--line); box-shadow: 0 6px 14px -10px rgba(20, 24, 43, .5); }
.art-desk i::before { content: ""; position: absolute; left: 5%; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--cobalt); }
.art-desk i::after { content: ""; position: absolute; left: 14%; right: 30%; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: rgba(20, 24, 43, .16); }
.art-desk i:nth-child(1) { top: 12%; } .art-desk i:nth-child(2) { top: 32%; animation: nudge 4s var(--ease) infinite; } .art-desk i:nth-child(3) { top: 52%; } .art-desk i:nth-child(4) { top: 72%; }
.art-desk i:nth-child(2)::before { background: var(--persimmon); } .art-desk i:nth-child(4)::before { background: #0f7a4d; }
@keyframes nudge { 50% { transform: translateX(4%); } }
.art-aware { background: linear-gradient(135deg, #1a0f12, #6b2110); }
.art-aware i:nth-child(1) { left: 20%; right: 20%; top: 26%; bottom: 26%; border-radius: 12px; background: #fff; }
.art-aware i:nth-child(2) { left: 20%; right: 20%; top: 26%; height: 30%; background: linear-gradient(to bottom right, transparent 49.5%, var(--ink) 50%, transparent 51.5%), linear-gradient(to bottom left, transparent 49.5%, var(--ink) 50%, transparent 51.5%); }
.art-aware i:nth-child(3) { right: 15%; top: 18%; width: 15%; aspect-ratio: 1; border-radius: 50%; background: var(--persimmon); border: 3px solid #fff; animation: pulse 2.2s infinite; }
.prod .art-scan i, .prod .art-secure i, .prod .art-park i { position: absolute; }

/* ---------- AI matcher ---------- */
.matcher { margin-bottom: 22px; position: relative; }
.matcher::before { content: ""; position: absolute; inset: -1px; border-radius: 25px; padding: 1px; background: conic-gradient(from var(--ang, 0deg), #7d93ff, var(--persimmon), #b58cff, #7d93ff); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ang 6s linear infinite; pointer-events: none; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes ang { to { --ang: 360deg; } }
.matcher-form { display: flex; gap: 12px; align-items: stretch; }
.matcher-form textarea { flex: 1; min-height: 76px; resize: vertical; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; padding: 14px 18px; color: #fff; }
.matcher-form textarea::placeholder { color: var(--on-navy-muted); }
.matcher-ex { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.matcher-ex button { background: transparent; border: 1px dashed rgba(255, 255, 255, .3); color: var(--on-navy); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.matcher-ex button:hover { border-style: solid; border-color: #fff; }
.matcher-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.match { background: rgba(5, 8, 26, .55); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 18px; display: grid; gap: 10px; align-content: start; animation: pop .5s var(--ease) both; }
.match:nth-child(2) { animation-delay: .1s; } .match:nth-child(3) { animation-delay: .2s; }
.match h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.match p { font-size: 14px; color: var(--on-navy-muted); }
.match .bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.match .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7d93ff, var(--persimmon)); border-radius: 3px; transition: width 1s var(--ease) .2s; }
.match small { font-family: var(--mono); font-size: 11px; color: #ffb9a3; }
.match a { color: #fff; font-weight: 600; font-size: 14px; }
.matcher-none { margin-top: 18px; color: var(--on-navy-muted); font-size: 15px; }

/* floating AI button */
.ai-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; box-shadow: 0 16px 40px -14px rgba(10, 16, 48, .8); transform: translateY(90px); opacity: 0; transition: transform .5s var(--ease), opacity .4s, background .25s; }
.ai-fab.show { transform: none; opacity: 1; }
.ai-fab:hover { background: var(--cobalt); }
.ai-fab i { width: 9px; height: 9px; border-radius: 50%; background: var(--persimmon); animation: pulse 2.2s infinite; }

@media (max-width: 980px) {
  .capx { grid-template-columns: 1fr; }
  .capx-tabs { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .capx-tabs button { flex: none; border: 1.5px solid var(--line); border-radius: 999px; font-family: var(--sans); font-size: 14.5px; font-weight: 600; padding: 10px 16px; }
  .capx-tabs button:hover, .capx-tabs button[aria-selected="true"] { padding-left: 16px; }
  .capx-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
  .capx-tabs button span { display: none; }
  .prod { grid-template-columns: 1fr; }
  .prod-flip .prod-art { order: 0; }
  .prod-art { aspect-ratio: 16 / 9; }
  .prod-body, .prod-flip .prod-body { padding: 4px 6px 10px; }
  .matcher-out { grid-template-columns: 1fr; }
  .htabs button { font-size: 0; } .htabs button span { font-size: 11px; }
}
@media (max-width: 640px) {
  .hero { max-height: none; }
  .hero .hero-title { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .hslide-copy { padding-top: 96px; padding-bottom: 120px; }
  .hslide::after { background: linear-gradient(0deg, rgba(6, 9, 30, .88), rgba(6, 9, 30, .55)); }
  .hero-ui { flex-direction: column; align-items: stretch; gap: 12px; bottom: 16px; }
  .hctrl { justify-content: flex-end; }
  .capx-list, .prod dl { grid-template-columns: 1fr; }
  .case-wide { grid-column: auto; }
  .matcher-form { flex-direction: column; }
  .band { min-height: 70vh; }
  .ai-fab span { display: none; } .ai-fab { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .hslide-copy > * { opacity: 1; transform: none; }
  .hslide-bg, .band-bg { inset: 0; transform: none !important; }
  .hero-canvas { display: none; }
}
@media print { .ai-fab, .hero-ui { display: none !important; } .hero { height: auto; min-height: 0; } }

/* ---------- All-in-one solution ---------- */
.aio { margin-top: clamp(40px, 6vw, 90px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; background: var(--navy); color: var(--on-navy); border-radius: 36px; padding: clamp(26px, 5vw, 72px); position: relative; overflow: hidden; }
.aio::before { content: ""; position: absolute; right: -20%; top: -40%; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(31, 63, 214, .6), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.aio > * { position: relative; }
.aio h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.02; letter-spacing: -.03em; margin: 18px 0 8px; }
.aio-sub { color: #ffb9a3; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.aio-copy > p:not(.aio-sub) { color: var(--on-navy-muted); font-size: 1.1rem; max-width: 46ch; }
.aio .btn { margin-top: 28px; }
.aio-stack { display: grid; gap: 8px; }
.aio-stack li { display: grid; grid-template-columns: 34px 150px 1fr; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .4s var(--ease), background .3s; }
.aio-stack li:hover { transform: translateX(-8px); background: rgba(255, 255, 255, .12); }
.aio-stack span { font-family: var(--mono); font-size: 11px; color: #ffb9a3; }
.aio-stack b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.aio-stack i { font-style: normal; font-size: 14px; color: var(--on-navy-muted); }
.contact-links { display: grid; gap: 10px; margin-top: 28px; max-width: 420px; }
.contact-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; transition: color .2s, padding .3s var(--ease); }
.contact-links a:hover { color: var(--cobalt); padding-left: 8px; }
.contact-links span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
@media (max-width: 980px) { .aio { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .aio-stack li { grid-template-columns: 28px 1fr; } .aio-stack i { grid-column: 2; } .hero .hero-cta .btn { padding: 13px 18px; font-size: 14.5px; } }
.prod-art.art-qr i { position: static; }
.prod-art.art-secure { background: var(--navy); }
.prod-art.art-park { background: #e9edfb; }
.prod-art.art-scan { background: var(--ivory); }

/* ---------- About / portrait ---------- */
.about { padding: clamp(80px, 10vw, 150px) 0 0; }
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.portrait { margin: 0; position: relative; justify-self: center; }
.portrait-frame { position: relative; width: 260px; aspect-ratio: 1; border-radius: 34px; padding: 6px; background: conic-gradient(from var(--ang, 0deg), var(--cobalt), var(--persimmon), #b58cff, var(--cobalt)); animation: ang 8s linear infinite; box-shadow: 0 40px 70px -40px rgba(20, 24, 43, .7); transform: rotate(-3deg); transition: transform .6s var(--ease); }
.portrait:hover .portrait-frame { transform: rotate(0) scale(1.02); }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.portrait figcaption { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); white-space: nowrap; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 13.5px; display: flex; gap: 10px; align-items: baseline; box-shadow: 0 14px 30px -14px rgba(20, 24, 43, .8); }
.portrait figcaption span { color: #b9bfdc; font-size: 12px; }
.about-title { font-size: clamp(1.9rem, 3.8vw, 3.3rem); }
.about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 56px; } .portrait-frame { width: 220px; } }
@media (max-width: 640px) { .portrait figcaption span { display: none; } }
