@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
/* Metric-matched fallback so the swap to Inter does not move the layout. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica");
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
:root {
  --night: #060a12;
  --ink: #0b1220;
  --paper: #f3f6f8;
  --cyan: #39ddf2;
  --blue: #244de8;
  --slate: #47596d;
  --line: #d4dce3;
  --gutter: clamp(1.28rem, 5.4vw, 5.8rem);
  --header: 4.75rem;
  --section: clamp(4.3rem, 7.4vw, 8.2rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; color: var(--ink); background: white; font: 400 1rem/1.52 Inter, "Inter Fallback", Arial, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, dl, dt, dd { margin: 0; }
h1, h2, h3, h4 { font-optical-sizing: auto; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, textarea, select { font: inherit; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
button { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .contact-section :focus-visible, footer :focus-visible { outline-color: var(--cyan); }
[hidden] { display: none !important; }
.shell { width: min(100%, 1560px); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only, .icon-defs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 1.2rem; height: 1.2rem; display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 100; left: .8rem; top: .65rem; padding: .6rem 1rem; background: white; color: var(--ink); border-radius: .4rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { position: sticky; z-index: 20; top: 0; color: white; background: #070b13f5; border-bottom: 1px solid #ffffff1c; }
@supports (backdrop-filter: blur(18px)) { .site-header { background: #070b13f5; backdrop-filter: blur(18px); } }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; }
.header-inner { min-height: var(--header); }
.brand { display: inline-flex; flex: none; }
.brand img { width: 11.65rem; }
#navigation { display: flex; gap: clamp(1.3rem, 2.7vw, 3rem); align-items: center; }
#navigation a { padding-block: .5rem; text-decoration: none; font-size: .9rem; color: #c9d3dd; font-weight: 515; }
#navigation a:hover, #navigation a:focus-visible { color: white; }
#navigation .header-action { color: var(--ink); background: #f4f7f9; padding: .64rem 1.22rem; border-radius: 99px; font-weight: 610; }
#navigation .header-action:hover { background: var(--cyan); color: var(--ink); }
.menu-button { display: none; background: transparent; border: 1px solid #526171; border-radius: 99px; align-items: center; gap: .5rem; padding: .48rem .82rem; color: white; font-size: .88rem; min-height: 2.7rem; }
.menu-glyph { width: 15px; height: 12px; position: relative; }
.menu-glyph::before, .menu-glyph::after { content: ""; height: 1.5px; width: 100%; background: currentColor; position: absolute; left: 0; transition: transform .2s; }
.menu-glyph::before { top: 3px; }
.menu-glyph::after { top: 8px; }
.menu-button[aria-expanded="true"] .menu-glyph::before { transform: translateY(2.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-glyph::after { transform: translateY(-2.5px) rotate(-45deg); }
.hero { isolation: isolate; position: relative; overflow: hidden; background: radial-gradient(ellipse at 64% 91%,#0b1825 0%,#060b13 39%,#060a12 76%); color: white; }
.hero-shell { position: relative; z-index: 2; min-height: clamp(36rem, calc(100svh - var(--header)), 58rem); display: flex; align-items: center; pointer-events: none; }
.hero-copy { width: 54%; padding-block: clamp(4.5rem, 7.2vw, 7.5rem); pointer-events: auto; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.2rem; font-size: .79rem; font-weight: 640; line-height: 1.32; text-transform: uppercase; letter-spacing: .116em; }
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; flex: none; }
.light-rule { color: #87eaf5; }
.ink-rule { color: #2c4dbe; }
.hero .eyebrow { margin-bottom: 1.8rem; }
.hero h1 { font-size: clamp(4.3rem, 7.05vw, 7.3rem); line-height: .995; letter-spacing: -.073em; font-weight: 510; }
.hero h1 .grad { color: #6ee9f7; }
@supports (background-clip: text) {
  .hero h1 .grad { background: linear-gradient(103deg, #a3f3f8 4%, #5ce5f4 30%, #71b5ff 50%, #5ce5f4 70%, #a3f3f8 96%); background-size: 200% 100%; color: transparent; -webkit-background-clip: text; background-clip: text; }
}
.lead { max-width: 32.3rem; font-size: clamp(1.09rem, 1.43vw, 1.38rem); line-height: 1.53; letter-spacing: -.018em; color: #bdcad7; margin: 1.75rem 0 2rem; }
.hero-art { position: absolute; z-index: 1; inset: .4% -4% 0 41%; overflow: hidden; pointer-events: none; mix-blend-mode: lighten; }
.hero-art picture, .hero-art img, .art-tilt, .art-float, .art-enter { width: 100%; height: 100%; display: block; }
.hero-art img { object-fit: cover; object-position: center 51%; }
.hero-art::after { content: ""; position: absolute; z-index: 3; inset: -1px; background: linear-gradient(90deg,var(--night),transparent 16%,transparent 95%,#060a1240),linear-gradient(0deg,var(--night) 0%,transparent 11%,transparent 90%,var(--night)); }
.hero-actions, .draft-actions, .workflow-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.35rem; }
.button { min-height: 3rem; padding: .78rem 1.35rem; display: inline-flex; justify-content: center; align-items: center; border-radius: 99px; border: 1px solid transparent; text-decoration: none; text-align: center; letter-spacing: -.014em; font-size: .965rem; font-weight: 610; line-height: 1.26; transition: background-color .2s,color .2s,transform .2s,box-shadow .2s; }
.button:active { transform: translateY(1px); }
.button-light { background: #f6f8fa; color: var(--ink); }
.button-light:hover { background: #c2f6fa; }
.button-cyan { background: var(--cyan); color: var(--ink); }
.button-cyan:hover { background: #88eff7; }
.button-dark { color: white; background: #101b2a; }
.button-dark:hover { background: #233d55; }
.demo-link { display: inline-flex; align-items: center; gap: .65rem; min-height: 3rem; color: #e5f3fa; text-decoration: none; font-size: .95rem; font-weight: 540; }
.play-disc { width: 1.75rem; height: 1.75rem; border: 1px solid #667d93; border-radius: 50%; display: grid; place-items: center; }
.play-disc .icon { width: .98rem; height: .98rem; }
.demo-link:hover .play-disc { color: var(--cyan); border-color: var(--cyan); }
h2 { font-size: clamp(2.9rem,5.0vw,5.45rem); line-height: 1.02; font-weight: 510; letter-spacing: -.063em; }
.cap-section, .approach-section { padding-block: var(--section); }
.cap-section { background: #f6f8fa; border-top: 1px solid #dce3e8; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.2rem; }
.head-note { max-width: 20rem; margin: 0 0 .3rem; color: var(--slate); font-size: 1rem; line-height: 1.5; }
.cap-controls { display: inline-flex; max-width: 100%; padding: .32rem; gap: .18rem; border: 1px solid #d5dee6; border-radius: 99px; background: #e9eef2; margin-bottom: 1.2rem; }
.cap-controls a { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .52rem; border-radius: 99px; padding: .6rem clamp(.8rem,1.35vw,1.45rem); min-height: 2.6rem; text-decoration: none; font-weight: 550; font-size: .94rem; color: #405065; transition: background-color .18s,color .18s,box-shadow .18s; }
.cap-controls a:hover { color: var(--ink); background: #ffffffa3; }
.cap-controls a[aria-selected="true"] { background: var(--ink); color: white; box-shadow: 0 3px 6px #0c142519; }
.cap-controls a[aria-selected="true"] .icon { color: #84eafa; }
.cap-controls .icon { width: 1.1rem; height: 1.1rem; }
.cap-panel { display: grid; grid-template-columns: .89fr 1.11fr; gap: clamp(2rem,4.8vw,5rem); align-items: center; min-height: 27rem; padding: clamp(2rem,4.2vw,4.5rem); border: 1px solid #d7e0e8; border-radius: 1.8rem; background: radial-gradient(ellipse at 95% 99%, #d8e6f3 0%, #e8f0f6 45%, #f4f7fa 81%); }
.cap-panel + .cap-panel { margin-top: 1rem; }
.enhanced .cap-panel + .cap-panel { margin-top: 0; }
.category, .record-ref { color: #294cb8; font-size: .82rem; font-weight: 630; letter-spacing: .038em; }
.cap-copy h3 { font-size: clamp(2.5rem,3.65vw,4rem); line-height: 1.04; letter-spacing: -.06em; font-weight: 520; margin: .75rem 0 1.05rem; }
.cap-copy > p:not(.category) { max-width: 32.3rem; color: #43556a; font-size: 1.015rem; line-height: 1.6; }
.text-link { display: inline-block; font-size: .94rem; font-weight: 580; color: #2347b5; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.text-link:hover { color: #112e89; text-decoration-thickness: 2px; }
.cap-copy .text-link { margin-top: 1.4rem; }
.app-window, .workflow-console { background: white; color: var(--ink); min-width: 0; overflow: hidden; border-radius: 1.05rem; border: 1px solid #bccbd7; }
.app-window { box-shadow: 0 1.3rem 3.8rem -1rem #344b6a40, 0 2px 6px #2338550a; }
.window-bar, .console-bar { display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 3rem; padding: .72rem 1.16rem; border-bottom: 1px solid #dbe3e9; background: #fbfcfd; }
.window-bar > span:last-child, .console-bar > span:last-child { color: #526477; font-size: .77rem; }
.window-id, .console-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 610; font-size: .86rem; letter-spacing: -.012em; }
.window-id .icon { color: var(--blue); }
.window-body { min-height: 13.2rem; padding: clamp(1.15rem,1.85vw,1.85rem); }
.window-body h4 { font-size: clamp(1.24rem,1.72vw,1.75rem); letter-spacing: -.044em; font-weight: 585; line-height: 1.16; margin-bottom: 1.2rem; }
.mini-table { border-collapse: collapse; width: 100%; text-align: left; font-size: .84rem; line-height: 1.35; }
.mini-table th { font-size: .77rem; font-weight: 545; color: #617084; padding: 0 .5rem .46rem 0; }
.mini-table td { border-top: 1px solid #e0e6eb; padding: .58rem .45rem .58rem 0; }
.mini-table td:first-child { font-variant-numeric: tabular-nums; font-weight: 570; white-space: nowrap; }
.mini-table td:last-child,.mini-table th:last-child { padding-right: 0; text-align: right; }
.state { display: inline-flex; align-items: center; width: max-content; max-width: 100%; border-radius: 99px; padding: .2rem .52rem; font-size: .72rem; font-weight: 590; line-height: 1.3; }
.cobalt { background: #e6edff; color: #27459f; }
.green { background: #deefe8; color: #245942; }
.grey { background: #e9edf1; color: #435263; }
.pipeline { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; }
.lane { min-width: 0; padding: .52rem; background: #f0f3f7; border-radius: .55rem; }
.lane > p { font-size: .72rem; color: #46566b; font-weight: 600; margin-bottom: .55rem; }
.lane > div { min-height: 4.3rem; padding: .55rem; border: 1px solid #dbe3ed; background: white; border-radius: .34rem; }
.lane:nth-child(2) { background: #eaf0fd; }
.lane:nth-child(3) { background: #e6f1ed; }
.lane strong, .entries strong { display: block; font-size: .82rem; font-weight: 600; line-height: 1.35; }
.lane small, .entries small { display: block; font-size: .73rem; color: #526276; margin-top: .23rem; }
.entries { list-style: none; padding: 0; }
.entries li { display: flex; align-items: center; gap: .55rem; padding: .53rem 0; border-top: 1px solid #e1e6eb; }
.entries .icon { color: #62748b; width: 1rem; height: 1rem; }
.entries li > span:last-child { margin-left: auto; flex: none; }
.record-rows > div { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .62rem 0; border-top: 1px solid #e1e6eb; font-size: .85rem; }
.record-rows span { color: #526477; }
.record-rows strong { font-weight: 565; text-align: right; }
.sync-path { display: flex; align-items: center; padding: .55rem 0 .9rem; }
.sync-path span { background: #edf2fb; border: 1px solid #d7e2f2; border-radius: .6rem; padding: .62rem .75rem; display: flex; gap: .42rem; align-items: center; font-size: .82rem; font-weight: 575; }
.sync-path span .icon { color: #3456bd; width: 1rem; }
.sync-path i { flex: 1; min-width: .55rem; height: 1px; background: #b7c9db; }
.sync-count { display: flex; gap: 1.35rem; padding-top: .82rem; border-top: 1px solid #dce4ea; font-size: .82rem; color: #455971; }
.sync-count strong { color: var(--ink); }
.workflow-section { padding-block: var(--section); background: radial-gradient(ellipse at 85% 100%,#102d40 0%,#0b1725 43%,#0a111c 84%); color: white; }
.workflow-grid { display: grid; grid-template-columns: .81fr 1.19fr; gap: clamp(2rem,6.25vw,6rem); align-items: center; }
.workflow-copy h2 span { color: #9fe7f2; }
.workflow-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { font-size: clamp(1.04rem,1.35vw,1.2rem); color: #becbd7; line-height: 1.61; margin-top: 1.45rem; max-width: 30rem; }
.workflow-console { border-color: #ffffff7a; border-radius: 1.35rem; box-shadow: 0 2.2rem 4rem #00000036; }
.console-bar { background: #f2f5f8; padding: .82rem 1.35rem; }
.console-brand img { width: 1.24rem; }
.console-main { padding: clamp(1.2rem,2.4vw,2.4rem); }
.stage-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .45rem; margin-bottom: 1.7rem; }
.stage-strip span { padding-top: .47rem; border-top: 3px solid #dbe2e8; color: #647588; font-size: .78rem; font-weight: 545; }
.stage-strip span.current { border-color: var(--blue); color: #233e9e; }
.stage-strip span.done { border-color: #42a7a8; color: #286467; }
.record-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.record-ref { text-transform: uppercase; letter-spacing: .09em; font-size: .76rem; }
.record-head h3 { margin-top: .3rem; font-size: clamp(1.55rem,2.35vw,2.4rem); font-weight: 550; line-height: 1.12; letter-spacing: -.055em; }
.record-quantity { flex: none; padding: .32rem .65rem; border-radius: 2rem; font-size: .79rem; font-weight: 605; color: #3d526b; background: #edf2f6; }
.order-description { margin-top: .7rem; color: var(--slate); font-size: .96rem; line-height: 1.52; min-height: 2.9em; }
.stock-readout { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; padding-block: 1.03rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 1.2rem 0; }
.stock-readout div + div { border-left: 1px solid var(--line); padding-left: clamp(.6rem,1.4vw,1.35rem); }
.stock-readout dt { font-size: .78rem; color: var(--slate); }
.stock-readout dd { font-size: clamp(1.65rem,2.35vw,2.4rem); font-weight: 525; letter-spacing: -.055em; font-variant-numeric: tabular-nums; line-height: 1.18; margin-top: .16rem; }
.workflow-actions { min-height: 2.8rem; gap: .9rem; }
.workflow-actions .button { min-height: 2.75rem; font-size: .89rem; padding: .72rem 1.07rem; }
.subtle-button, .edit-brief { min-height: 2.75rem; border: none; background: transparent; color: #40546a; text-decoration: underline; text-underline-offset: .23em; padding: .4rem 0; font-weight: 535; font-size: .85rem; }
.fallback-note { font-size: .9rem; color: var(--slate); }
.approach-section { background: #fff; }
.approach-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(2.5rem,6vw,6.8rem); align-items: center; }
.approach-photo { overflow: hidden; border-radius: 1.6rem; background: #d0dce2; aspect-ratio: 1.22; }
.approach-photo img { width: 100%; height: 100%; object-fit: cover; }
.approach-copy h2 { font-size: clamp(2.45rem,3.9vw,4.5rem); margin-bottom: 1.65rem; }
.approach-list { border-top: 1px solid var(--line); }
.approach-list details { border-bottom: 1px solid var(--line); }
.approach-list summary { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: 1.03rem 0; list-style: none; font-size: clamp(1.05rem,1.33vw,1.28rem); font-weight: 565; letter-spacing: -.023em; }
.approach-list summary::-webkit-details-marker { display: none; }
.detail-glyph { position: relative; width: 1.5rem; height: 1.5rem; flex: none; border-radius: 50%; border: 1px solid #c6d1db; }
.detail-glyph::before,.detail-glyph::after { content: ""; width: .58rem; height: 1px; background: #37516b; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.detail-glyph::after { transform: translate(-50%,-50%) rotate(90deg); }
details[open] .detail-glyph::after { opacity: 0; }
.approach-list details p { margin: -.19rem 2rem 1.25rem 0; color: var(--slate); font-size: .96rem; line-height: 1.62; }
.origin { border-top: 1px solid var(--line); margin-top: clamp(2.8rem,5.7vw,5.7rem); padding-top: clamp(1.7rem,2.6vw,2.6rem); display: grid; grid-template-columns: 3.2rem minmax(0,1fr) auto; align-items: center; gap: clamp(1rem,2.4vw,2.3rem); }
.origin img { width: 3rem; height: 3.45rem; object-fit: contain; }
.origin h3 { font-size: 1.32rem; letter-spacing: -.045em; font-weight: 585; }
.origin p { margin-top: .2rem; color: var(--slate); font-size: .96rem; }
.origin .text-link { white-space: nowrap; }
.contact-section { padding-block: var(--section); background: radial-gradient(ellipse at 100% 0%,#16354a 0%,#101e2e 33%,#0a131f 75%); color: white; }
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(2.2rem,8vw,8.4rem); align-items: center; }
.contact-copy h2 { font-size: clamp(2.85rem,4.8vw,5.35rem); }
.contact-email { display: inline-block; margin-top: 1.85rem; font-size: clamp(1.26rem,2vw,1.88rem); font-weight: 500; text-decoration-color: #687f95; text-decoration-thickness: 1px; text-underline-offset: .23em; letter-spacing: -.025em; }
.contact-email:hover { text-decoration-color: var(--cyan); }
.location { display: block; margin-top: .7rem; color: #b1c4d1; font-size: .91rem; }
.contact-card { padding: clamp(1.45rem,2.9vw,2.9rem); border: 1px solid #395063; background: #132333e8; border-radius: 1.4rem; min-width: 0; }
.contact-card h3 { font-size: 1.6rem; letter-spacing: -.048em; font-weight: 540; margin-bottom: 1.23rem; }
.contact-card label { display: block; color: #e1eaf2; font-size: .88rem; font-weight: 555; margin: .95rem 0 .4rem; }
.contact-card select, .contact-card textarea { appearance: none; display: block; width: 100%; color: #edf6fa; background: #0c1723; font-size: 1rem; line-height: 1.45; border-radius: .55rem; border: 1px solid #536777; padding: .72rem .88rem; }
.contact-card textarea { min-height: 6.2rem; resize: vertical; }
.contact-card textarea::placeholder { color: #94a6b6; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; pointer-events: none; right: 1rem; top: 42%; width: .43rem; height: .43rem; border: solid #c9d6e0; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.select-wrap select { padding-right: 2.3rem; }
.contact-card form .button { margin-top: 1.25rem; }
.form-note { color: #aabfce; font-size: .8rem; margin-top: .65rem; }
.ready-heading { color: #82eef8; font-weight: 590; }
.draft-preview { white-space: pre-line; overflow-wrap: anywhere; margin: 1rem 0; color: #d6e4ec; max-height: 13rem; overflow: auto; font-size: .96rem; }
.edit-brief { color: #deebf4; }
footer { background: #070e17; border-top: 1px solid #273544; color: white; }
.footer-inner { padding-block: 1.8rem; }
.footer-inner p, .footer-inner > a:last-child { font-size: .86rem; color: #b6c6d5; }
.footer-inner > a:last-child { text-underline-offset: .22em; }
@media (min-width: 1700px) {
  .hero-art { left: calc(50% - 100px); right: max(0px,calc((100vw - 1730px)/2)); }
  .hero-shell { min-height: 48rem; }
}
@media (max-width: 1030px) {
  .cap-panel { grid-template-columns: .8fr 1.2fr; gap: 1.6rem; padding: 2rem; }
  .workflow-grid { grid-template-columns: .7fr 1fr; gap: 2.2rem; }
  .approach-grid { gap: 2.4rem; }
  .hero-copy { width: 54%; }
  .contact-grid { gap: 3rem; }
}
@media (max-width: 780px) {
  :root { --header: 4.3rem; }
  .header-inner { flex-wrap: wrap; gap: .4rem; }
  .brand img { width: 11rem; }
  #navigation { gap: .9rem; align-items: flex-start; flex-wrap: wrap; padding-bottom: .8rem; }
  .enhanced .header-inner { flex-wrap: nowrap; }
  .enhanced .menu-button { display: inline-flex; }
  .enhanced #navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: .25rem; background: #09111b; border-bottom: 1px solid #405162; padding: .85rem var(--gutter) 1.25rem; box-shadow: 0 12px 20px #0002; }
  .enhanced #navigation[data-open] { display: flex; }
  .enhanced #navigation a { display: block; width: 100%; padding: .7rem .2rem; }
  .enhanced #navigation .header-action { width: auto; padding: .64rem 1.2rem; margin-top: .35rem; }
  .hero-shell { min-height: 32rem; }
  .hero h1 { font-size: clamp(3.08rem,6.8vw,4.7rem); }
  .hero-copy { padding-block: 3.8rem; }
  .eyebrow, .hero .eyebrow { font-size: .76rem; }
  .lead { font-size: 1.035rem; }
  .hero-actions { gap: .85rem; }
  .cap-panel { grid-template-columns: 1fr; gap: 1.55rem; min-height: 0; }
  .cap-copy { max-width: 38rem; }
  .cap-copy h3 br { display: none; }
  .cap-copy h3 { margin: .5rem 0 .67rem; }
  .cap-copy .text-link { margin-top: .85rem; }
  .window-body { min-height: 0; }
  .workflow-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .workflow-copy > p:not(.eyebrow) { max-width: 39rem; }
  .approach-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .approach-photo { aspect-ratio: .82; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}
@media (max-width: 620px) {
  :root { --gutter: clamp(1.15rem,5.3vw,2rem); --section: 3.8rem; }
  .hero { display: flex; flex-direction: column; }
  .hero-shell { order: 0; display: block; min-height: 0; }
  .hero-copy { width: 100%; padding: 3.05rem 0 0; }
  .hero .eyebrow { margin-bottom: 1.3rem; }
  .hero .endorsement { display: none; }
  .hero h1 { font-size: clamp(3rem,10.2vw,4.15rem); line-height: .99; }
  .lead { margin: 1.1rem 0 1.3rem; max-width: 30rem; font-size: 1.035rem; }
  .hero-actions { gap: .78rem; }
  .hero-actions .button { padding: .72rem .94rem; font-size: .875rem; }
  .demo-link { font-size: .875rem; gap: .4rem; }
  .play-disc { width: 1.55rem; height: 1.55rem; }
  .hero-art { order: 1; position: relative; inset: auto; margin: .35rem 0 0; width: 100%; height: clamp(14rem,68vw,23rem); }
  .hero-art img { object-fit: contain; }
  .hero-art::after { background: linear-gradient(0deg,var(--night),transparent 9%,transparent 93%,var(--night)); }
  h2 { font-size: clamp(2.5rem,8.7vw,3.4rem); }
  .eyebrow { margin-bottom: .85rem; }
  .section-head { align-items: flex-start; flex-direction: column; gap: .75rem; margin-bottom: 1.3rem; }
  .head-note { max-width: 28rem; margin: 0; }
  .cap-controls { display: flex; flex-wrap: wrap; width: fit-content; padding: 0; gap: .37rem; background: none; border: 0; border-radius: 0; margin-bottom: 1rem; }
  .cap-controls a { min-height: 2.6rem; padding: .55rem .72rem; font-size: .86rem; gap: .34rem; border: 1px solid #c9d5de; background: #edf1f4; }
  .cap-controls a[aria-selected="true"] { border-color: var(--ink); }
  .cap-controls .icon { width: 1rem; height: 1rem; }
  .cap-panel { padding: 1.3rem; border-radius: 1.2rem; }
  .cap-copy h3 { font-size: clamp(2rem,6.8vw,2.6rem); }
  .category { font-size: .8rem; }
  .cap-copy > p:not(.category) { font-size: .96rem; }
  .app-window { border-radius: .76rem; }
  .window-bar,.console-bar { padding: .65rem .83rem; }
  .window-body { padding: 1.05rem .83rem; }
  .window-body h4 { margin-bottom: .85rem; }
  .workflow-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { margin-top: 1rem; }
  .workflow-console { border-radius: 1.1rem; }
  .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .approach-photo { order: 2; aspect-ratio: 1.4; border-radius: 1.15rem; }
  .approach-copy h2 { font-size: clamp(2.45rem,8.2vw,3.3rem); margin-bottom: 1.15rem; }
  .origin { grid-template-columns: 2.55rem minmax(0,1fr); gap: .8rem 1rem; align-items: start; }
  .origin img { width: 2.5rem; height: 2.85rem; grid-row: 1 / 3; }
  .origin .text-link { grid-column: 2; justify-self: start; }
  .contact-copy h2 { font-size: clamp(2.6rem,8.6vw,3.4rem); }
  .contact-email { margin-top: 1.2rem; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: .9rem .6rem; }
  .footer-inner p { grid-column: 1 / -1; grid-row: 2; }
  .footer-inner > a:last-child { grid-column: 2; grid-row: 1; white-space: nowrap; }
}
@media (max-width: 385px) {
  .menu-button { width: 2.75rem; height: 2.75rem; padding: 0; justify-content: center; }
  .menu-word { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .hero h1 { font-size: clamp(2.48rem,11.25vw,2.95rem); }
  .cap-panel { padding: 1.04rem; }
  .hero-actions { gap: .82rem; }
  .hero-actions .button { padding-inline: .87rem; }
  .app-window .window-bar > span:last-child, .console-bar > span:last-child { font-size: .71rem; }
  .mini-table { font-size: .77rem; }
  .mini-table td, .mini-table th { padding-right: .2rem; }
  .state { font-size: .68rem; padding-inline: .35rem; }
  .pipeline { grid-template-columns: 1fr; gap: .35rem; }
  .lane { display: grid; grid-template-columns: 32% 1fr; align-items: center; padding: .25rem .48rem; }
  .lane > p { margin: 0; }
  .lane > div { min-height: 0; padding: .32rem .45rem; }
  .sync-path span { padding: .5rem .35rem; font-size: .76rem; }
  .stock-readout { gap: .4rem; }
  .stock-readout dt { font-size: .73rem; }
  .record-head { align-items: flex-start; }
  .record-quantity { font-size: .7rem; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes panel-in { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: none; } }
  .enhanced .cap-panel:not([hidden]) { animation: panel-in .23s ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Motion layer: intro, parallax hero, reveals, responsive refinements
   ========================================================================== */
