:root {
  --ink: #02202e;
  --icon-surface: #e5fff5;
  --avatar-x: 0px;
  --avatar-y: 0px;
  --ring-x: 0px;
  --ring-y: 0px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
  font-family: "Source Han Sans SC", "思源黑体", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: #32dce2; isolation: isolate; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
::selection { color: #eafff7; background: var(--ink); }
.page-width { width: calc(100% - 80px); max-width: 1280px; margin-left: auto; margin-right: auto; }

/* Each load gets new colors, positions, paths and animation phases. */
.background-art { position: fixed; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; z-index: -1; pointer-events: none; background: #2edfe3; }
.gradient-field {
  position: absolute;
  top: -40%; right: -40%; bottom: -40%; left: -40%;
  background:
    radial-gradient(ellipse at 20% 22%, var(--gradient-a, #81f5d1) 0%, transparent 51%),
    radial-gradient(ellipse at 85% 72%, var(--gradient-b, #0980f0) 0%, transparent 57%),
    radial-gradient(ellipse at 30% 94%, var(--gradient-c, #04b9e7) 0%, transparent 59%),
    #2ad8e7;
  will-change: transform;
}
.background-layer { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: translate3d(0, 0, 0); }
#moving-shapes { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.moving-shape { position: absolute; top: 0; left: 0; will-change: transform; }
.shape-circle { border: 1px solid rgba(235, 255, 248, .55); border-radius: 50%; }
.shape-disc { border-radius: 50%; background: rgba(1, 112, 239, .13); }
.shape-block { background: rgba(7, 130, 235, .12); }
.shape-line { height: 1px; background: rgba(234, 255, 248, .55); transform-origin: left center; }
.shape-band { background: linear-gradient(90deg, transparent, rgba(137, 255, 219, .28), transparent); }

.site-header { height: 64px; margin-top: 20px; margin-bottom: 12px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.site-header h1 { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.6px; }
.site-header h1 a:focus { outline: 2px solid var(--ink); outline-offset: 6px; }

.contact-section { min-height: calc(100vh - 200px); min-height: calc(100svh - 200px); display: grid; place-items: center; padding: 12px 0 38px; }
.orbit { position: relative; width: calc(100vw - 40px); max-width: 720px; width: min(720px, calc(100vw - 40px), max(280px, calc(100vh - 250px))); width: min(720px, calc(100vw - 40px), max(280px, calc(100svh - 250px))); }
.orbit::before { content: ""; display: block; padding-top: 100%; }
.ring-plane { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: translate3d(var(--ring-x), var(--ring-y), 0); transform-style: preserve-3d; }
.ring-guide { position: absolute; top: 14%; right: 14%; bottom: 14%; left: 14%; border: 1px solid rgba(229, 255, 245, .42); border-radius: 50%; pointer-events: none; }
.contact-list { display: none; list-style: none; margin: 0; padding: 0; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.has-orbit .contact-list { display: block; }
.has-orbit .fallback-contacts { display: none; }
.modern-mode:not(.has-orbit) .fallback-contacts { visibility: hidden; }
.modern-mode:not(.has-orbit) .ring-guide { visibility: hidden; }
.contact-item { position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; z-index: 1; }
.contact-item.is-open { z-index: 3; }
.contact-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; outline: none; }
.sector-svg { display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sector-path { fill: rgba(231, 255, 247, .29); stroke: rgba(238, 255, 250, .62); stroke-width: 1; pointer-events: auto; transition: fill .25s, stroke .25s; }
.contact-item.is-open .sector-path { fill: #e5fff5; stroke: #effff8; }
.contact-link:focus .sector-path { stroke: var(--ink); stroke-width: 2.5; }
.contact-icon { position: absolute; left: var(--icon-x); top: var(--icon-y); width: 44px; height: 44px; display: grid; place-items: center; transform: translate(-50%, -50%); pointer-events: auto; transition: opacity .15s; }
.contact-icon svg { width: 28px; height: 28px; }
.contact-item.is-open .contact-icon { opacity: 0; }
.contact-panel { position: absolute; left: var(--label-x); top: var(--label-y); width: max-content; max-width: 180px; display: flex; flex-direction: column; align-items: center; text-align: center; transform: translate(-50%, -45%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .25s, visibility .25s; }
.contact-item.is-open .contact-panel { opacity: 1; visibility: visible; transform: translate(-50%, -50%); pointer-events: auto; transition-delay: .06s; }
.contact-row { display: flex; align-items: center; justify-content: center; margin-top: 6px; }
.contact-row > * + * { margin-left: 5px; }
.contact-detail:focus { outline: 2px solid var(--ink); outline-offset: 3px; }
.contact-label { font-size: 18px; font-size: var(--contact-label-size, 18px); line-height: 1.4; font-weight: 650; }
.contact-label-line { display: block; }
.contact-detail { padding: 0; border: 0; background: transparent; color: inherit; font-family: inherit; font-size: 11px; font-size: var(--contact-detail-size, 11px); line-height: 1.5; white-space: nowrap; }
.copy-contact { flex: 0 0 26px; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 5px; border: 0; background: transparent; border-radius: 4px; }
.copy-contact svg { width: 16px; height: 16px; }
.copy-contact:hover, .copy-contact:focus { background: rgba(2, 32, 46, .08); outline: 2px solid var(--ink); outline-offset: 1px; }
.identity { position: absolute; left: 50%; top: 50%; width: 27%; height: 27%; transform: translate(-50%, -50%) translate3d(var(--avatar-x), var(--avatar-y), 0); }
.identity-surface { position: relative; width: 100%; height: 100%; border-radius: 50%; padding: 6px; background: #e9fff5; box-shadow: 0 14px 40px -20px rgba(2, 32, 46, .5); }
.identity-surface::after { content: ""; position: absolute; top: -10px; right: -10px; bottom: -10px; left: -10px; border: 1px solid rgba(233, 255, 245, .65); border-radius: 50%; pointer-events: none; }
.avatar { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* No filler content: this slot is ready for future sections. */
#future-content:empty { min-height: 36px; }
.site-footer { min-height: 64px; margin-bottom: 24px; padding: 18px 24px; display: flex; align-items: center; flex-wrap: wrap; font-size: 11px; line-height: 1.7; }
.toast { position: fixed; z-index: 10; bottom: 24px; left: 50%; max-width: calc(100% - 32px); padding: 12px 20px; transform: translate(-50%, 8px); background: var(--ink); color: #eafff7; border-radius: 5px; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 12px; background: #e5fff5; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.fallback-contacts { position: absolute; left: 50%; top: 90%; transform: translateX(-50%); display: flex; padding: 0; list-style: none; font-size: 13px; }
.fallback-contacts li + li { margin-left: 20px; }
.fallback-contacts a { text-decoration: underline; }

@media (max-width: 760px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { height: 58px; margin-top: 14px; margin-bottom: 10px; padding: 0 18px; }
  .site-footer { padding: 16px 18px; margin-bottom: 20px; }
  .site-header h1 { font-size: 18px; }
  .contact-section { min-height: calc(100vh - 186px); min-height: calc(100svh - 186px); padding: 16px 0 38px; }
  .contact-icon { width: 36px; height: 36px; }
  .contact-icon svg { width: 24px; height: 24px; }
  .contact-panel { max-width: 112px; }
  .contact-row { margin-top: 4px; }
  .contact-row > * + * { margin-left: 3px; }
  .contact-label { font-size: 13px; }
  .contact-detail { font-size: 9.5px; white-space: nowrap; }
  .is-copy-only .contact-label { max-width: 112px; }
  .is-copy-only .contact-detail { max-width: none; white-space: normal; }
  .contact-address-line { display: block; white-space: nowrap; }
  .copy-contact { flex-basis: 24px; width: 24px; height: 24px; padding: 5px; }
  .copy-contact svg { width: 14px; height: 14px; }
  .identity { width: 31%; height: 31%; }
  .identity-surface { padding: 4px; }
  .identity-surface::after { top: -7px; right: -7px; bottom: -7px; left: -7px; }
  .fallback-contacts { flex-wrap: wrap; justify-content: center; width: 100%;  }
}
@media (max-width: 360px) {
  .contact-label { font-size: 12px; }
  .contact-detail { font-size: 9px; }
  .contact-row { margin-top: 3px; }
  .copy-contact { flex-basis: 22px; width: 22px; height: 22px; padding: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
