@font-face { font-family: 'Barlow Condensed'; src: url('../assets/fonts/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; src: url('../assets/fonts/barlow-semi-condensed-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: dark; --bg: #070709; --text: #F0F0F2; --muted: #A8AEAD; --blue: #3D8FFF; --violet: #8B3FFF; --gold: #DEAD00; --client-green: 48,111,91; --client-gold: 213,189,143; --client-third: 213,189,143; --studio-spectrum: linear-gradient(270deg,var(--blue) 0%,var(--violet) 55%,var(--gold) 100%); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 14px/1.6 'Inter',sans-serif; -webkit-font-smoothing: antialiased; }
button,a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; font: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible,button:focus-visible { outline: 1px solid var(--blue); outline-offset: 8px; border-radius: 2px; }
[hidden] { display: none !important; }
::selection { color: white; background: #514082; }
.atmosphere { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.atmosphere canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#heroSande { filter: blur(.5px) contrast(1.2) drop-shadow(0 0 10px rgba(61,143,255,.4)); mix-blend-mode: screen; }
.light-field { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Draw from the entry edge; release the tail only after the head exits. */
.beam-train { --flight-cycle: 20s; --flight-delay: 0s; }
.beam-return { --flight-cycle: 24s; --flight-delay: 8s; }
.comet { --beam-index: 0; --beam-opacity: .28; --beam-delay: calc(var(--flight-delay) + var(--beam-index) * 200ms); color: rgb(var(--beam-color)); opacity: 0; transform: translate(calc(var(--beam-index) * var(--beam-offset-x,0px)),calc(var(--beam-index) * var(--beam-offset-y,17.5px))); animation: comet-pass var(--flight-cycle) linear var(--beam-delay) infinite; }
.comet-green { color: rgb(var(--client-green)); }
.comet-gold { color: rgb(var(--client-gold)); --beam-opacity: .18; }
.comet use { fill: none; stroke: currentColor; stroke-width: 5.5px; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: comet-trail var(--flight-cycle) linear var(--beam-delay) infinite; }
.scene { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 48px 34px; overflow: clip; }
.composition { width: min(100%,700px); }
.project-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.client-logo { flex-shrink: 0; width: 196px; height: auto; opacity: .83; }
.client-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 0 24px; }
.client-preview,.client-contact { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; color: rgb(var(--client-gold)); text-decoration: underline; text-decoration-color: rgba(var(--client-gold),.4); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .3s,text-decoration-color .3s; }
.client-preview:hover,.client-preview:focus-visible,.client-contact:hover,.client-contact:focus-visible { color: var(--text); text-decoration-color: currentColor; }
.client-preview:not([href]),.client-preview[href=''] { display: none; }
.client-contact { gap: 6px; }
.client-contact-icon { display: none; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: butt; stroke-linejoin: miter; }
.client-contact[href^='mailto:' i] .client-contact-mail,.client-contact[href^='tel:' i] .client-contact-phone { display: block; }
.announcement { display: flex; align-items: center; justify-content: center; gap: 21px; min-height: 161px; }
.compass-stage { position: relative; flex: 0 0 147px; height: 161px; display: grid; place-items: center; }
.compass-touch { position: relative; width: 127px; height: 127px; display: grid; place-items: center; border-radius: 50%; }
.compass { position: relative; display: block; width: 120px; height: 120px; animation: compass-turn 18s cubic-bezier(.45,0,.3,1) infinite, compass-drift 75s linear infinite; }
.compass-light { position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(circle,rgba(139,63,255,.07),transparent 68%); transition: transform .8s; }
.compass-touch:hover .compass-light { transform: scale(1.4); }
.letter-field { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.flying-letter { position: absolute; top: 50%; left: 50%; font: 700 clamp(29.4px,3.15vw,44.8px)/1 'Barlow Semi Condensed',sans-serif; }
h1 { position: relative; margin: 0; font: 700 clamp(49px,6.86vw,98px)/1 'Barlow Condensed',sans-serif; letter-spacing: -.025em; white-space: nowrap; }
h1 > span { color: inherit; }
.maintenance-notice { margin: 10px 0 0; color: rgb(var(--client-gold)); font-size: 15px; font-weight: 600; line-height: 1.7; text-align: center; text-wrap: pretty; }
.maintenance-notice:empty { display: none; }
.studio-line { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 29px; margin-top: 24px; padding-top: 23px; border-top: 1px solid rgba(var(--client-gold),.3); }
.maker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; color: rgb(var(--client-gold)); font-size: 14px; font-weight: 600; }
.powered-brand { color: var(--text); font: 700 26px/1 'Barlow Condensed',sans-serif; white-space: nowrap; }
.powered-brand > span { color: var(--text); }
.powered-brand:hover { text-shadow: 0 0 14px rgba(240,240,242,.4); }
.studio-action { flex: 0 0 auto; }
.invitation-prompt { margin: 0 0 10px; color: rgb(var(--client-gold)); font-size: 14px; font-weight: 600; }
/* Open typography with the immersive site's cryptic hover sequence. */
.studio-invitation { position: relative; display: inline-flex; align-items: center; min-height: 48px; }
.studio-invitation::after { content: ''; position: absolute; right: 0; bottom: -6px; width: 0; height: 2px; background: linear-gradient(270deg,var(--blue) 0%,#9D5CFF 55%,var(--gold) 100%); transition: width .5s cubic-bezier(.16,1,.3,1); }
.studio-invitation:hover::after,.studio-invitation:focus-visible::after { width: 100%; }
.invitation-title { font: 700 42px/1.15 'Barlow Condensed',sans-serif; letter-spacing: .025em; text-transform: uppercase; white-space: nowrap; color: var(--text); text-shadow: 0 0 0 var(--blue); transition: color .3s cubic-bezier(.25,.46,.45,.94),text-shadow .3s cubic-bezier(.25,.46,.45,.94); }
.invitation-glyph { display: inline-block; position: relative; }
.invitation-glyph::before { content: attr(data-letter); visibility: hidden; }
.invitation-glyph > span { position: absolute; inset: 0; text-align: center; }
.studio-invitation:hover .invitation-title,.studio-invitation:focus-visible .invitation-title { color: var(--blue); text-shadow: 0 0 15px rgba(61,143,255,.6); }
.motion-control { position: fixed; right: 22px; bottom: 18px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; color: #A3ACAA; opacity: .6; }
.motion-control:hover { opacity: 1; }
.motion-control svg,.close-contact svg { fill: none; stroke: currentColor; stroke-width: 1; }
.play-icon { display: none; }
.motion-control[aria-pressed='true'] .pause-icon { display: none; }
.motion-control[aria-pressed='true'] .play-icon { display: block; }
html.motion-paused .atmosphere *,html.motion-paused .scene *,html.motion-paused .scene *::before,html.motion-paused .scene *::after { animation-play-state: paused !important; }
body.contact-open { overflow: hidden; }
dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 40px 26px; border: 0; background: rgba(7,9,10,.91); color: var(--text); backdrop-filter: blur(24px); }
dialog::backdrop { background: rgba(0,0,0,.3); }
dialog[open] { display: grid; place-items: center; animation: reveal .45s ease both; }
.contact-space { width: min(100%,620px); }
.close-contact { position: fixed; right: 26px; top: 26px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--muted); transition: transform .4s; }
.close-contact:hover { transform: rotate(90deg); }
.dialog-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.dialog-logo { display: block; width: 64px; height: 64px; }
.dialog-wordmark { display: inline-flex; gap: 3px; font: 700 40px/1 'Barlow Semi Condensed',sans-serif; letter-spacing: .025em; }
.dialog-wordmark span:nth-child(1) { color: var(--blue); }
.dialog-wordmark span:nth-child(2) { color: var(--gold); }
.dialog-wordmark span:nth-child(3) { color: var(--violet); }
.dialog-wordmark span:nth-child(4) { background: var(--studio-spectrum); background-clip: text; color: transparent; }
h2 { margin: 0 0 42px; font: 700 clamp(56px,7vw,86px)/.98 'Barlow Condensed',sans-serif; letter-spacing: -.01em; }
.idea-label { display: block; color: #C8C8D2; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
textarea { display: block; width: 100%; resize: vertical; min-height: 96px; max-height: 220px; padding: 0 0 18px; border: 0; border-bottom: 1px solid rgba(240,240,242,.22); border-radius: 0; background: transparent; color: var(--text); font: 400 17px/1.7 'Inter',sans-serif; }
textarea::placeholder { color: #939C9A; }
textarea:focus { outline: none; border-bottom-color: var(--blue); }
.conversation-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 26px; }
.recipient { color: #BCC3C0; font-size: 13px; font-weight: 500; }
.continue-action { display: inline-flex; align-items: center; min-height: 48px; font-size: 15px; font-weight: 600; transition: color .3s; }
.continue-action:hover { color: var(--blue); }
@keyframes compass-turn { 0%,14% { transform: rotate(0deg); } 70%,100% { transform: rotate(360deg); } }
/* Independent rotation keeps the original spin timing and adds a slow idle drift. */
@keyframes compass-drift { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes comet-pass { 0%,12% { opacity: 0; } 12.08%,14% { opacity: var(--beam-opacity); } 16%,100% { opacity: 0; } }
@keyframes comet-trail { 0%,12% { stroke-dashoffset: 1; } 14% { stroke-dashoffset: 0; } 16%,100% { stroke-dashoffset: -1; } }
@keyframes reveal { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1000px) {
 .composition { max-width: 560px; }
 .announcement { gap: 14px; }
 .compass-stage { flex-basis: 116px; height: 140px; }
 .compass-touch { width: 104px; height: 104px; }
 .compass { width: 99px; height: 99px; }
 h1 { font-size: clamp(44.8px,7vw,71.4px); }
 .invitation-title { font-size: 38px; }
}
@media (max-width: 600px) {
 .scene { padding: 40px 26px; }
 .project-line { display: grid; grid-template-columns: minmax(0,1fr) auto; margin-bottom: 22px; gap: 4px 14px; }
 .client-links { display: contents; }
 .client-links > nav { grid-area: 1 / 2; justify-self: end; }
 .client-preview,.client-contact { grid-column: 1 / -1; justify-self: start; max-width: 100%; overflow-wrap: anywhere; font-size: 13px; }
 .client-logo { grid-area: 1 / 1; width: 144px; max-width: 100%; }
 .client-contact span { min-width: 0; }
 .announcement { gap: 8px; min-height: 105px; }
 .compass-stage { flex-basis: 59px; height: 105px; }
 .compass-touch,.compass { width: 62px; height: 62px; }
 h1 { font-size: clamp(30.8px,7.49vw,44.8px); }
 .flying-letter { font-size: 28px; }
 .studio-line { margin-top: 20px; padding-top: 17px; gap: 16px; }
 .maker { max-width: 125px; gap: 8px; font-size: 12px; }
 .powered-brand { font-size: 24px; }
 .invitation-title { font-size: 34px; }
 .invitation-prompt { font-size: 12px; margin-bottom: 8px; }
 .motion-control { right: 10px; bottom: 8px; }
 .conversation-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
 .dialog-logo { width: 56px; height: 56px; }
 .dialog-wordmark { font-size: 38px; }
 h2 { font-size: clamp(42px,12.3vw,56px); margin-bottom: 32px; }
 textarea { font-size: 16px; }
}
@media (max-width: 360px) {
 .scene { padding-inline: 20px; }
 .compass-stage { flex-basis: 49px; }
 .compass,.compass-touch { width: 50px; height: 50px; }
 h1 { font-size: 28.7px; }
 .studio-line { gap: 12px; }
 .invitation-title { font-size: 30px; }
 .maker { max-width: 100px; }
 .powered-brand { font-size: 22px; }
}
@media (max-height: 600px) {
 .scene { padding-block: 24px 40px; }
 .project-line { margin-bottom: 9px; }
 .studio-line { margin-top: 9px; }
 dialog { padding-block: 26px; }
 .dialog-brand { margin-bottom: 20px; }
 .dialog-logo { width: 48px; height: 48px; }
 h2 { font-size: 54px; margin-bottom: 22px; }
}
@media (max-width: 600px) and (max-height: 600px) { h2 { font-size: clamp(42px,12.3vw,54px); } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; } }

/* CJK glyphs use system fonts; retain the shared colors and composition. */
:lang(zh) h1 { font-size: clamp(32px,5.5vw,70px); white-space: normal; }
:lang(zh) h2 { line-height: 1.2; }
.maintenance-notice { overflow-wrap: anywhere; }

.language-switch { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 16px; color: var(--text); text-decoration: none; white-space: nowrap; }
.language-icon { flex-shrink: 0; }

.client-contact,.client-preview { min-width: 0; overflow-wrap: anywhere; }
.client-contact > span { min-width: 0; }
.client-links { min-width: 0; }