:root {
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.76,0,.24,1);
  --ease-back: cubic-bezier(.3,1.45,.45,1);
}

/* ---------- Intro ---------- */
.intro { display: none; }
.intro-on .intro { display: block; }
.intro-on body { overflow: hidden; }
.intro-on .site-header .brand img { opacity: 0; }
.intro { position: fixed; inset: 0; z-index: 200; overflow: hidden; color: white; cursor: pointer; -webkit-user-select: none; user-select: none; touch-action: none; }
.intro-panel { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 46%, #0e2133 0%, #08101b 42%, #04070d 100%); will-change: transform; }
.intro-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#39ddf212 1px, transparent 1px), linear-gradient(90deg, #39ddf212 1px, transparent 1px); background-size: 48px 48px; background-position: center center; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 0%, transparent 100%); mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 0%, transparent 100%); animation: intro-grid 2.4s var(--ease-out) both; }
.intro-panel-a { clip-path: polygon(0 0, 100% 0, 100% 42.4%, 0 58.4%); }
.intro-panel-b { clip-path: polygon(0 58%, 100% 42%, 100% 100%, 0 100%); }
.intro-seam { position: absolute; left: 50%; top: 50%; width: var(--seam-len, 120vmax); height: 2px; margin-left: calc(var(--seam-len, 120vmax) / -2); margin-top: -1px; background: linear-gradient(90deg, transparent, #39ddf2 20%, #e9fdff 50%, #39ddf2 80%, transparent); box-shadow: 0 0 18px #39ddf2; transform: rotate(var(--seam-angle, -9deg)) scaleX(0); opacity: 0; }
.intro-stage { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.intro-logo { --s0: 2.1; display: block; width: min(76vw, 560px, 150svh); height: auto; aspect-ratio: 486 / 100; overflow: visible; transform-origin: 10.7% 50%; animation: il-center .8s var(--ease-io) 1.1s both; will-change: transform; }
.intro-ring { position: absolute; left: 50%; top: 50%; width: min(46vmin, 300px); aspect-ratio: 1; margin: calc(min(46vmin, 300px) / -2) 0 0 calc(min(46vmin, 300px) / -2); border-radius: 50%; border: 1px solid #39ddf2; box-shadow: 0 0 30px #39ddf255, inset 0 0 30px #39ddf233; opacity: 0; animation: il-ring 1.1s var(--ease-out) .92s both; }
.intro-ring + .intro-ring { animation-delay: 1.04s; border-color: #244de8; }
.il-top { animation: il-top .7s var(--ease-back) .3s both; }
.il-bot { animation: il-bot .7s var(--ease-back) .3s both; }
.il-line { fill: none; stroke: #7cf0fa; stroke-width: 1.1; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: il-draw .75s cubic-bezier(.65,0,.35,1) both, il-line-out .5s ease 1.05s forwards; }
.il-bot .il-line { animation-delay: .1s, 1.05s; }
.il-fill { fill: #39ddf2; opacity: 0; animation: il-fill .4s ease-out .62s forwards; }
.il-halo { opacity: 0; animation: il-halo 1.4s ease-out .8s both; }
.il-flash { fill: white; opacity: 0; animation: il-flash .5s ease-out .95s both; }
.il-glint { transform-box: fill-box; animation: il-glint .6s cubic-bezier(.5,0,.3,1) 1.05s both; }
.il-word path, .il-sys path { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
.il-word path { animation: il-letter .5s var(--ease-out) calc(1.2s + var(--i) * 45ms) both; }
.il-sys path { animation: il-letter-sys .45s var(--ease-out) calc(1.42s + var(--i) * 35ms) both; }
.intro-meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(1.1rem, 4.5svh, 2.6rem); display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8fa6ba; animation: il-fade .5s ease .15s both; transition: opacity .3s; }
.intro-count { font-variant-numeric: tabular-nums; font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; color: #e9fbff; line-height: 1; }
.intro-count::after { content: "%"; font-size: .45em; color: #39ddf2; margin-left: .15em; vertical-align: top; }
.intro-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #ffffff12; transition: opacity .3s; }
.intro-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, #244de8, #39ddf2); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px #39ddf2; }
.intro-skip { position: absolute; top: clamp(.9rem, 3svh, 1.6rem); right: var(--gutter); padding: .5rem .9rem; border-radius: 99px; border: 1px solid #ffffff26; background: #ffffff08; color: #b8c8d6; font-size: .78rem; font-weight: 560; letter-spacing: .02em; animation: il-fade .5s ease .5s both; transition: opacity .3s, background-color .2s, color .2s; }
.intro-skip:hover { background: #39ddf21f; color: white; border-color: #39ddf266; }
.intro.is-leaving { pointer-events: none; }
.intro.is-leaving .intro-meta, .intro.is-leaving .intro-bar, .intro.is-leaving .intro-skip, .intro.is-leaving .intro-ring { opacity: 0 !important; }
.intro.is-leaving .il-halo { transition: opacity .4s; opacity: 0 !important; }

@keyframes intro-grid { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
@keyframes il-center { from { transform: translateX(39.3%) scale(var(--s0)); } to { transform: none; } }
@keyframes il-top { from { transform: translate(-18px, -14px); } to { transform: none; } }
@keyframes il-bot { from { transform: translate(18px, 14px); } to { transform: none; } }
@keyframes il-draw { to { stroke-dashoffset: 0; } }
@keyframes il-line-out { to { opacity: 0; } }
@keyframes il-fill { to { opacity: 1; } }
@keyframes il-halo { 0% { opacity: 0; } 25% { opacity: .95; } 100% { opacity: .45; } }
@keyframes il-flash { 0% { opacity: 0; } 18% { opacity: .9; } 100% { opacity: 0; } }
@keyframes il-ring { 0% { opacity: 0; transform: scale(.25); } 15% { opacity: .9; } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes il-glint { from { transform: translateX(0) skewX(-22deg); } to { transform: translateX(170px) skewX(-22deg); } }
@keyframes il-letter { from { opacity: 0; transform: translateY(16px) scaleY(1.25); } to { opacity: 1; transform: none; } }
@keyframes il-letter-sys { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes il-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Hero scene (parallax layers) ---------- */
.hero { --px: 0; --py: 0; --sy: 0; --sp: 0; }
.hero-scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-aurora { position: absolute; inset: -10%; transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -8px + var(--sy) * .55px), 0); }
.hero-aurora i { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, #1b5dff3d, transparent); width: 55vmax; aspect-ratio: 1; right: -8%; top: 4%; animation: aurora-a 18s ease-in-out infinite alternate; }
.hero-aurora i + i { background: radial-gradient(closest-side, #39ddf221, transparent); width: 42vmax; right: 18%; top: 38%; animation: aurora-b 22s ease-in-out infinite alternate; }
.hero-floor { position: absolute; left: -30%; right: -30%; bottom: 0; height: 52%; perspective: 420px; perspective-origin: 60% 0%; -webkit-mask-image: linear-gradient(0deg, #000 0%, #0008 35%, transparent 85%); mask-image: linear-gradient(0deg, #000 0%, #0008 35%, transparent 85%); transform: translate3d(calc(var(--px) * -6px), calc(var(--sy) * .6px), 0); }
.hero-grid { position: absolute; left: 0; right: 0; bottom: 0; height: 230%; transform-origin: 50% 100%; transform: rotateX(72deg); overflow: hidden; }
.hero-grid::before { content: ""; position: absolute; left: 0; right: 0; top: -64px; bottom: 0; background-image: linear-gradient(#39ddf23a 1px, transparent 1px), linear-gradient(90deg, #39ddf22e 1px, transparent 1px); background-size: 64px 64px; animation: grid-run 3.2s linear infinite; }
.hero-bits { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-ghost { position: absolute; top: -26%; right: -17vw; height: 146%; width: auto; aspect-ratio: 112 / 108; overflow: visible; transform: translate3d(calc(var(--px) * -20px), calc(var(--py) * -14px + var(--sy) * .42px), 0) rotate(calc(var(--px) * -1.2deg)); }
.ghost-line { fill: none; stroke: #39ddf2; stroke-opacity: .13; stroke-width: .2; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.ghost-echo { fill: none; stroke: #244de8; stroke-opacity: .2; stroke-width: .2; stroke-dasharray: .006 .012; }
.ghost-pulse { fill: none; stroke: #8ff4fb; stroke-width: .38; stroke-linecap: round; stroke-dasharray: .07 .93; stroke-dashoffset: 1; opacity: 0; }
.hero-in .ghost-pulse { opacity: .75; transition: opacity 1s ease 2s; animation: ghost-run 7s linear 2s infinite; }
.hero-in .ghost-pulse.p2 { animation-duration: 9s; animation-delay: 2.6s; }

/* Emblem: parallax wrapper → pointer tilt → float → entrance */
.hero-art { transform: translate3d(calc(var(--px) * 22px), calc(var(--py) * 16px + var(--sy) * .2px), 0); perspective: 1400px; }
.art-tilt { transform: rotateY(calc(var(--px) * 9deg)) rotateX(calc(var(--py) * -7deg)) scale(calc(1 + var(--sp) * .08)); transform-style: preserve-3d; }
.art-float { position: relative; isolation: isolate; animation: art-float 7s ease-in-out infinite; }
.art-enter { position: relative; }
.art-sheen, .art-glint, .art-pulse { position: absolute; inset: 0; pointer-events: none; }
.art-sheen { mix-blend-mode: overlay; background: radial-gradient(circle at calc(52% + var(--px) * 26%) calc(44% + var(--py) * 24%), #ffffff8c 0%, #ffffff22 18%, transparent 40%); }
.art-pulse { mix-blend-mode: color-dodge; background: radial-gradient(ellipse 40% 30% at 52% 62%, #39ddf2 0%, transparent 70%); opacity: .25; animation: art-pulse 4.2s ease-in-out infinite; }
.art-glint { mix-blend-mode: overlay; background: linear-gradient(112deg, transparent 38%, #ffffffd0 49%, #ffffff00 58%); background-size: 260% 100%; background-position: 160% 0; }
.hero-in .art-glint { animation: art-glint 7.5s cubic-bezier(.45,0,.25,1) 1s infinite; }

/* Copy: foreground layer */
.hero-shell { transform: translate3d(calc(var(--px) * -7px), calc(var(--py) * -5px + var(--sy) * .3px), 0); opacity: calc(1 - var(--sp) * 1.15); }
.hero h1 .line { display: block; overflow: hidden; padding: .06em .08em .14em 0; margin: -.06em -.08em -.14em 0; }
.hero h1 .line-in { display: inline-block; }
.hero-in .hero h1 .grad { animation: grad-shift 8s linear 1.4s infinite; }
.hero-actions .button, .hero-actions .demo-link { transition: background-color .2s, color .2s, box-shadow .2s, translate .35s var(--ease-out); }
.hero-actions .button-light:hover { box-shadow: 0 0 0 6px #39ddf21f, 0 10px 30px -8px #39ddf280; }
.demo-link .play-disc { position: relative; transition: border-color .2s, color .2s; }
.demo-link .play-disc::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid #39ddf2; opacity: 0; }
.hero-in .demo-link .play-disc::after { animation: disc-ping 2.8s ease-out 2.2s infinite; }

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: clamp(1rem, 3.2svh, 2rem); width: 1.5rem; height: 2.4rem; margin-left: -.75rem; border-radius: 99px; border: 1.5px solid #ffffff3d; transition: border-color .2s, opacity .4s; opacity: calc(1 - var(--sp) * 4); }
.scroll-cue span { position: absolute; left: 50%; top: .45rem; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #39ddf2; box-shadow: 0 0 8px #39ddf2; animation: cue 1.9s var(--ease-io) infinite; }
.scroll-cue:hover { border-color: #39ddf2; }

/* Header refinements */
.site-header { transition: box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px #000a; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, #244de8, #39ddf2); box-shadow: 0 0 10px #39ddf280; pointer-events: none; }
.brand img { transition: opacity .25s; }
.brand:hover img { filter: drop-shadow(0 0 10px #39ddf255); }
#navigation a:not(.header-action) { position: relative; }
@media (min-width: 781px) {
  #navigation a:not(.header-action)::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
  #navigation a:not(.header-action):hover::after { transform: scaleX(1); transform-origin: left; }
}

@keyframes aurora-a { to { transform: translate3d(-8vw, 6vh, 0) scale(1.12); } }
@keyframes aurora-b { to { transform: translate3d(10vw, -8vh, 0) scale(.9); } }
@keyframes grid-run { to { transform: translate3d(0, 64px, 0); } }
@keyframes ghost-run { to { stroke-dashoffset: 0; } }
@keyframes art-float { 0%, 100% { transform: translate3d(0, -6px, 0) rotate(-.4deg); } 50% { transform: translate3d(0, 8px, 0) rotate(.4deg); } }
@keyframes art-pulse { 0%, 100% { opacity: .18; } 50% { opacity: .55; } }
@keyframes art-glint { 0% { background-position: 160% 0; } 22%, 100% { background-position: -60% 0; } }
@keyframes grad-shift { to { background-position: -200% 0; } }
@keyframes disc-ping { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.9); } }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(.95rem); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Hero entrance (plays when .hero-in is added) ---------- */
.motion .hero-actions .hx { transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s), filter .9s var(--ease-out) var(--d, 0s), translate .35s var(--ease-out), background-color .2s, color .2s, box-shadow .2s; }
.motion .hx { transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s), filter .9s var(--ease-out) var(--d, 0s); }
.motion:not(.hero-in) .hx { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(8px); }
.motion .hero h1 .line-in { transition: transform 1.15s var(--ease-out) var(--d, 0s); }
.motion:not(.hero-in) .hero h1 .line-in { transform: translate3d(0, 112%, 0) rotate(3deg); }
.motion .hero .eyebrow::before { transition: transform .9s var(--ease-out) .05s; transform-origin: left; }
.motion:not(.hero-in) .hero .eyebrow::before { transform: scaleX(0); }
.motion .art-enter { transition: opacity 1.4s var(--ease-out) .05s, transform 1.9s var(--ease-out) .05s, filter 1.5s var(--ease-out) .05s; }
.motion:not(.hero-in) .art-enter { opacity: 0; transform: scale(1.16) translate3d(3%, 2%, 0); filter: blur(16px) brightness(2.4); }
.motion .ghost-line { transition: stroke-dashoffset 2.6s cubic-bezier(.65,0,.25,1) .25s; }
.motion:not(.hero-in) .ghost-line { stroke-dashoffset: 1; }
.motion .hero-floor, .motion .hero-aurora, .motion .hero-bits, .motion .scroll-cue { transition: opacity 1.6s ease .3s; }
.motion:not(.hero-in) .hero-floor, .motion:not(.hero-in) .hero-aurora, .motion:not(.hero-in) .hero-bits, .motion:not(.hero-in) .scroll-cue { opacity: 0; }
.motion .site-header #navigation > a, .motion .menu-button { transition: opacity .6s ease var(--d, 0s), transform .7s var(--ease-out) var(--d, 0s), color .2s, background-color .2s; }
.motion:not(.hero-in) .site-header #navigation > a, .motion:not(.hero-in) .menu-button { opacity: 0; transform: translate3d(0, -10px, 0); }

/* ---------- Scroll reveals & section parallax ---------- */
main { overflow-x: clip; }
.motion [data-reveal] { transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.motion [data-reveal]:not(.is-visible) { opacity: 0; transform: translate3d(0, 46px, 0); }
.motion [data-reveal="left"]:not(.is-visible) { transform: translate3d(-46px, 0, 0); }
.motion [data-reveal="right"]:not(.is-visible) { transform: translate3d(46px, 0, 0); }
.motion [data-reveal="zoom"]:not(.is-visible) { transform: scale(.94); }
.approach-photo img[data-parallax] { scale: 1.16; }
[data-parallax] { will-change: translate; }
.app-window { transition: transform .5s var(--ease-out), box-shadow .5s; transform-style: preserve-3d; }
.app-window.is-tilting { transition: transform .12s linear, box-shadow .5s; box-shadow: 0 2rem 4.5rem -1.2rem #344b6a59, 0 2px 6px #2338550a; }

/* ---------- Responsive refinements ---------- */
@media (min-width: 621px) and (max-width: 1030px) {
  .hero-art { left: 40%; right: -8%; }
  .hero-ghost { right: -24vw; height: 128%; top: -14%; }
  .lead { max-width: 25rem; }
}
@media (min-width: 621px) and (max-width: 780px) {
  .hero h1 { font-size: clamp(3rem, 7.3vw, 4.7rem); }
  .hero-copy { width: 56%; }
  .lead { max-width: min(22rem, 100%); }
  .hero-art { left: 46%; }
  .approach-grid, .contact-grid { gap: 1.4rem; }
}
/* Landscape phones & short windows */
@media (min-width: 621px) and (max-height: 560px) and (orientation: landscape) {
  .hero-shell { min-height: calc(100svh - var(--header)); }
  .hero-copy { width: 52%; padding-block: 1.4rem 1.6rem; }
  .hero .eyebrow { margin-bottom: .8rem; font-size: .7rem; }
  .hero .endorsement { display: none; }
  .hero h1 { font-size: clamp(2.1rem, 10.5svh, 3.6rem); }
  .lead { font-size: .94rem; line-height: 1.45; margin: .75rem 0 1rem; max-width: 23rem; }
  .hero-actions .button { min-height: 2.6rem; padding: .55rem 1rem; font-size: .88rem; }
  .demo-link { min-height: 2.6rem; font-size: .88rem; }
  .hero-art { left: 47%; inset-block: 0; }
  .hero-ghost { height: 140%; top: -20%; right: -12vw; }
  .scroll-cue { display: none; }
  .intro-logo { --s0: 1.7; }
}
@media (min-width: 621px) and (max-height: 420px) and (orientation: landscape) {
  :root { --header: 3.6rem; }
  .brand img { width: 9.5rem; }
  .lead { display: none; }
  .hero h1 { font-size: clamp(2rem, 12svh, 3rem); margin-bottom: 1rem; }
}
@media (max-width: 620px) {
  .hero-scene { inset: 0; }
  .hero-ghost { top: auto; bottom: -3%; right: -24vw; height: auto; width: 128vw; opacity: .9; }
  .hero-floor { height: 34%; }
  .hero-art { margin-top: .6rem; }
  .art-float { animation-duration: 6s; }
  .scroll-cue { display: none; }
  .hero-shell { transform: translate3d(0, calc(var(--sy) * .18px), 0); opacity: 1; }
  .hero h1 .line { padding-right: 0; margin-right: 0; }
  .intro-logo { --s0: 1.9; width: min(84vw, 520px); }
  .intro-meta { font-size: .66rem; letter-spacing: .12em; }
}
@media (max-width: 385px) {
  .intro-label { max-width: 9rem; }
}
@media (min-width: 1700px) {
  .hero-ghost { right: calc((100vw - 1730px) / 2 - 240px); }
}
@media (hover: none), (pointer: coarse) {
  .hero-actions .button-light:hover { box-shadow: none; }
}

/* ---------- Reduced motion: keep everything still and visible ---------- */
@media (prefers-reduced-motion: reduce) {
  .intro, .hero-bits, .ghost-pulse, .scroll-cue span { display: none !important; }
  .hero-scene *, .hero-art, .hero-art *, .hero-shell, .hero-ghost { animation: none !important; transform: none !important; }
  .hero-shell { opacity: 1 !important; }
  .hero-scene .hero-grid { transform: rotateX(72deg) !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  [data-parallax] { translate: none !important; }
}

/* ---------- Lite mode (very weak devices, set by boot.js): same motion, cheaper effects ---------- */
.lite .art-sheen, .lite .art-pulse, .lite .art-glint { display: none; }
.lite.motion:not(.hero-in) .hx, .lite.motion:not(.hero-in) .art-enter { filter: none; }
.lite .site-header { backdrop-filter: none; background: #070b13; }
.lite .consent { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0b1624; }
