/* 云联速达 V2 — native CSS, no external font or animation dependency. */
:root {
  color-scheme: dark;
  --bg: #070c17;
  --fg: #f3f6ff;
  --muted: #9caecb;
  --blue: #527eff;
  --line: rgba(146,177,239,.16);
  --ease: cubic-bezier(.22,.68,.22,1);
  --container: 1240px;
  --header-height: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid #9fd7ff; outline-offset: 5px; }
::selection { background: #315edd; color: #fff; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.anchor-alias { display: block; scroll-margin-top: calc(var(--header-height) + 24px); }
#reading-progress { position: fixed; z-index: 102; inset: 0 auto auto 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg,#466fff,#9adeff); pointer-events: none; }
.ambient-light { position: fixed; z-index: -1; inset: -20%; pointer-events: none; background: radial-gradient(ellipse at 75% 30%,rgba(43,83,181,.09),transparent 50%); transform: translateY(var(--ambient-y,0px)); }
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(7,12,23,.75); border-bottom: 1px solid rgba(146,177,239,.07); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: background .35s,border-color .35s; }
.site-header.scrolled { background: rgba(7,12,23,.95); border-color: var(--line); }
.nav-wrap { height: var(--header-height); display: flex; align-items: center; gap: 28px; }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; padding: 0; background: transparent; }
.brand img { width: 46px; height: 44px; object-fit: contain; }
.brand > span { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-size: 21px; font-weight: 750; letter-spacing: .1em; white-space: nowrap; }
.brand small { font: 600 10px/1.8 system-ui,sans-serif; letter-spacing: .14em; color: #9bb8e2; }
.desktop-nav { margin-left: auto; display: flex; gap: 25px; align-items: center; }
.nav-link { position: relative; color: #a6b7d2; font-size: 14px; white-space: nowrap; transition: color .25s; }
.nav-link::after { content: ""; position: absolute; bottom: -29px; height: 2px; left: 0; right: 0; background: #719dff; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-link.active, .nav-link:hover { color: #fff; }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }
.btn { position: relative; display: inline-flex; justify-content: center; align-items: center; gap: 24px; border-radius: 8px; border: 1px solid transparent; min-height: 48px; padding: 12px 22px; font-size: 15px; font-weight: 650; white-space: nowrap; transition: transform .35s var(--ease),box-shadow .35s,background .35s,border-color .35s; transform: translate(var(--magnet-x,0px),var(--magnet-y,0px)); }
.btn-primary { color: #fff; background: linear-gradient(115deg,#4168e7,#477aff 60%,#72a2ff); box-shadow: 0 8px 28px rgba(52,91,247,.22),inset 0 1px rgba(255,255,255,.2); overflow: hidden; }
.btn-primary::before { content: ""; position: absolute; inset: -40% -30%; background: linear-gradient(110deg,transparent 35%,rgba(255,255,255,.17) 50%,transparent 65%); transform: translateX(-110%); transition: transform .7s var(--ease); pointer-events: none; }
.btn-primary:hover::before { transform: translateX(110%); }
.btn-primary:hover { box-shadow: 0 13px 36px rgba(52,110,250,.36); }
.btn-ghost { background: rgba(13,24,43,.45); border-color: rgba(158,187,242,.25); color: #d4e1f6; }
.btn-ghost:hover { border-color: #729ef4; background: rgba(45,68,111,.3); }
.btn-small { min-height: 40px; padding: 9px 16px; font-size: 14px; gap: 16px; }
.btn-large { min-height: 54px; padding: 14px 25px; }
.btn span:last-child { font-size: 18px; transition: transform .3s; }
.btn:hover span:last-child { transform: translate(3px,-3px); }
.btn-play { color: #91baff; font-size: 9px; }
.menu-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #101c31; }
.menu-toggle span { width: 18px; height: 2px; background: #dceaff; transition: transform .3s,opacity .3s; }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: absolute; inset: 100% 0 auto; padding: 12px 25px 24px; background: #0a1324; border-bottom: 1px solid var(--line); box-shadow: 0 25px 40px #0005; max-height: calc(100dvh - var(--header-height)); overflow: auto; }
.mobile-menu a { display: block; padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
/* Hero: the illustration already contains its labels. No duplicate DOM cards. */
.hero { position: relative; overflow: clip; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 50% 65% at 78% 45%,rgba(35,73,143,.2),transparent 80%),linear-gradient(145deg,#070c17,#0a1121); }
.hero-stars { position: absolute; inset: 0; pointer-events: none; opacity: .3; background-image: radial-gradient(circle at 15% 25%,#badbff 1px,transparent 1.5px),radial-gradient(circle at 72% 18%,#9ec9ff 1px,transparent 1.5px),radial-gradient(circle at 82% 68%,#639dfc 1px,transparent 1.5px),radial-gradient(circle at 51% 77%,#a6c6ff 1px,transparent 1.5px); background-size: 470px 370px; animation: starDrift 25s ease-in-out infinite alternate; }
.hero-grid { position: relative; display: grid; grid-template-columns: 48% 52%; align-items: center; min-height: 640px; gap: 0; }
.hero-copy { position: relative; z-index: 2; padding: 78px 0 60px; }
.eyebrow { font: 650 12px/1.6 system-ui,sans-serif; color: #829dc7; letter-spacing: .17em; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
.signal-dot { flex: 0 0 5px; height: 5px; border-radius: 50%; background: #8acaef; box-shadow: 0 0 10px #6babed; }
.eyebrow-rule { width: 22px; height: 1px; background: #40577e; }
.hero-title { font-size: clamp(60px,5.4vw,86px); line-height: 1.22; font-weight: 750; letter-spacing: -.06em; margin: 31px 0 24px; }
.gradient-text { background: linear-gradient(100deg,#73b7ff,#b8dbff 45%,#7e9cff); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-period { color: #75a4ff; }
.hero-intro { max-width: 450px; font-size: 16px; line-height: 2; color: #a9bbd5; margin: 0; }
.hero-actions { display: flex; gap: 13px; margin-top: 31px; }
.hero-trust { display: flex; gap: 21px; margin-top: 45px; padding-top: 23px; border-top: 1px solid var(--line); max-width: 490px; color: #8196b7; font-size: 12px; }
.hero-trust span + span { padding-left: 21px; border-left: 1px solid #24324a; }
.hero-visual { position: relative; width: 112%; margin-left: -3%; height: 500px; isolation: isolate; }
.hero-parallax { position: absolute; inset: 8% 0; display: flex; align-items: center; transform: translate3d(var(--hero-x,0px),var(--hero-y,0px),0); transition: transform .6s var(--ease); }
.hero-3d { width: 100%; height: auto; mask-image: radial-gradient(ellipse 65% 68% at 50% 51%,#000 48%,transparent 79%); -webkit-mask-image: radial-gradient(ellipse 65% 68% at 50% 51%,#000 48%,transparent 79%); animation: heroFloat 6s ease-in-out infinite; }
.hero-aura { position: absolute; z-index: -1; inset: 18% 8%; background: radial-gradient(ellipse,rgba(47,102,243,.18),transparent 70%); animation: aura 12s ease-in-out infinite; }
.hero-orbit { position: absolute; z-index: -1; left: 18%; right: 15%; bottom: 11%; height: 24%; border-radius: 50%; border: 1px solid rgba(130,185,255,.13); transform: rotate(-8deg); animation: orbit 16s ease-in-out infinite; }
.hero-bottom { position: relative; display: flex; align-items: center; gap: 18px; height: 65px; color: #748daf; font: 600 11px system-ui,sans-serif; letter-spacing: .15em; }
.scroll-line { width: 70px; height: 1px; background: linear-gradient(90deg,#659bff,transparent); }
/* Shared rhythm and progressively enhanced reveals. */
.section { position: relative; padding: 56px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 70px; margin-bottom: 35px; }
.section-heading h2 { font-size: clamp(34px,3.5vw,50px); line-height: 1.4; letter-spacing: -.045em; margin: 19px 0 0; font-weight: 700; }
.section-heading em { font-style: normal; color: #a8b9d3; }
.section-heading > p { max-width: 334px; font-size: 16px; line-height: 2; color: var(--muted); margin: 0 0 8px; }
.reveal { opacity: 1; }
.js-ready .reveal { opacity: 0; transform: translate3d(0,24px,0); transition: opacity .8s var(--ease),transform .8s var(--ease); transition-delay: var(--reveal-delay,0ms); }
.js-ready .reveal.visible { opacity: 1; transform: none; }
.hero-copy .reveal:nth-child(2) { --reveal-delay: 90ms; }
.hero-copy .reveal:nth-child(3) { --reveal-delay: 180ms; }
.hero-copy .reveal:nth-child(4) { --reveal-delay: 270ms; }
.hero-copy .reveal:nth-child(5) { --reveal-delay: 360ms; }
/* Work: eight equally weighted projects and product solutions, four desktop columns. */
.work-section { background: radial-gradient(ellipse at 95% 30%,#172a4b33,transparent 55%),#0a1120; }
.work-heading { margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.filter { min-height: 42px; padding: 9px 20px; border: 1px solid var(--line); border-radius: 7px; background: #111c30; color: #9aaccc; font-size: 14px; transition: color .3s,border-color .3s,background .3s; }
.filter.active { color: #fff; border-color: #577cff; background: #345bcc; }
.filter:hover { border-color: #759ef4; color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.project-card { text-align: left; padding: 0; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #0d1727; transition: transform .45s var(--ease),border-color .4s,box-shadow .4s; }
.project-media { height: 205px; padding: 12px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 65% 30%,#2c487633,transparent 70%),#121f34; display: grid; place-items: center; }
.project-stage { width: 100%; height: 100%; min-height: 0; display: grid; place-items: center; animation: caseBreath 7s ease-in-out infinite; }
.project-stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 12px 15px #03091866); transition: transform .9s var(--ease); }
.media-solution { background: #152133; }
.media-solution .project-stage img { filter: drop-shadow(0 5px 8px #03091833); }
.media-love { background: radial-gradient(ellipse at 45% 70%,#69529244,transparent 70%),linear-gradient(135deg,#24223b,#131c30); }
.mobile-composition { position: relative; width: min(100%,390px); height: 100%; }
.phone-device { position: absolute; z-index: 2; height: 86%; aspect-ratio: 852/1847; left: 20%; top: 7%; border: 3px solid #d9daef; border-radius: 12px; overflow: hidden; background: #f5f2fd; box-shadow: 12px 22px 35px #08071888; transform: rotate(-9deg); animation: phoneBreath 6s ease-in-out infinite; }
.phone-device img { width: 100%; height: 100%; object-fit: contain; }
.phone-detail { position: absolute; z-index: 1; height: 86%; aspect-ratio: 852/1847; left: 51%; top: 7%; border: 3px solid #b9aed7; border-radius: 12px; overflow: hidden; background: #f5f2fd; transform: rotate(9deg); box-shadow: 8px 15px 25px #08071866; animation: detailBreath 6s ease-in-out -3s infinite; }
.phone-detail img { width: 100%; height: 100%; object-fit: contain; }
.project-card:nth-child(even) .project-stage { animation-delay: -3s; }
.project-info { padding: 20px; flex: 1; min-height: 168px; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); }
.project-info h3 { font-size: 20px; margin: 8px 0; font-weight: 650; }
.project-info p { color: #a8b9d1; font-size: 15px; line-height: 1.8; margin: 0; }
.project-info .eyebrow { font-size: 11px; letter-spacing: .12em; }
.project-link { display: flex; align-items: center; justify-content: space-between; color: #a6c7f5; font-size: 14px; }
.project-link > span { transition: transform .3s; font-size: 19px; }
.work-grid[data-layout-filter=mobile] { grid-template-columns: minmax(0,1fr); }
.work-grid[data-layout-filter=mobile] .project-card { display: grid; grid-template-columns: 1fr 1fr; }
.work-grid[data-layout-filter=mobile] .project-media { height: 300px; }
.work-grid[data-layout-filter=mobile] .project-info { border-top: 0; border-left: 1px solid var(--line); padding: 32px; justify-content: center; gap: 28px; }
.work-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; }
.work-bottom p { color: #869cbb; font-size: 14px; margin: 0; }
.text-link { background: transparent; border: 0; border-bottom: 1px solid #4b6b9b; padding: 0 0 7px; color: #a5caff; font-size: 15px; display: inline-flex; align-items: center; gap: 24px; transition: color .3s; }
.text-link:hover { color: #e1efff; }
/* Service scope lives with the delivery process instead of repeating a card section. */
.service-scope { display: flex; align-items: baseline; gap: 36px; padding: 20px 0; margin-bottom: 34px; border-block: 1px solid var(--line); }
.scope-label { flex-shrink: 0; color: #7e9ac1; font-size: 14px; }
.service-scope ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0; margin: 0; color: #c0cde0; font-size: 15px; }
/* Each of the first four nodes owns exactly one connector to its neighbour. */
.approach-section { background: linear-gradient(#0a1120,#080e1b); }
.process-line { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; }
.process-step { position: relative; min-width: 0; }
.process-connector { position: absolute; left: 30px; width: calc(100% + 24px); top: 29px; height: 2px; background: #273a5a; pointer-events: none; }
.process-connector i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg,#4c79ff,#99d5ff); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.process-dot { position: relative; z-index: 1; width: 60px; height: 60px; border: 1px solid #3b5276; border-radius: 50%; background: #101c30; display: grid; place-items: center; font: 600 14px system-ui,sans-serif; color: #8fa8d2; transition: color .6s,border-color .6s,box-shadow .6s,background .6s; }
.process-step h3 { font-size: 17px; margin: 25px 0 8px; font-weight: 600; }
.process-step p { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 0; }
.process-step.is-lit .process-dot { border-color: #82b9ff; color: #ddedff; background: #1b3156; box-shadow: 0 0 26px #477eff1c; }
.process-step.is-connected .process-connector i { transform: scaleX(1); }
.completion-check { display: none; }
.process-final.is-lit .process-dot > span:first-child { display: none; }
.process-final.is-lit .completion-check { display: inline; color: #b3e9e2; font-size: 22px; }
.completion-label { display: block; margin-top: 13px; color: #8cc8c5; font-size: 12px; opacity: 0; transition: opacity .7s; }
.process-final.is-lit .completion-label { opacity: 1; }
/* Company: supplied office image, editorial composition rather than a faux logo scene. */
.about-section { padding: 14px 0 56px; background: #080e1b; }
.about-grid { display: block; }
.office-gallery { position: relative; margin: 0; padding: 28px 0 0; }
.office-index { position: absolute; top: 0; right: 0; color: #637c9f; letter-spacing: .16em; font: 600 11px system-ui,sans-serif; }
.office-open { display: block; position: relative; width: 100%; overflow: hidden; border: 1px solid #40577888; border-radius: 12px; background: #10213a; padding: 0; }
.office-open img { width: 100%; height: auto; aspect-ratio: 1672/941; object-fit: cover; transform: translateY(var(--office-y,0px)) scale(1.04); transition: transform .5s var(--ease); }
.office-view { position: absolute; right: 17px; bottom: 17px; background: #07101bdd; padding: 9px 13px; border: 1px solid #adc4df55; border-radius: 5px; font-size: 13px; }
.office-gallery figcaption { padding: 20px 0 0; display: flex; align-items: center; gap: 24px; }
.office-gallery figcaption span { color: #7f9fc8; font: 600 11px system-ui,sans-serif; letter-spacing: .17em; }
.office-gallery figcaption strong { font-size: 24px; font-weight: 550; margin: 0; }
.office-gallery figcaption small { color: #94a8c4; font-size: 14px; }
.about-copy { display: grid; grid-template-columns: .95fr 1.2fr; gap: 80px; padding-top: 40px; margin-top: 36px; border-top: 1px solid var(--line); }
.about-copy h2 { font-size: clamp(32px,3vw,44px); line-height: 1.5; letter-spacing: -.04em; margin: 20px 0 0; font-weight: 650; }
.about-details > p { color: var(--muted); font-size: 16px; line-height: 2; margin: 0 0 14px; }
.about-tags { display: flex; gap: 9px; flex-wrap: wrap; margin: 23px 0; }
.about-tags span { color: #b4c9e6; font-size: 13px; padding: 7px 11px; background: #142039; border: 1px solid #33496c; border-radius: 5px; }
.delivery-note { margin: 25px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.delivery-note > span { color: #6786b1; font: 600 11px system-ui,sans-serif; letter-spacing: .13em; }
.delivery-note p { margin: 9px 0 0; color: #a0b6d4; font-size: 15px; line-height: 1.9; }
/* Contact horizon, all details accessible without an animation. */
.contact-section { position: relative; overflow: clip; text-align: center; padding: 56px 0 30px; background: linear-gradient(#0b1428,#07101e); border-top: 1px solid var(--line); }
.contact-glow { position: absolute; inset: 0; background: url('./assets/decor/cta-orbit.svg') center bottom/cover no-repeat; opacity: .5; pointer-events: none; animation: contactGlow 14s ease-in-out infinite; }
.contact-inner { position: relative; z-index: 1; }
.contact-inner h2 { font-size: clamp(38px,4.5vw,64px); line-height: 1.4; letter-spacing: -.05em; font-weight: 650; margin: 22px 0; }
.contact-intro > p { max-width: 545px; margin: 0 auto; color: #a2b6d5; font-size: 16px; line-height: 2; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 33px; }
.contact-details { margin-top: 68px; display: grid; grid-template-columns: 1fr 1fr 1.2fr; text-align: left; border-top: 1px solid var(--line); }
.contact-details > * { display: flex; flex-direction: column; gap: 8px; padding: 30px 24px; min-width: 0; }
.contact-details > * + * { border-left: 1px solid var(--line); }
.contact-details small { color: #8297b8; font-size: 13px; }
.contact-details strong { color: #deebfc; font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.contact-details > div strong { font-size: 16px; }
.contact-details span { color: #7292be; font-size: 13px; }
.contact-details a:hover span { color: #b5d8ff; }
.footer { background: #060c16; border-top: 1px solid var(--line); }
.footer-main { padding: 40px 0; display: grid; grid-template-columns: auto 1fr auto; gap: 45px; align-items: center; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; color: #94aac8; font-size: 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #8ea5c6; }
.footer a:hover { color: #d8e9ff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); color: #7890b1; font-size: 13px; }
/* Original-size previews, working project links, controllable product tour. */
body.dialog-open { overflow: hidden; }
.project-dialog { width: min(1160px,calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 40px); overflow: auto; border: 1px solid #49648e; border-radius: 14px; padding: 0; color: #ecf3ff; background: #0e192c; box-shadow: 0 30px 100px #0008; }
.project-dialog::backdrop { background: rgba(2,6,14,.88); }
.dialog-bar { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1; background: #0e192c; padding: 17px 24px; border-bottom: 1px solid var(--line); }
.dialog-close { width: 40px; height: 40px; border: 1px solid #3b5276; border-radius: 50%; background: #14233c; font-size: 25px; }
.dialog-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(260px,1fr); }
.dialog-image { display: grid; place-items: center; min-width: 0; background: #080f1c; padding: 20px; }
.dialog-image img { max-height: min(66dvh,620px); width: 100%; height: auto; object-fit: contain; }
.dialog-copy { padding: 30px 25px; }
.dialog-copy h2 { font-size: 27px; margin: 0 0 18px; }
.dialog-copy p { color: #aebfd9; font-size: 15px; line-height: 2; }
.dialog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.dialog-tags span { color: #a7c4ee; background: #1c2e4e; border-radius: 5px; padding: 5px 8px; font-size: 13px; }
.dialog-copy .dialog-visual-note { color: #9cbce5; border-left: 2px solid #4d7cc2; padding-left: 12px; font-size: 14px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.dialog-actions .btn { font-size: 14px; gap: 12px; padding: 10px 14px; }
.dialog-tour { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 16px; border-top: 1px solid var(--line); }
.dialog-tour button { border: 1px solid var(--line); border-radius: 5px; background: #15243e; min-height: 40px; padding: 7px 14px; font-size: 14px; }
.dialog-tour span { color: #94acce; font-size: 13px; }
.dialog-tour button:disabled { opacity: .45; cursor: default; }
@media (hover:hover) and (pointer:fine) {
  .project-card.visible:hover { transform: translateY(-5px); border-color: #7395ca; box-shadow: 0 20px 40px #0004; }
  .project-card:hover .project-stage img { transform: scale(1.015); }
  .project-card:hover .project-link > span { transform: translate(3px,-3px); }
}
@keyframes heroFloat { 50% { transform: translateY(-18px); } }
@keyframes caseBreath { 50% { transform: translateY(-4px); } }
@keyframes phoneBreath { 50% { transform: translateY(-6px) rotate(-6deg); } }
@keyframes detailBreath { 50% { transform: translateY(4px) rotate(6deg); } }
@keyframes aura { 50% { opacity: .65; transform: scale(1.06); } }
@keyframes orbit { 50% { transform: rotate(-3deg) scale(.96); opacity: .5; } }
@keyframes contactGlow { 50% { opacity: .7; transform: scale(1.025); } }
@keyframes starDrift { to { transform: translate3d(0,-12px,0); opacity: .2; } }
@media (min-width:1600px) { :root { --container: 1400px; } .hero-grid { min-height: 720px; } .hero-visual { height: 565px; width: 105%; } .hero-title { font-size: 92px; } .project-media { height: 235px; } }
@media (max-width:1180px) {
  .container { width: calc(100% - 56px); }
  .nav-wrap { gap: 22px; }
  .desktop-nav { gap: 18px; }
  .nav-cta { display: none; }
  .hero-title { font-size: 66px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 13px 18px; gap: 14px; }
  .about-copy { gap: 40px; }
  .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-media { height: 250px; }
}
@media (max-width:940px) {
  :root { --header-height: 72px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .nav-cta { display: inline-flex; margin-left: auto; }
  .nav-cta + .menu-toggle { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; min-height: 590px; }
  .hero-title { font-size: clamp(48px,6.5vw,62px); }
  .hero-eyebrow { white-space: normal; flex-wrap: wrap; }
  .hero-trust { flex-wrap: wrap; gap: 12px; }
  .hero-trust span + span { padding-left: 12px; }
  .hero-visual { height: 410px; }
  .hero-actions { flex-wrap: wrap; }
  .section-heading { gap: 30px; }
  .section { padding: 46px 0; }
  .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-media { height: 230px; padding: 15px; }
  .service-scope { gap: 22px; }
  .service-scope ul { gap: 10px 20px; }
  .project-info { padding: 21px; }
  .project-info h3 { font-size: 20px; }
  .about-copy { gap: 30px; }
  .about-section { padding-top: 10px; }
  .office-gallery figcaption { flex-wrap: wrap; gap: 10px 20px; }
  .process-line { gap: 18px; }
  .process-connector { width: calc(100% + 18px); }
  .process-step h3 { font-size: 15px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-main .brand { justify-self: start; }
  .footer-nav { grid-row: 2; grid-column: 1/-1; justify-content: flex-start; }
  .footer-contact { justify-self: end; }
  .contact-details strong { font-size: 15px; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-image img { max-height: 50dvh; }
  .dialog-copy { padding: 24px; }
}
@media (max-width:700px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 65px 0 0; }
  .hero-title { font-size: clamp(47px,10vw,67px); }
  .hero-intro { max-width: 490px; }
  .hero-visual { width: 100%; max-width: 540px; margin: 0 auto; height: 365px; }
  .hero-parallax { inset: 0; }
  .hero-trust { margin-top: 30px; }
  .hero-bottom { height: 53px; }
  .section-heading { display: block; }
  .section-heading > p { max-width: 490px; margin: 20px 0 0; font-size: 15px; }
  .work-grid { grid-template-columns: 1fr; }
  .project-media { height: 255px; }
  .work-grid[data-layout-filter=mobile] .project-card { display: flex; }
  .work-grid[data-layout-filter=mobile] .project-info { padding: 21px; border-left: 0; border-top: 1px solid var(--line); }
  .work-grid[data-layout-filter=mobile] .project-media { height: 255px; }
  .service-scope { align-items: flex-start; gap: 15px; }
  .work-bottom { align-items: flex-start; flex-direction: column; }
  .about-copy { grid-template-columns: 1fr; gap: 25px; padding-top: 28px; margin-top: 26px; }
  .process-line { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .process-step { display: grid; grid-template-columns: 60px 1fr; gap: 0 24px; min-height: 135px; padding-bottom: 25px; }
  .process-dot { grid-row: 1/4; width: 52px; height: 52px; align-self: start; }
  .process-step h3 { margin: 0 0 7px; font-size: 17px; }
  .process-step p,.completion-label { grid-column: 2; }
  .process-connector { left: 25px; top: 26px; width: 2px; height: 100%; }
  .process-connector i { transform: scaleY(0); transform-origin: top; background: linear-gradient(#4c79ff,#99d5ff); }
  .process-step.is-connected .process-connector i { transform: scaleY(1); }
  .process-final { min-height: 0; padding-bottom: 0; }
  .completion-label { margin-top: 8px; }
  .contact-details { grid-template-columns: 1fr; margin-top: 45px; }
  .contact-details > * { padding: 23px 0; }
  .contact-details > * + * { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width:480px) {
  .container { width: calc(100% - 36px); }
  .brand img { width: 42px; height: 40px; }
  .brand strong { font-size: 19px; }
  .nav-cta { display: none; }
  .nav-cta + .menu-toggle { margin-left: auto; }
  .hero-copy { padding-top: 48px; }
  .hero-eyebrow { font-size: 10px; gap: 8px; letter-spacing: .07em; }
  .eyebrow-rule { width: 15px; }
  .hero-title { margin: 25px 0 22px; }
  .hero-intro { font-size: 15px; }
  .hero-actions .btn { padding: 12px 15px; min-height: 48px; font-size: 14px; gap: 12px; }
  .hero-trust { font-size: 12px; gap: 9px 14px; }
  .hero-trust span + span { padding-left: 9px; }
  .hero-visual { height: 280px; }
  .hero-bottom { font-size: 11px; gap: 10px; }
  .scroll-line { width: 35px; }
  .section { padding: 38px 0; }
  .section-heading h2 { font-size: 33px; }
  .filter { padding: 9px 12px; font-size: 13px; }
  .filters { gap: 7px; }
  .project-media { height: 240px; padding: 14px; }
  .service-scope { flex-direction: column; gap: 12px; }
  .service-scope ul { font-size: 14px; gap: 10px 18px; }
  .project-info { padding: 20px; gap: 10px; }
  .project-info .eyebrow { font-size: 11px; letter-spacing: .11em; }
  .project-info p { font-size: 14px; }
  .office-gallery figcaption { flex-wrap: wrap; gap: 8px 14px; }
  .office-gallery figcaption strong { font-size: 21px; }
  .about-copy h2 { font-size: 32px; }
  .about-section { padding-top: 10px; }
  .contact-section { padding: 42px 0 28px; }
  .contact-inner h2 { font-size: 36px; }
  .contact-intro > p { font-size: 15px; }
  .contact-actions .btn { padding: 12px 16px; gap: 13px; min-height: 49px; font-size: 14px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-contact { grid-row: 3; justify-self: start; }
  .footer-nav { gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 9px; }
  .project-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .dialog-bar { padding: 12px 16px; }
  .dialog-image { padding: 12px; }
  .dialog-tour { gap: 12px; }
  .dialog-tour button { padding: 7px 12px; }
}
/* Playback is automatic; respect reduced motion and pause offscreen loops. */
html[data-motion=off] *,html[data-motion=off] *::before,html[data-motion=off] *::after,
html[data-page-hidden=true] *,html[data-hero-visible=false] .hero *,html[data-work-visible=false] .work-grid * { animation-play-state: paused !important; }
html[data-motion=off] { scroll-behavior: auto; }
html[data-motion=off] .reveal { opacity: 1; transform: none; transition: none; }
html[data-motion=off] .btn,html[data-motion=off] .hero-parallax { transform: none; }
html[data-motion=off] .office-open img { transform: none; }
html[data-motion=off] .process-connector i { transition: none; }
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
  .hero-parallax,.btn,.office-open img { transform: none !important; }
}
