/* Main-site art direction only. Independent customer sites never load this file.
   Native CSS glass approximation. Layers: content 1, devices 2, header 30, dialogs 60.
   Shape scale: controls 12px, panels 20px, feature surfaces 28px.
   DESIGN_VARIANCE 8 / MOTION_INTENSITY 6 / VISUAL_DENSITY 5. */
:root {
  color-scheme: dark;
  --paper: #0c1023; --paper-light: #f3f4fc; --paper-deep: #171d37;
  --ink: #f3f4fc; --ink-soft: #abb3ce;
  --accent: #a8a5ff; --accent-secondary: #b5b4ff; --accent-soft: #25284b;
  --line: #343b5b; --line-soft: #242c49; --success: #a2b0f9; --danger: #ffb4bd;
  --display: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
body { background: var(--paper); }
.page { animation: none; }
.site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: #d4daff38; box-shadow: inset 0 1px 0 #ffffff12,0 12px 40px #03071b30; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(115deg,#161e3b59,#33356826 60%,#111a3847); backdrop-filter: blur(12px) saturate(165%); -webkit-backdrop-filter: blur(12px) saturate(165%); pointer-events: none; }
.brand-copy strong { letter-spacing: -.07em; }
.brand-copy small { color: #a3acc8; }
.main-nav a { color: #bec4da; }
.main-nav a:hover,.main-nav a[aria-current] { color: #fff; }
.button { background: linear-gradient(120deg,#6960ed,#4940cb); border: 1px solid #a9a5ff78; color: #fff; border-radius: 12px; box-shadow: inset 0 1px 2px #fff5,0 8px 24px #3d3acb36; font-weight: 600; }
.button:hover { background: linear-gradient(120deg,#796ff8,#574bda); border-color: #c6c2ff; box-shadow: inset 0 1px 2px #fff6,0 10px 30px #5854da4a; }
.button-secondary { background: #161c35b3; color: #f0f1ff; border-color: #6872a080; box-shadow: inset 0 1px 0 #ffffff08; }
.button-secondary:hover { color: #fff; background: #242a4d; border-color: #969ddd; box-shadow: none; }
.button-quiet { color: var(--ink-soft); background: transparent; border-color: transparent; box-shadow: none; }
.button-quiet:hover { background: #242b45; color: #fff; }
.inline-action { color: #b4b1ff; }
.inline-action:hover { color: #e5e3ff; }
.eyebrow { color: #b5bdd9; }
.skip-link { color: #11182e; }
.mobile-start { display: none; }
.page-heading h1,.intake-heading h1,.preview-heading h1,.published-intro h1 { font-weight: 600; letter-spacing: -.045em; }
.page-heading,.intake-heading,.preview-heading { position: relative; }
.page-heading::after { content: ''; position: absolute; width: 170px; height: 1px; background: linear-gradient(90deg,#aaa9ff,transparent); bottom: 0; left: 0; }

/* The hero image supplies the material; the website, text and controls are real DOM. */
.studio-home { background: none; }
.studio-hero { position: relative; isolation: isolate; margin-top: -90px; padding-top: 104px; overflow: clip; background: #0b1025 url('assets/studio-glass-background.png') center center / cover no-repeat; }
.studio-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0b1025e8 0%,#0b10258a 32%,transparent 58%),linear-gradient(0deg,var(--paper),transparent 18%); }
.glass-flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.glass-flow.is-ready { opacity: 1; }
.studio-hero[data-flow="fallback"] .glass-flow { transition: none; }
@media (prefers-reduced-motion: reduce) { .glass-flow { display: none; transition: none; } }
.studio-hero-inner { min-height: 555px; display: grid; grid-template-columns: .95fr 1.15fr; align-items: center; gap: 30px; padding-block: 42px 35px; }
.studio-hero-copy { position: relative; z-index: 3; padding-bottom: 30px; }
.studio-hero-copy .eyebrow { margin-bottom: 28px; font-size: 13px; letter-spacing: .15em; color: #c0c5e6; }
.studio-hero h1 { font-size: clamp(42px,4.4vw,62px); line-height: 1.35; letter-spacing: -.045em; font-weight: 700; text-wrap: nowrap; text-shadow: 0 3px 20px #050a3040; }
.studio-hero h1 > span { color: #a3a0ff; }
.studio-lede { color: #c7cbe0; font-size: 16px; line-height: 1.9; margin: 25px 0 32px; }
.studio-hero .button { min-height: 52px; padding-inline: 28px; }
.studio-scene { position: relative; height: 475px; perspective: 1500px; isolation: isolate; }
.studio-desktop { position: absolute; width: 100%; top: 17px; left: 2%; padding: 7px; border: 1px solid #c7ccffbd; border-radius: 20px; background: linear-gradient(135deg,#c5bcff35,#7f8cea21 70%,#e0d9ff66); box-shadow: inset 0 0 0 2px #acb0ff26,inset 0 1px 5px #e5dfffaa,0 22px 65px #010313a3,0 0 18px #8283ff40; transform: rotateY(-12deg) rotateZ(-3deg); transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.studio-desktop:hover { transform: rotateY(-4deg) rotateZ(-1deg) translateY(-6px); }
.device-toolbar { height: 29px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; color: #dedfff; font-size: 10px; letter-spacing: .025em; }
.studio-desktop img { width: 100%; height: auto; aspect-ratio: 1.44; border-radius: 11px; border: 1px solid #0b0e22; }
.studio-phone { position: absolute; z-index: 2; left: -8%; bottom: -3px; width: 155px; padding: 5px; border-radius: 24px; border: 1px solid #dddfffbd; background: #1e233d; box-shadow: 0 15px 35px #000713b3,inset 0 0 0 2px #fff2; transform: rotateZ(5deg); transition: transform .6s ease; }
.studio-phone:hover { transform: rotateZ(0) translateY(-8px); }
.studio-phone img { border-radius: 19px; width: 100%; height: auto; }
.scene-caption { display: flex; align-items: center; justify-content: flex-end; gap: 24px; padding: 20px 0 26px; font-size: 11px; color: #aeb6d8; }
.scene-caption > span { color: #7f8bab; }
.scene-caption a { color: #d2d3ff; }
.service-proof { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; padding-block: 25px; border-block: 1px solid #6678ae30; }
.service-proof > div { position: relative; padding: 22px 24px; border: 1px solid #acb9ec26; border-radius: 24px; background: linear-gradient(120deg,#6672a21a,#6574b008); box-shadow: inset 0 1px 0 #ffffff0b; transition: transform .55s cubic-bezier(.22,1.7,.36,1),border-color .3s,background .3s,box-shadow .3s; }
.service-proof span { font-size: 20px; font-weight: 500; letter-spacing: -.03em; color: #e8eafd; }
.service-proof p { font-size: 12px; color: #a3b1d0; margin-top: 9px; line-height: 1.7; }
@media (hover:hover) and (pointer:fine) {
  .service-proof > div:hover { transform: translateY(-5px) scale(1.015); border-color: #bcbaff77; background: linear-gradient(120deg,#7b79c537,#6983c31a); box-shadow: inset 0 1px 0 #ffffff29,0 13px 30px #02071c4a; }
  .service-proof > div:hover span { color: #fff; }
}
@media (prefers-reduced-motion:reduce) { .service-proof > div { transition: none; } .service-proof > div:hover { transform: none; } }
.studio-section-heading { margin-bottom: 45px; max-width: 780px; }
.studio-section-heading h2 { font-size: clamp(32px,3.3vw,46px); line-height: 1.4; letter-spacing: -.035em; font-weight: 600; }
.studio-section-heading > p:not(.eyebrow) { color: var(--ink-soft); font-size: 15px; line-height: 1.9; margin-top: 20px; }
.showcase-case-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; }
.case-kicker { display: block; color: #9aa6cb; font-size: 12px; margin-bottom: 9px; }
.showcase-case-head h3 { font-size: 28px; font-weight: 500; }
.showcase-case-head h3 > span { font-size: 15px; color: var(--ink-soft); margin-left: 18px; font-weight: 400; }
.craft-showcase { padding: 26px 0 0; border-top: 1px solid #7c86c14a; }
.showcase-tabs { position: relative; isolation: isolate; overflow: hidden; display: flex; width: fit-content; padding: 4px; background: #080d2166; border: 1px solid #7982b329; border-radius: 12px; margin-bottom: 25px; }
.showcase-tabs button { position: relative; z-index: 1; border: 0; border-radius: 8px; padding: 10px 21px; color: #aeb8d7; font-size: 13px; background: transparent; cursor: pointer; transition: color .2s,transform .22s cubic-bezier(.2,.8,.2,1); }
.showcase-tabs button[aria-selected="true"] { background: #6563b444; color: #e9e9ff; box-shadow: inset 0 0 0 1px #9091db55; }
.showcase-tabs.has-tab-indicator button[aria-selected="true"] { background: transparent; box-shadow: none; }
/* WAAPI owns motion. No CSS transition, even when the global reduced-motion
   rule supplies a tiny nonzero duration: it would add a stale-position frame. */
.showcase-tab-indicator { position: absolute; top: 4px; bottom: 4px; left: 0; z-index: 0; border-radius: 8px; pointer-events: none; transform-origin: left center; transition-property: none; background: #6563b444; box-shadow: inset 0 0 0 1px #9091db55,inset 0 1px 0 #d7d5ff0f; }
.showcase-tabs button:active { transform: scale(.95); }
.showcase-tabs button:focus-visible { outline: 2px solid #c0b6ff; outline-offset: -3px; }
.showcase-tabs button:hover { color: #fff; }
@media (prefers-reduced-motion:reduce) { .showcase-tabs button { transition: none; } .showcase-tabs button:active { transform: none; } }
.craft-body { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(250px,.8fr); align-items: center; gap: 42px; }
.craft-screen { height: 450px; border-radius: 14px; overflow: hidden; background: #080d1d; border: 1px solid #707ca038; display: flex; align-items: center; justify-content: center; }
.craft-screen img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.craft-showcase[data-view="mobile"] .craft-screen { background: url('assets/studio-glass-background.png') center / cover; }
.craft-showcase[data-view="mobile"] .craft-screen img { width: auto; max-width: 100%; padding: 12px; border-radius: 30px; }
.craft-description { padding-right: 16px; }
.craft-description > span { font-size: 12px; color: #a5afe0; }
.craft-description h4 { margin: 18px 0; font-size: 26px; font-weight: 500; line-height: 1.5; letter-spacing: -.03em; }
.craft-description > p { color: #a6b0cc; font-size: 14px; line-height: 1.9; }
.craft-detail-list { display: grid; gap: 11px; padding-block: 24px; margin-top: 20px; border-top: 1px solid var(--line); }
.craft-detail-list > span { font-size: 12px; color: #d0d5e8; }
.source-note { color: #939dbb; font-size: 11px; line-height: 1.8; margin-top: 20px; }
.craft-section { padding-top: 10px; }
.craft-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; }
.craft-grid article { min-width: 0; }
.craft-feature-media { background: transparent; }
.media-slices { height: 350px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.media-slices img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s; }
.media-slices img:hover { transform: scale(1.045); }
.craft-tile-copy { padding: 28px 0 0; }
.craft-tile-copy > span,.craft-feature-type > span { font-size: 12px; color: #bdc6ea; }
.craft-grid h3 { font-size: 28px; font-weight: 500; letter-spacing: -.035em; line-height: 1.5; margin: 18px 0; }
.craft-grid p { font-size: 14px; color: #b0bbd5; line-height: 1.9; }
.craft-feature-type { padding: 28px 0 0 34px; border-left: 1px solid var(--line); background: none; }
.craft-feature-type h3 { font-size: 34px; margin-top: 28px; }
.content-evidence { display: grid; gap: 20px; margin-block: 32px; }
.content-evidence > div { display: grid; gap: 8px; padding-block: 12px; border-top: 1px solid var(--line-soft); }
.content-evidence small { color: #b4bbd9; font-size: 11px; }
.content-evidence strong { font-size: 15px; font-weight: 500; }
.craft-feature-type p.tile-footnote { font-size: 11px; }
.studio-process { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; border-top: 1px solid var(--line-soft); }
.studio-process .studio-section-heading h2 { font-size: 36px; }
.service-decision { padding-top: 20px; }
.service-decision > h2 { font-size: 36px; font-weight: 600; margin-bottom: 32px; letter-spacing: -.03em; }
.service-options { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.service-options > a { padding: 30px; border-top: 1px solid #838dd563; background: linear-gradient(140deg,#2026409e,transparent); border-radius: 0 0 20px 20px; transition: background .25s; }
.service-options > a:hover { background: #222b4877; }
.service-options span { color: #a8b2d0; font-size: 12px; }
.service-options h3 { margin: 18px 0 14px; font-size: 24px; font-weight: 500; }
.service-options p { font-size: 14px; color: #a8b2d0; line-height: 1.9; }
.service-options strong { display: inline-block; margin-top: 28px; font-size: 13px; color: #c0bcff; font-weight: 400; }
.studio-final { position: relative; border-block: 1px solid #8f9ade45; margin-bottom: 88px; padding: 80px 0; background: none; }
.studio-final h2 { font-size: 46px; line-height: 1.4; font-weight: 600; letter-spacing: -.035em; }
.studio-final p { color: #b8c1da; font-size: 15px; margin-block: 22px 30px; }

/* Shared routes: same brand language with less motion around reading and forms. */
.case-card,.catalog-wide .case-card { background: #171d33; border: 1px solid #454f783f; box-shadow: 0 18px 45px #05091530; }
.case-image { background: #1b2440; }
.case-image img { filter: none; }
.case-image > span { position: static; display: block; width: fit-content; margin: 15px 22px; padding: 0; background: none; color: #aeb7d6; }
.concept-visual { background: #2f3159 url('assets/studio-glass-background.png') center/cover; }
.concept-engineering { background-position: right; }
.concept-sheet,.concept-engineering .concept-sheet { background: none; border: 0; color: #e1e3fc; transform: none; padding: 10px; box-shadow: none; }
.concept-sheet strong { font-size: 30px; }
.quote-band { background: #181f38; }
.plan-card,.plan-card:first-child { background: linear-gradient(155deg,#232b4366,#141a2f); border-color: #4a557840; }
.plan-card.is-featured { background: linear-gradient(145deg,#373364,#22284b); border-color: #8682d6; box-shadow: 0 15px 55px #4c48a21c; }
.plan-badge { background: #a6a4ff1a; color: #d0ccff; }
.is-featured .button { background: linear-gradient(120deg,#6960ed,#4940cb); }
.plan-content li::before { content: '\2713'; color: #a3a0e2; }
.plan-note { border-color: var(--line); }
.intake-card,.delivery-panel,.published-card { background: #151b30; border-color: #6874a438; }
.form-progress { background: #1b2239; }
.form-progress .is-current button { background: #41416c; color: #f1f0ff; box-shadow: inset 0 0 0 1px #bcb7ff2e; }
.form-error { background: #442735; color: #ffd3d7; }
.field input,.field textarea { background: #10172b; color: #eef0fc; border-color: #465277; }
.field input:focus,.field textarea:focus { background: #1a223b; border-color: #a09bff; outline-color: #a09bff22; }
.field input::placeholder,.field textarea::placeholder { color: #a0aac5; }
.upload-box { border-color: #657198; border-radius: 12px; }
.choice-card input:checked + span { background: #514b99; color: #fff; }
.privacy-note { background: #282b4b; color: #c4c8e4; border-color: #62658b66; }
.draft-summary { background: linear-gradient(145deg,#34315e,#202d4a); border-color: #a1a8d53b; }
.draft-summary > div,.draft-summary > p { border-color: #a1a8d52e; }
.browser-frame,.profile-preview { background: #151d32; }
.browser-bar { background: #1c2540; }
.profile-head,.profile-projects,.profile-project-grid article,.profile-contact { border-color: #44517180; }
.profile-head span,.profile-intro p,.profile-project-grid p,.profile-section-title span { color: #a9b5cf; }
.profile-intro h3 { font-size: 21px; }
.profile-section-title h3 { font-size: 25px; font-weight: 500; }
.profile-project-grid strong { font-weight: 500; }
.project-placeholder { background: #26314d; }
.profile-preview[data-color="blue"] { --accent-secondary: #98c0ff; }
.profile-preview[data-color="violet"] { --accent-secondary: #bcb0ff; }
.profile-preview[data-color="ink"] { --accent-secondary: #b4c2e5; }
.profile-preview[data-color="slate"] { --accent-secondary: #b7bfce; }
.color-choice > span { border: 1px solid #ffffff55; }
.delivery-next { background: linear-gradient(145deg,#343262,#243250); }
.delivery-orbit { background: #8b87de22; border-color: #b5aff95e; }
.site-footer { background: #0a0f21; border-color: #606c9633; }
.detail-drawer,.modal { background: #182039; box-shadow: 0 20px 100px #01051588; border: 1px solid #8b96c13d; }
.drawer-backdrop,.modal-backdrop { background: #03091b9c; }
.toast { background: #d9dcf9; color: #151c37; border: 1px solid #fff8; }
.menu-button { color: #d5d3ff; background: #7b78c229; }
.main-nav.is-open { background: #192139f5; border-color: #8290c23f; }
@media (prefers-reduced-motion: no-preference) {
  .studio-hero-copy { animation: arrive .7s both; }
  .studio-scene { animation: arrive 1s .12s both; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: #13192e; backdrop-filter: none; }
  .studio-desktop { background: #3a3f66; }
  .modal-backdrop,.drawer-backdrop { backdrop-filter: none; }
}
@media (max-width:1100px) {
  .studio-hero-inner { grid-template-columns: 1fr 1.12fr; gap: 20px; min-height: 525px; }
  .studio-hero h1 { font-size: 45px; }
  .studio-lede { font-size: 14px; }
  .studio-scene { height: 390px; }
  .studio-desktop { top: 25px; }
  .studio-phone { width: 125px; bottom: 5px; }
  .craft-body { grid-template-columns: 1.5fr 1fr; gap: 28px; }
  .craft-screen { height: 365px; }
  .studio-process { gap: 40px; }
  .craft-grid h3 { font-size: 26px; }
}
@media (max-width:800px) {
  .mobile-start { display: block; color: #d7d2ff !important; }
  .studio-hero { padding-top: 95px; margin-top: -75px; background-position: 65% center; }
  .studio-hero::before { background: linear-gradient(180deg,#0b1025e6 0%,#0b102587 35%,transparent 65%,var(--paper)); }
  .studio-hero-inner { grid-template-columns: 1fr; padding-block: 35px 0; gap: 0; }
  .studio-hero-copy { padding-bottom: 15px; }
  .studio-hero h1 { font-size: 52px; }
  .studio-scene { height: 440px; width: 90%; margin-inline: auto; }
  .studio-desktop { width: 100%; left: 6%; top: 20px; transform: rotateY(-8deg) rotateZ(-3deg); }
  .studio-phone { width: 136px; left: -6%; bottom: 10px; }
  .scene-caption { flex-wrap: wrap; gap: 10px 20px; padding-block: 10px 25px; justify-content: flex-start; }
  .service-proof { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service-proof > div { padding: 20px; }
  .craft-body { grid-template-columns: 1fr; gap: 26px; }
  .craft-screen { height: 390px; }
  .craft-description { padding: 0 6px 10px; }
  .craft-description h4 br { display: none; }
  .craft-detail-list { display: flex; flex-wrap: wrap; gap: 14px; padding-block: 18px; }
  .craft-grid,.studio-process { grid-template-columns: 1fr; }
  .studio-process { gap: 0; }
  .service-options { gap: 20px; }
  .service-options > a { padding: 24px; }
  .studio-final { padding: 44px; }
}
@media (max-width:560px) {
  .studio-hero-inner { padding-top: 28px; }
  .studio-hero h1 { font-size: clamp(31px,9.5vw,42px); line-height: 1.4; letter-spacing: -.045em; }
  .studio-hero-copy .eyebrow { font-size: 11px; margin-bottom: 20px; }
  .studio-lede { font-size: 13px; line-height: 1.95; margin-block: 19px 25px; }
  .studio-hero .button { min-height: 48px; padding-inline: 22px; font-size: 13px; }
  .studio-scene { height: 315px; width: 94%; margin-top: 12px; }
  .studio-desktop { top: 15px; width: 100%; padding: 5px; border-radius: 13px; }
  .device-toolbar { height: 23px; font-size: 8px; padding-inline: 7px; }
  .studio-desktop img { border-radius: 8px; }
  .studio-phone { width: 97px; border-radius: 16px; padding: 4px; left: -1%; bottom: 7px; }
  .studio-phone img { border-radius: 12px; }
  .scene-caption { gap: 7px 14px; font-size: 10px; padding-block: 9px 24px; }
  .scene-caption > span { display: none; }
  .service-proof { padding-block: 20px; gap: 10px; }
  .service-proof > div { padding: 18px 14px; border-radius: 20px; }
  .service-proof span { font-size: 16px; }
  .service-proof p { font-size: 11px; }
  .studio-section-heading { margin-bottom: 30px; }
  .studio-section-heading h2,.studio-process .studio-section-heading h2 { font-size: 29px; }
  .studio-section-heading > p:not(.eyebrow) { font-size: 14px; }
  .studio-section-heading p br { display: none; }
  .showcase-case-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .showcase-case-head h3 { font-size: 25px; }
  .showcase-case-head h3 > span { font-size: 13px; }
  .craft-showcase { padding: 13px; border-radius: 18px; }
  .showcase-tabs { width: 100%; margin-bottom: 15px; }
  .showcase-tabs button { flex: 1; padding: 10px 7px; font-size: 12px; }
  .craft-screen { height: 265px; border-radius: 10px; }
  .craft-description h4 { font-size: 23px; }
  .craft-description h4 br { display: block; }
  .craft-detail-list { flex-direction: column; }
  .source-note { font-size: 10px; }
  .craft-section { padding-top: 0; }
  .media-slices { height: 210px; }
  .craft-tile-copy,.craft-feature-type { padding: 25px; }
  .craft-grid h3 { font-size: 25px; }
  .craft-feature-type h3 { font-size: 30px; }
  .service-options { grid-template-columns: 1fr; }
  .service-decision > h2 { font-size: 28px; }
  .service-options h3 { font-size: 23px; }
  .studio-final { padding: 35px 25px; margin-bottom: 60px; border-radius: 22px; }
  .studio-final h2 { font-size: 31px; }
  .studio-final p { font-size: 13px; }
}
