:root {
  --ink: #151815;
  --ink-soft: #2a302d;
  --porcelain: #f4f2ed;
  --moon: #d8dedb;
  --glass: #9bc4c5;
  --bronze: #b79a67;
  --line: rgba(255,255,255,.24);
  --panel: rgba(245,246,243,.94);
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --body: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color-scheme: dark;
  font-family: var(--body);
  background: var(--ink);
  color: white;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--ink); overflow-x: hidden; }
body.panel-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 8px; left: 50%; z-index: 1000; transform: translate(-50%,-160%); padding: .7rem 1rem; border-radius: 99px; background: white; color: #111; transition: transform .2s; }
.skip-link:focus { transform: translate(-50%,0); }
:focus-visible { outline: 2px solid #e3c27c; outline-offset: 4px; }

.brand-rail { position: fixed; z-index: 60; top: max(24px, env(safe-area-inset-top)); left: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.brand img { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.36); border-radius: 15px; background: rgba(17,20,18,.58); box-shadow: 0 12px 34px rgba(0,0,0,.22); }
.brand span { display: grid; gap: 2px; }
.brand strong { font-size: 1.05rem; letter-spacing: .12em; }
.brand small { font-size: .59rem; letter-spacing: .19em; color: rgba(255,255,255,.68); }
.rail-actions { display: grid; gap: 8px; margin-left: 4px; }
.rail-link { min-width: 42px; min-height: 34px; padding: 0 10px; border: 1px solid rgba(255,255,255,.24); border-radius: 18px; background: rgba(20,24,21,.4); color: rgba(255,255,255,.8); backdrop-filter: blur(14px); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: .66rem; letter-spacing: .12em; }
.rail-link:hover { background: rgba(152,194,194,.2); border-color: rgba(205,235,232,.65); }
.rail-button { width: 42px; min-height: 58px; border: 1px solid rgba(255,255,255,.3); border-radius: 22px; background: rgba(20,24,21,.46); backdrop-filter: blur(16px); display: grid; place-items: center; gap: 1px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.rail-button b { font-family: var(--display); font-size: 1rem; font-weight: 500; }
.rail-button span { font-size: .58rem; letter-spacing: .08em; }
.rail-button:hover { background: rgba(152,194,194,.25); border-color: rgba(205,235,232,.72); }
.service-orb { position: fixed; z-index: 60; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); width: 84px; height: 84px; border: 1px solid rgba(255,255,255,.44); border-radius: 50%; background: rgba(20,45,40,.72); backdrop-filter: blur(18px); box-shadow: 0 0 0 9px rgba(255,255,255,.06), 0 16px 50px rgba(0,0,0,.3); cursor: pointer; display: grid; place-content: center; transition: transform .3s, background .3s; }
.service-orb:hover { transform: translateY(-5px) rotate(-3deg); background: rgba(41,89,79,.88); }
.service-orb strong { font-family: var(--display); font-size: 1.25rem; letter-spacing: .08em; }
.service-orb small { font-size: .48rem; letter-spacing: .18em; opacity: .7; }

.hero-carousel, .immersive-screen { position: relative; min-height: 100svh; background: linear-gradient(135deg,#1d2522,#3e4943 55%,#151716); overflow: hidden; isolation: isolate; }
.hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 1.05s cubic-bezier(.22,.75,.27,1); }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide picture, .hero-slide img, .immersive-screen picture, .immersive-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide img, .immersive-screen img { transform: scale(1.018); transition: transform 8s ease; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide::after, .immersive-screen::after { content: ""; position: absolute; z-index: 2; top: -20%; bottom: -20%; left: 61%; width: 1px; background: linear-gradient(transparent 3%,rgba(229,255,252,.06),rgba(216,251,247,.78),rgba(255,229,174,.26),transparent 92%); box-shadow: 0 0 36px rgba(177,224,220,.32); transform: rotate(7deg); animation: refract 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes refract { 0% { translate: -2vw -1vh; opacity: .35; } 55% { opacity: .8; } 100% { translate: 4vw 2vh; opacity: .45; } }
.shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg,rgba(8,11,10,.82) 0%,rgba(8,11,10,.56) 30%,rgba(8,11,10,.1) 65%,rgba(8,11,10,.3) 100%), linear-gradient(0deg,rgba(7,9,8,.5),transparent 40%); }
.hero-copy, .screen-copy { position: absolute; z-index: 4; left: clamp(34px,10vw,170px); bottom: clamp(132px,18vh,205px); width: min(610px,72vw); }
.eyebrow { margin: 0 0 17px; color: #d7bd87; font-size: .74rem; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; }
.hero-copy h1, .hero-copy h2, .screen-copy h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(3.5rem,6.3vw,7.1rem); line-height: .98; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 10px 50px rgba(0,0,0,.35); }
.hero-copy > p:not(.eyebrow), .screen-copy > p:not(.eyebrow) { max-width: 620px; margin: 23px 0 0; font-size: clamp(.98rem,1.25vw,1.18rem); line-height: 1.85; color: rgba(255,255,255,.76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 52px; padding: 0 25px; border: 1px solid transparent; border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 650; letter-spacing: .06em; cursor: pointer; }
.button.primary { background: rgba(216,194,144,.95); color: #171916; }
.button.primary:hover { background: #f1d89f; }
.button.ghost { color: white; border-color: rgba(255,255,255,.45); background: rgba(10,12,11,.15); backdrop-filter: blur(8px); }
.button.ghost:hover { background: rgba(255,255,255,.12); }
.button.ghost.dark { border-color: rgba(24,29,26,.25); color: var(--ink); background: white; }
.scene-label { position: absolute; z-index: 4; right: 34px; top: 42%; writing-mode: vertical-rl; font-size: .63rem; letter-spacing: .25em; color: rgba(255,255,255,.55); }
.carousel-controls { position: absolute; z-index: 8; left: clamp(34px,10vw,170px); bottom: 42px; display: flex; align-items: center; gap: 13px; }
.carousel-controls button { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; background: rgba(10,12,11,.18); backdrop-filter: blur(9px); cursor: pointer; }
.carousel-controls button:hover { background: rgba(255,255,255,.14); }
.carousel-dots { display: flex; gap: 3px; padding: 5px; border: 1px solid rgba(255,255,255,.28); border-radius: 30px; background: rgba(10,12,11,.28); backdrop-filter: blur(12px); }
.carousel-dots button { width: 44px; height: 34px; border: 0; font-size: .68rem; }
.carousel-dots button.is-active { background: #e4c991; color: #171a17; }
.carousel-progress { width: 78px; height: 1px; background: rgba(255,255,255,.28); overflow: hidden; }
.carousel-progress span { display: block; width: 100%; height: 100%; background: #e3ca96; transform-origin: left; animation: progress 6.5s linear infinite; }
.hero-carousel[data-paused="true"] .carousel-progress span { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-cue { position: absolute; z-index: 6; bottom: 48px; right: 150px; font-size: .68rem; letter-spacing: .18em; text-decoration: none; color: rgba(255,255,255,.62); }
.scroll-cue::before { content: ""; display: inline-block; width: 42px; height: 1px; margin-right: 12px; background: currentColor; vertical-align: middle; }

.immersive-screen { min-height: 100svh; }
.immersive-screen .shade { background: linear-gradient(90deg,rgba(8,11,10,.78),rgba(8,11,10,.16) 62%,rgba(8,11,10,.35)), linear-gradient(0deg,rgba(8,10,9,.48),transparent 48%); }
.screen-copy { bottom: clamp(75px,14vh,160px); }
.screen-copy.right { left: auto; right: clamp(34px,10vw,170px); }
.screen-copy h2 { font-size: clamp(3.4rem,6vw,6.7rem); }
.screen-index { position: absolute; z-index: 4; left: 34px; bottom: 35px; font-family: var(--display); font-size: .9rem; letter-spacing: .18em; color: rgba(255,255,255,.68); }

.product-matrix { background: #edf0ed; color: var(--ink); padding: clamp(90px,12vw,180px) clamp(24px,7vw,120px); }
.section-heading { max-width: 900px; }
.section-heading h2, .lead-section h2 { margin: 0; font-family: var(--display); font-size: clamp(2.6rem,5.6vw,6.2rem); font-weight: 400; line-height: 1.05; letter-spacing: -.04em; }
.section-heading > p:last-child { max-width: 650px; color: #58605c; line-height: 1.85; }
.matrix-grid { margin-top: clamp(55px,8vw,110px); border-top: 1px solid #b8c1bc; display: grid; grid-template-columns: repeat(3,1fr); }
.matrix-grid a { min-height: 245px; padding: 30px 28px; border-right: 1px solid #b8c1bc; border-bottom: 1px solid #b8c1bc; color: inherit; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; transition: background .25s, transform .25s; }
.matrix-grid a:nth-child(3n) { border-right: 0; }
.matrix-grid a:hover { background: #dfe7e3; transform: translateY(-5px); }
.matrix-grid span { margin-bottom: auto; font-size: .58rem; letter-spacing: .23em; color: #78847e; }
.matrix-grid h3 { margin: 0; font-family: var(--display); font-size: clamp(1.7rem,2.3vw,2.7rem); font-weight: 400; }
.matrix-grid small { margin-top: 12px; color: #636d68; }
.lead-section { background: #18201d; padding: clamp(85px,12vw,165px) clamp(24px,10vw,170px); display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: clamp(60px,10vw,160px); align-items: end; }
.lead-section p:not(.eyebrow) { max-width: 640px; color: rgba(255,255,255,.63); line-height: 1.8; }
.lead-actions { display: grid; gap: 18px; justify-items: start; }
.text-link { color: rgba(255,255,255,.72); text-underline-offset: 5px; }
footer { padding: 42px clamp(24px,7vw,120px); background: #0e110f; display: flex; gap: 35px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 21px; }
footer nav a { color: rgba(255,255,255,.68); font-size: .82rem; }
footer > small { color: rgba(255,255,255,.38); }

.panel-backdrop { position: fixed; z-index: 100; inset: 0; background: rgba(4,7,6,.54); backdrop-filter: blur(5px); }
.side-panel { position: fixed; z-index: 110; top: 0; right: 0; width: min(480px,94vw); height: 100dvh; padding: max(28px,env(safe-area-inset-top)) 27px max(28px,env(safe-area-inset-bottom)); overflow: auto; background: var(--panel); color: var(--ink); box-shadow: -24px 0 75px rgba(0,0,0,.3); transform: translateX(105%); visibility: hidden; transition: transform .42s cubic-bezier(.2,.8,.2,1), visibility .42s; }
.side-panel.is-open { transform: translateX(0); visibility: visible; }
.panel-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid rgba(22,28,25,.18); }
.panel-head p { margin: 0 0 8px; color: #6c7973; font-size: .62rem; letter-spacing: .2em; }
.panel-head h2 { margin: 0; font-family: var(--display); font-size: 2.3rem; line-height: 1.12; font-weight: 400; }
.panel-close { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid rgba(22,28,25,.2); border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.7rem; cursor: pointer; }
.service-list { padding: 18px 0; display: grid; gap: 8px; }
.service-list a, .service-list button { width: 100%; min-height: 76px; padding: 12px 10px; border: 0; border-bottom: 1px solid rgba(22,28,25,.12); background: transparent; color: var(--ink); text-decoration: none; display: grid; grid-template-columns: 40px 1fr 25px; gap: 12px; align-items: center; text-align: left; cursor: pointer; transition: background .22s, padding .22s; }
.service-list a:hover, .service-list button:hover { padding-left: 17px; background: rgba(108,155,147,.1); }
.service-list i { font-style: normal; font-size: .6rem; color: #73807a; }
.service-list span { display: grid; gap: 5px; }
.service-list strong { font-family: var(--display); font-size: 1.25rem; font-weight: 500; }
.service-list small { color: #69756f; }
.service-list b { font-weight: 400; }
.locale-search { display: grid; gap: 8px; margin: 22px 0 12px; color: #68736e; font-size: .75rem; }
.locale-search input { width: 100%; min-height: 48px; padding: 0 15px; border: 1px solid #bec7c2; border-radius: 4px; background: white; color: var(--ink); }
.locale-status { min-height: 20px; color: #68736e; font-size: .76rem; }
.locale-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
.locale-grid button { min-height: 53px; padding: 8px 10px; border: 1px solid rgba(20,25,22,.12); border-radius: 3px; background: rgba(255,255,255,.66); color: var(--ink); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.locale-grid button:hover, .locale-grid button[aria-current="true"] { background: #dbe8e4; border-color: #8da69d; }
.locale-grid small { color: #6d7772; }
.member-loading, .member-form, [data-member-user], [data-member-guest] { margin-top: 24px; }
.member-tabs { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #bdc6c1; }
.member-tabs button { min-height: 45px; border: 0; border-right: 1px solid #bdc6c1; background: transparent; color: var(--ink); cursor: pointer; }
.member-tabs button:last-child { border-right: 0; }
.member-tabs button[aria-selected="true"] { background: var(--ink); color: white; }
.member-form { display: grid; gap: 15px; }
.member-form label { display: grid; gap: 7px; color: #59645f; font-size: .78rem; }
.member-form input { min-height: 48px; padding: 0 13px; border: 1px solid #b9c2bd; background: white; color: var(--ink); border-radius: 3px; }
.member-form .button { width: 100%; margin-top: 6px; }
.member-card { padding: 23px; background: #18201d; color: white; }
.member-card h3 { margin: 8px 0 2px; font-family: var(--display); font-size: 2rem; font-weight: 400; }
.member-card p { color: rgba(255,255,255,.62); }
.wallet { margin-top: 25px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.wallet span { display: grid; gap: 3px; }
.wallet b { font-family: var(--display); font-size: 1.8rem; }
.wallet small { color: rgba(255,255,255,.58); }
[data-member-user] { display: grid; gap: 13px; }
.member-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.member-links a,.member-links button { min-height: 68px; padding: 12px; border: 1px solid rgba(24,32,29,.15); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255,255,255,.65); text-align: inherit; cursor: pointer; }
.member-links a:hover,.member-links button:hover { background: #dfeae6; }
.member-links span { font-size: .78rem; color: #56615c; }
.member-links b { font-family: var(--display); font-size: 1.25rem; font-weight: 500; }
.text-button { border: 0; background: transparent; color: #5f6b65; text-decoration: underline; cursor: pointer; }
.member-status { min-height: 23px; color: #875e2f; line-height: 1.5; }

@media (max-width: 900px) {
  .matrix-grid { grid-template-columns: repeat(2,1fr); }
  .matrix-grid a:nth-child(3n) { border-right: 1px solid #b8c1bc; }
  .matrix-grid a:nth-child(2n) { border-right: 0; }
  .lead-section { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .brand-rail { top: max(14px,env(safe-area-inset-top)); left: 14px; gap: 10px; }
  .brand img { width: 43px; height: 43px; border-radius: 13px; }
  .brand strong { font-size: .86rem; }
  .brand small { font-size: .48rem; }
  .rail-actions { grid-auto-flow: column; }
  .rail-button { width: 38px; min-height: 49px; }
  .service-orb { width: 70px; height: 70px; right: 16px; bottom: max(17px,env(safe-area-inset-bottom)); }
  .service-orb strong { font-size: 1.05rem; }
  .hero-copy, .screen-copy, .screen-copy.right { left: 23px; right: 23px; width: auto; bottom: 155px; }
  .hero-copy h1, .hero-copy h2, .screen-copy h2 { font-size: clamp(3rem,14vw,4.5rem); }
  .hero-copy > p:not(.eyebrow), .screen-copy > p:not(.eyebrow) { font-size: .9rem; line-height: 1.65; }
  .hero-actions { margin-top: 21px; }
  .button { min-height: 46px; padding: 0 17px; font-size: .84rem; }
  .carousel-controls { left: 23px; bottom: 82px; gap: 8px; }
  .carousel-progress { display: none; }
  .carousel-controls > button { width: 40px; height: 40px; }
  .carousel-dots button { width: 37px; height: 30px; }
  .scroll-cue { display: none; }
  .scene-label { right: 15px; top: 27%; }
  .screen-index { left: 23px; bottom: 28px; }
  .product-matrix { padding: 80px 20px; }
  .matrix-grid { grid-template-columns: 1fr; }
  .matrix-grid a, .matrix-grid a:nth-child(2n), .matrix-grid a:nth-child(3n) { min-height: 180px; border-right: 0; }
  .lead-section { padding: 80px 23px 115px; }
  footer { padding: 38px 22px 115px; align-items: flex-start; flex-direction: column; }
  footer nav { display: grid; grid-template-columns: repeat(2,1fr); width: 100%; }
  .footer-brand { display: none; }
  .side-panel { width: min(390px,calc(100vw - 32px)); padding-left: 21px; padding-right: 21px; border-radius: 18px 0 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-slide img { transform: none !important; }
  .hero-carousel .carousel-progress { display: none; }
}
