:root {
  color-scheme: light;
  color: #1d3043;
  background: #f9fbfd;
  font: 16px/1.65 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --blue: #126cb2;
  --navy: #0c1e30;
  --muted: #4b6073;
  --line: #d9e3ec;
}
* { box-sizing: border-box; }
body, figure { margin: 0; }
main:focus { outline: none; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #2d93d9; outline-offset: 4px; }
.skip { position: absolute; z-index: 3; transform: translateY(-200%); padding: 8px 16px; background: white; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.nav { min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 11px; font-weight: 700; text-decoration: none; }
.mark { display: grid; grid-template-columns: repeat(2, 8px); gap: 3px; }
.mark i { height: 8px; background: var(--blue); border-radius: 1px; }
.mark i:nth-child(2) { background: #77a8cc; }
.mark i:nth-child(3) { background: #4b89b8; }
.nav-links { display: flex; gap: clamp(12px, 3vw, 40px); align-items: center; }
.nav-links a, .login { font-size: .9375rem; font-weight: 600; text-decoration: none; }
.nav-links a { padding-block: 12px; }
.nav-links a[aria-current], .nav-links a:hover { color: var(--blue); text-decoration: underline; }
.login { justify-self: end; padding: 9px 14px; border: 1px solid #b7cadc; border-radius: 6px; }
.login:hover, .button.outline:hover { background: #eaf4fb; }
.hero { color: #fff; background: var(--navy); }
.hero-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(42px, 6vw, 85px) 54px; }
h1, h2, h3 { line-height: 1.22; letter-spacing: -.025em; }
.hero h1 { font-size: clamp(2.6rem, 4.85vw, 4.75rem); margin: 0 0 28px; }
.hero-copy p { max-width: 24em; margin: 0; color: #c9d9e7; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 17px; border: 1px solid transparent; border-radius: 6px; font-weight: 650; text-decoration: none; line-height: 1.35; }
.button.solid { background: #e5f4ff; color: #102a43; }
.button.solid:hover { background: #c5e7fc; }
.button.ghost { border-color: #758da4; color: #edf5fc; }
.button.ghost:hover { background: #223c55; }
.button.outline { border-color: #a6bdcf; color: #145a91; }
.hero-image { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 3/2; border-radius: 12px; background: #22435d; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.image-light { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 260ms ease; background: radial-gradient(ellipse 30% 46% at var(--light-x, 50%) var(--light-y, 50%), #d7efff50, #82c9ff14 56%, transparent 100%); mix-blend-mode: screen; }
.hero-image[data-light-active] img { transform: translate(var(--shift-x, 0px), var(--shift-y, 0px)) scale(1.04); }
.hero-image[data-light-active] .image-light { opacity: 1; }
figcaption { margin-top: 10px; font-size: .875rem; color: var(--muted); }
.hero-figure figcaption { color: #bdcede; }
.section { padding-block: clamp(38px, 6vw, 76px); }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 26px; }
.section-head h2, .guide-promo h2 { margin: 0; font-size: clamp(1.65rem, 2.6vw, 2.25rem); }
.section-head p, .guide-promo p { margin: 8px 0 0; color: var(--muted); }
.section-link { color: #115d99; font-weight: 600; }
.example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.preview-link { display: block; border-radius: 10px; text-decoration: none; }
.example-card h3 { margin: 16px 0 6px; font-size: 1.225rem; }
.example-card h3 a { text-decoration: none; }
.example-card:focus-within h3 a, .example-card:hover h3 a { color: var(--blue); text-decoration: underline; }
.example-card p { color: var(--muted); margin: 0; }
.example-screen {
  aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; display: flex;
  flex-direction: column; justify-content: center; container-type: inline-size;
  position: relative; padding: 6% 8%; color: #eaf5fc; background: #17416a;
}
.example-card .example-screen p { color: inherit; }
.example-screen .screen-title { margin: .5em 0; font-size: max(15px, 7cqi); line-height: 1.2; font-weight: 650; }
.example-screen dl { margin: 0; }
.example-screen dl div { border-top: 1px solid #eaf5fc5c; display: grid; grid-template-columns: 25% 1fr; font-size: max(11px, 4.3cqi); padding: .24em 0; }
.example-screen dt { color: #aae0ff; font-weight: 650; }
.example-screen dd { margin: 0; }
.guide-band { background: #eaf2f8; border-top: 1px solid #d7e5ef; }
.guide-promo { padding-block: clamp(36px, 6vw, 68px); display: grid; grid-template-columns: 1fr 1fr auto; gap: 28px; align-items: center; }
.flow { padding-left: 1.55em; margin-block: 0; }
.flow li + li { margin-top: 5px; }
.flow li::marker, .publish-steps li::marker { color: #115d99; font-weight: 700; }
.site-footer { background: var(--navy); color: #e7f0fa; padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-inner p { color: #bdcede; margin: 4px 0 0; font-size: .875rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: .875rem; }
.breadcrumbs ol { width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 24px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); font-size: .875rem; }
.breadcrumbs li + li::before { content: '/'; margin-right: 10px; color: #65788a; }
.breadcrumbs [aria-current] { color: #20384e; font-weight: 650; }
.page-intro { padding: clamp(30px, 5vw, 58px) 0 32px; }
.page-intro h1 { margin: 0 0 16px; font-size: clamp(2rem, 4.5vw, 3.75rem); }
.page-intro p { max-width: 38em; margin: 0; color: var(--muted); font-size: 1.125rem; }
.page-section { padding-bottom: clamp(36px, 7vw, 80px); }
.note { margin: 28px 0 0; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(22px, 5vw, 60px); }
.detail-notes h2, .guide-index h2, .privacy h2 { margin: 0 0 12px; font-size: 1.35rem; }
.detail-notes ul { list-style: none; margin: 0; padding: 0; }
.detail-notes li { border-top: 1px solid var(--line); padding: 9px 0; }
.detail-notes p, .publish-steps p, .privacy p, .guide-entry p { color: var(--muted); margin: 5px 0; }
.related { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-block: 30px 60px; }
.guide-index { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 28px; }
.guide-entry { border-top: 3px solid var(--blue); padding: 22px; background: #eaf2f8; }
.guide-entry .section-link { display: inline-block; margin-top: 8px; }
.publish-steps { border-top: 1px solid var(--line); margin: 0; padding-left: 1.8em; max-width: 48em; }
.publish-steps li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.publish-steps h2 { font-size: 1.15rem; margin: 0; }
.privacy section { max-width: 45em; padding-block: 12px; }
@media (max-width: 900px) {
  .guide-promo { grid-template-columns: 1fr 1fr; }
  .guide-promo .button { justify-self: start; }
}
@media (max-width: 680px) {
  .wrap, .breadcrumbs ol { width: calc(100% - 32px); }
  .nav { grid-template-columns: 1fr auto; gap: 5px 12px; padding-block: 10px 3px; }
  .nav-links { grid-row: 2; grid-column: 1 / -1; gap: 20px; }
  .login { font-size: .875rem; padding: 7px 10px; }
  .hero-grid, .detail-grid, .guide-index, .guide-promo { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; padding-block: 32px 22px; }
  .hero h1 { margin-bottom: 16px; }
  .section-head { align-items: start; flex-direction: column; }
  .example-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .image-light { transition: none; display: none; }
  .hero-image[data-light-active] img { transform: none; }
}

/* Public home only. The matrix remains a decorative static pattern without JavaScript. */
.home-hero { background: #0b2238; overflow: hidden; }
.home-hero-grid { min-height: 610px; display: grid; grid-template-columns: .93fr 1.07fr; gap: 34px; align-items: center; padding-block: 70px; }
.home-copy { position: relative; z-index: 1; }
.home-kicker, .section-label { font-size: .875rem; font-weight: 700; letter-spacing: .08em; }
.home-kicker { margin: 0 0 28px; color: #a9c9dc; display: flex; align-items: center; gap: 10px; }
.home-kicker span { width: 28px; height: 2px; background: #62cfdf; }
.home-copy h1 { font-size: clamp(2.55rem, 4.4vw, 4.5rem); line-height: 1.2; letter-spacing: -.045em; margin: 0 0 24px; }
.home-copy h1 em { font-style: normal; color: #a8e7ec; }
.home-intro { max-width: 27em; color: #c1d1de; font-size: 1.1rem; line-height: 1.9; }
.home-copy .actions { margin-top: 34px; }
.home-copy .solid { background: #c4f0ef; }
.hero-footnote { margin: 62px 0 0; color: #91aabb; font-size: .875rem; }
.matrix-wrap { position: relative; width: min(100%, 540px); justify-self: end; aspect-ratio: 1; display: grid; place-items: center; }
.matrix-glow { position: absolute; inset: 12%; background: radial-gradient(circle, #145d77 0, transparent 70%); opacity: .7; }
.matrix-grid { position: relative; width: 88%; aspect-ratio: 1; display: grid; grid-template-columns: repeat(8,1fr); gap: 8px; perspective: 900px; background: repeating-linear-gradient(90deg,#6cc1d82b 0 1px, transparent 1px 12.5%), repeating-linear-gradient(#6cc1d82b 0 1px, transparent 1px 12.5%); border: 1px solid #74bed12b; }
.matrix-grid.is-ready { background: none; border: 0; }
.matrix-cell { min-width: 0; position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(var(--z, 0px)); transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 500ms; }
.matrix-cell::before { content: ''; position: absolute; inset: 0; border: 1px solid #5991a4; background: linear-gradient(145deg, #15394d, #0f2c40); box-shadow: inset 0 0 18px #82dbe00c; }
.matrix-cell::after { content: ''; position: absolute; inset: 19%; border-top: 1px solid #a9e8e833; border-bottom: 1px solid #a9e8e81c; opacity: 0; }
.matrix-cell:nth-child(7n + 3)::after, .matrix-cell:nth-child(11n + 2)::after { opacity: 1; }
.matrix-cell:nth-child(9n + 4)::before { background: #1d5262; border-color: #75a9b4; }
.matrix-cell.is-near { filter: brightness(1.5); transition-duration: 140ms; }
.matrix-cell.is-wave { filter: brightness(2); transform: translateZ(22px) rotateX(20deg); transition-duration: 180ms; }
.matrix-caption { position: absolute; left: 6%; right: 6%; bottom: 0; display: flex; justify-content: space-between; color: #91acbb; font-size: .8rem; }
.home-examples { padding-block: 100px; }
.section-label { color: #327b96; margin: 0 0 18px !important; }
.home-examples .section-head { margin-bottom: 38px; }
.home-examples .section-head h2, .scene-copy h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.3; }
.home-examples .section-head p:not(.section-label) { margin-top: 20px; }
.home-examples .preview-link { overflow: hidden; }
.home-examples .example-screen { transition: transform 350ms ease; }
.home-examples .preview-link:hover .example-screen { transform: scale(1.035); }
.home-scene { padding: 0 0 100px; }
.scene-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(32px, 7vw, 95px); }
.scene-photo img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; display: block; border-radius: 4px; }
.scene-copy h2 { margin: 0; }
.scene-copy > p:not(.section-label) { color: var(--muted); margin: 24px 0; line-height: 1.9; }
.text-link { display: inline-block; color: #115d99; font-weight: 700; }
.guide-band { background: #e4f0f2; }
@media (max-width: 900px) { .home-hero-grid { min-height: auto; gap: 20px; } .matrix-grid { gap: 5px; } }
@media (max-width: 680px) {
 .home-hero-grid { grid-template-columns: 1fr; padding-block: 52px 26px; gap: 4px; }
 .home-copy h1 { font-size: clamp(2.35rem, 9vw, 3.4rem); }
 .home-intro { font-size: 1rem; }
 .hero-footnote { margin-top: 32px; }
 .matrix-wrap { width: min(100%, 390px); justify-self: center; }
 .matrix-caption span:last-child { display: none; }
 .home-examples { padding-block: 66px; }
 .scene-grid { grid-template-columns: 1fr; gap: 28px; }
 .home-scene { padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) { .matrix-cell, .home-examples .example-screen { transition: none; } .home-examples .preview-link:hover .example-screen { transform: none; } }

/* Alternate public-home visual; the static painting remains when WebGL is unavailable. */
.fluid-wrap { position: relative; width: min(100%, 620px); justify-self: end; aspect-ratio: 1 / 1; overflow: hidden; isolation: isolate; }
.fluid-static { position: absolute; inset: 8%; opacity: .4; background: radial-gradient(ellipse at 40% 45%, #308a9e 0%, transparent 28%), radial-gradient(ellipse at 65% 56%, #215ab4 0%, transparent 35%), radial-gradient(ellipse at 52% 68%, #62499a 0%, transparent 30%); filter: blur(38px); }
.fluid-canvas { position: fixed; inset: 0; z-index: 100; width: 100vw; height: 100vh; opacity: .72; pointer-events: none; }
.fluid-caption { position: absolute; left: 6%; bottom: 1%; font-size: .8rem; color: #91acbb; }
.has-fluid .home-copy { z-index: 2; }
@media (max-width: 680px) { .fluid-wrap { width: min(100%, 390px); justify-self: center; } }

/* Switch between the two public-home visual versions. */
.effect-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 56px; color: #b9cdda; font-size: .875rem; }
.effect-switch span { margin-right: 6px; }
.effect-switch a { display: inline-flex; min-width: 62px; min-height: 40px; align-items: center; justify-content: center; padding: 6px 12px; border: 1px solid #6c8797; border-radius: 6px; color: #e8f5fa; font-weight: 600; text-decoration: none; }
.effect-switch a:hover { border-color: #a8e7ec; background: #29485a; }
.effect-switch a[aria-current="page"] { color: #102f40; background: #bfe9e8; border-color: #bfe9e8; }
@media (max-width: 680px) { .effect-switch { margin-top: 32px; } }

/* The opening screen gives the interaction room to breathe. */
.home-hero-grid { min-height: min(760px, calc(100vh - 74px)); padding-block: 80px; }
.home-copy h1 { margin-bottom: 0; }
.home-copy .actions { margin-top: 38px; }
.effect-switch { margin-top: 82px; }
.fluid-static { opacity: .3; background: radial-gradient(ellipse at 51% 50%, #821dd8 0%, transparent 38%); }
@media (max-width: 680px) {
 .home-hero-grid { min-height: auto; padding-block: 68px 32px; }
 .effect-switch { margin-top: 42px; }
}

/* White opening and optional local fluid controls. */
.public-home { background: #fff; }
.public-home .home-hero { color: #26313d; background: #fff; }
.public-home .home-copy h1 em { color: #26313d; }
.public-home .home-copy .solid { background: #26313d; color: #fff; }
.public-home .home-copy .solid:hover { background: #405165; }
.public-home .effect-switch { color: #586575; }
.public-home .effect-switch a { border-color: #d7dce3; color: #586575; background: transparent; }
.public-home .effect-switch a:hover { background: #f4f2f8; }
.public-home .effect-switch a[aria-current="page"] { background: #eee8f6; color: #54238b; border-color: #ddd0ee; }
.public-home .fluid-static { opacity: .08; }
.public-home .matrix-glow { opacity: .08; }
.public-home .matrix-grid { border-color: #becbd4; }
.public-home .matrix-cell::before { border-color: #b3c4cd; background: #f1f6f8; box-shadow: none; }
.public-home .matrix-cell::after { border-color: #8babb766; }
.public-home .matrix-cell:nth-child(9n + 4)::before { background: #e1edf1; border-color: #91adb9; }
.public-home .matrix-cell.is-near { filter: brightness(.92); }
.public-home .matrix-cell.is-wave { filter: brightness(.85); }
.fluid-controls-host { padding-bottom: 24px; }
.fluid-controls { position: relative; z-index: 101; font-size: .9375rem; }
.fluid-controls summary { width: max-content; padding: 10px 0; color: #647080; cursor: pointer; }
.fluid-controls-body { padding: 24px; background: #fafafa; border: 1px solid #e0e2e7; border-radius: 14px; margin-top: 10px; color: #303846; }
.fluid-controls-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fluid-controls-head p { margin: 0; color: #667080; }
.fluid-controls button { font: inherit; min-height: 40px; border: 1px solid #d2d6de; border-radius: 6px; padding: 7px 14px; background: white; color: #303846; cursor: pointer; }
.fluid-controls-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px 28px; margin-top: 24px; }
.fluid-controls-grid label { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; min-width: 0; }
.fluid-controls input[type="range"], .fluid-controls input[type="color"] { grid-column: 1 / -1; width: 100%; min-width: 0; }
.fluid-controls input[type="color"] { height: 42px; padding: 2px; border: 1px solid #d2d6de; background: white; border-radius: 6px; cursor: pointer; }
.fluid-controls input[type="range"] { accent-color: #821dd8; height: 30px; margin: 0; }
.fluid-controls input[type="checkbox"] { width: 20px; height: 20px; accent-color: #821dd8; }
.fluid-controls select { font: inherit; min-height: 42px; padding: 6px 12px; border: 1px solid #d2d6de; border-radius: 6px; background: white; color: #303846; }
.fluid-controls output { font-variant-numeric: tabular-nums; color: #586575; }
.fluid-controls-note:empty { display: none; }
.fluid-controls-note { margin-bottom: 0; color: #667080; }
@media(max-width: 900px) { .fluid-controls-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 680px) {
 .fluid-controls-grid { grid-template-columns: minmax(0,1fr); }
 .fluid-controls-body { padding: 18px; }
 .fluid-controls-head { align-items: start; flex-direction: column; }
}

/* A quiet typographic composition for the fluid version only. */
.has-fluid .home-hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
  min-height: clamp(480px, calc(100svh - 166px), 840px);
  padding-block: 72px 96px; gap: 0; text-align: center;
}
.has-fluid .home-copy { width: 100%; align-self: center; }
.has-fluid .home-copy h1 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  font-size: clamp(2.5rem, 6.3vw, 6rem); font-weight: 400;
  line-height: 1.65; letter-spacing: .08em; text-indent: .08em;
  color: #32303c; margin: 0; text-wrap: balance;
}
.has-fluid .home-copy .actions { justify-content: center; margin-top: 32px; }
.public-home .has-fluid .home-copy .solid {
  background: transparent; color: #615a70; border: 0; border-radius: 0;
  font-size: .9375rem; font-weight: 400; letter-spacing: .08em;
  padding: 10px 0; min-height: 44px; text-decoration: underline;
  text-underline-offset: 8px; text-decoration-color: #bfb6ca;
}
.public-home .has-fluid .home-copy .solid:hover { color: #6429a2; text-decoration-color: currentColor; }
.has-fluid .fluid-wrap {
  position: absolute; inset: 0; width: 100%; height: 100%;
  aspect-ratio: auto; pointer-events: none;
}
.public-home .has-fluid .fluid-static { inset: 15% 5%; opacity: .04; }
.has-fluid .fluid-controls-host { display: grid; grid-template-columns: 1fr auto; padding-bottom: 22px; gap: 0 24px; }
.has-fluid .fluid-controls { grid-row: 1; grid-column: 1 / -1; }
.has-fluid .fluid-controls summary { padding-block: 12px; font-size: .875rem; }
.public-home .has-fluid .effect-switch {
  grid-row: 1; grid-column: 2; align-self: start; justify-self: end;
  position: relative; z-index: 102; margin: 0; gap: 18px;
  min-height: 44px; flex-wrap: nowrap;
}
.has-fluid .effect-switch span { display: none; }
.public-home .has-fluid .effect-switch a {
  min-width: 0; min-height: 44px; border: 0; padding: 10px 0;
  border-radius: 0; background: transparent; color: #77717e; font-weight: 400;
}
.public-home .has-fluid .effect-switch a[aria-current="page"] {
  color: #54238b; background: transparent; text-decoration: underline;
  text-underline-offset: 7px;
}
.public-home .has-fluid .effect-switch a:hover { color: #54238b; background: transparent; }
@media(max-width: 680px) {
  .has-fluid .home-hero-grid { min-height: clamp(440px, calc(100svh - 200px), 700px); padding-block: 76px 100px; }
  .has-fluid .home-copy h1 { font-size: clamp(1.75rem, 7.5vw, 3rem); letter-spacing: .06em; }
  .has-fluid .home-copy .actions { margin-top: 24px; }
}

/* Subset of Zhi Mang Xing, renamed Signage Flow Study.
Source: https://github.com/google/fonts/tree/main/ofl/zhimangxing
Copyright 2018 The Zhi Mang Xing Project Authors (https://github.com/googlefonts/zhimangxing)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

*/
@font-face { font-family: "Signage Flow Study"; font-style: normal; font-weight: 400; font-display: swap; src: url("/site-assets/flow-study.woff?v=3") format("woff"); }

/* Flow is expressed in the shape and placement of the two glyphs. */
.has-fluid .home-copy { position: relative; width: min(760px, 100%); margin-inline: auto; }
.has-fluid .home-copy h1 {
  position: relative; width: 100%; height: 390px; font-size: 16px;
  line-height: 1; text-align: left; text-indent: 0; letter-spacing: 0;
}
.flow-prelude {
  position: absolute; left: 15%; top: 24%; writing-mode: vertical-rl;
  font: 400 15px/1.5 "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .45em; color: #6c6875;
}
.flow-glyph {
  position: absolute; display: block; font-family: "Signage Flow Study", "STKaiti", serif;
  font-size: clamp(160px, 18vw, 252px); font-weight: 400; color: #302b3a; line-height: 1.2;
}
.flow-glyph-first { left: 21%; top: 0; transform: rotate(-5deg); }
.flow-glyph-last { left: 49%; top: 26%; transform: rotate(-3deg); }
.flow-gesture { position: absolute; width: 100%; height: 100%; inset: 0; pointer-events: none; overflow: visible; }
.flow-gesture path { fill: none; stroke: url(#flow-ink); stroke-width: .8; stroke-linecap: round; }
.flow-gesture .flow-stream-main { stroke-width: 1.15; }
.flow-streams path:nth-child(3) { opacity: .65; }
.flow-streams path:nth-child(4) { opacity: .75; }
.flow-streams path:nth-child(5) { opacity: .45; }
.has-fluid .home-copy .actions { margin: 2px 11% 0 0; justify-content: flex-end; }
.public-home .has-fluid .home-copy .solid { font-size: .875rem; letter-spacing: .12em; color: #73667e; text-decoration-thickness: 1px; }
@media(max-width: 680px) {
 .has-fluid .home-copy h1 { height: 300px; }
 .flow-prelude { left: 10%; top: 22%; font-size: 14px; }
 .flow-glyph { font-size: clamp(115px, 36vw, 180px); }
 .flow-glyph-first { left: 19%; top: 7%; }
 .flow-glyph-last { left: 50%; top: 36%; }
 .has-fluid .home-copy .actions { margin: 0 8% 0 0; }
}

/* Keep navigation together, away from the calligraphic composition. */
.has-fluid .home-hero-grid { min-height: clamp(480px, calc(100svh - 210px), 840px); }
.has-fluid .home-copy { min-height: 436px; }
.has-fluid .fluid-navigation {
  grid-row: 1; grid-column: 2; justify-self: end; align-self: start;
  position: relative; z-index: 102; display: flex; flex-direction: column; align-items: flex-end;
}
.public-home .has-fluid .fluid-navigation .effect-switch { position: static; }
.has-fluid .fluid-navigation .actions { margin: 0; justify-content: flex-end; }
.public-home .has-fluid .fluid-navigation .solid {
  background: transparent; color: #73667e; border: 0; border-radius: 0;
  font-size: .875rem; font-weight: 400; letter-spacing: .06em;
  padding: 10px 0; min-height: 44px; text-decoration: underline;
  text-underline-offset: 7px; text-decoration-color: #bfb6ca;
}
.public-home .has-fluid .fluid-navigation .solid:hover { color: #6429a2; text-decoration-color: currentColor; }
.has-fluid .fluid-controls[open] .fluid-controls-body { margin-top: 54px; }
@media(max-width: 680px) {
  .has-fluid .home-hero-grid { min-height: clamp(440px, calc(100svh - 244px), 700px); }
  .has-fluid .home-copy { min-height: 344px; }
}

/* A constellation of screen formats, arranged along an open diagonal. */
.public-home .matrix-wrap { width: min(100%, 600px); }
.public-home .matrix-glow { display: none; }
.public-home .matrix-grid.is-ready { display: block; width: 100%; border: 0; perspective: 1100px; }
.public-home .matrix-cell {
  position: absolute; left: var(--tile-x); top: var(--tile-y);
  width: var(--tile-w); height: var(--tile-h); padding: 0; border: 1px solid #ccd7df; border-radius: 2px;
  background: #edf2f5; color: #627889;
  box-shadow: 3px 5px 0 #e3eaf078, 8px 14px 20px #33465c08;
  transform: translate(-50%, -50%) rotate(var(--angle)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(var(--z, 0px));
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 500ms, box-shadow 500ms;
  overflow: hidden;
}
.public-home .matrix-cell::before, .public-home .matrix-cell::after { content: none; }
.public-home .matrix-cell.screen-type-1 { background: #e8e3f2; border-color: #d3c8e4; color: #ab96c5; }
.public-home .matrix-cell.screen-type-2 { background: #e0ecec; border-color: #bfd3d4; color: #98b5b7; }
.public-home .matrix-cell.screen-type-3 { background: #f5ede1; border-color: #e4d7c2; color: #9b8771; }
.public-home .matrix-cell.screen-type-4 { background: #dbe5f0; border-color: #b8c9dd; color: #8ba3c1; }
.public-home .matrix-cell.screen-type-5 { background: #49415e; border-color: #49415e; color: #faf7ff; box-shadow: 4px 6px 0 #b8adc6, 12px 20px 36px #40324e1a; }
.public-home .matrix-cell.is-near { filter: brightness(1.04); box-shadow: 4px 8px 0 #cbd4df66, 12px 20px 30px #33465c14; transition-duration: 140ms; }
.public-home .matrix-cell.is-wave { filter: brightness(1.12); transform: translate(-50%, -50%) rotate(var(--angle)) translateZ(30px) rotateX(12deg); transition-duration: 180ms; }
@media(max-width: 680px) {
  .public-home .matrix-wrap { width: min(100%, 430px); margin-block: 24px 10px; }
}
@media(prefers-reduced-motion: reduce) { .public-home .matrix-cell { transition: none; } }

/* Pure geometry; movement is event-driven and rests between interactions. */
.public-home .matrix-cell { pointer-events: none; transition: none; }
.matrix-ripple { position: absolute; transform: translate(-50%, -50%); border: 1px solid #a99bbc; border-radius: 50%; pointer-events: none; }

/* Full-viewport burst escapes the hero clipping without intercepting page controls. */
.matrix-burst-layer { position: fixed; inset: 0; z-index: 110; overflow: hidden; pointer-events: none; }
.public-home .matrix-burst-layer .matrix-fragment { position: absolute; margin: 0; pointer-events: none; will-change: transform; }
.matrix-grid[data-bursting] > .matrix-cell { visibility: hidden; }

/* A light, open stage for the bird flock. */
.has-birds .matrix-wrap { width: min(100%, 680px); overflow: visible; }
.birds-scene, .birds-fallback { position: absolute; inset: 0; pointer-events: none; }
.birds-scene { z-index: 1; }
.birds-scene canvas { display: block; }
.birds-fallback svg { width: 100%; height: 100%; }
.birds-ready .birds-fallback { display: none; }
.has-birds .home-copy h1 { font-weight: 500; line-height: 1.27; letter-spacing: -.035em; }
.has-birds .home-copy h1 em { color: #5c5480; }
@media(max-width: 680px) { .has-birds .matrix-wrap { width: min(100%, 430px); margin-block: 12px; } }

/* Let the flock cross the whole viewport while keeping controls above it. */
.has-birds .matrix-wrap {
  position: fixed; inset: 0; width: 100%; height: 100%; aspect-ratio: auto;
  margin: 0; z-index: 0; pointer-events: none;
}
.has-birds .home-copy { z-index: 2; }
.has-birds .birds-scene, .has-birds .birds-fallback { width: 100%; height: 100%; }
.site-header { position: relative; z-index: 2; }
body:has(.has-birds) .home-examples, body:has(.has-birds) .home-scene, body:has(.has-birds) .guide-band, body:has(.has-birds) footer { position: relative; z-index: 1; }
@media(max-width: 680px) {
  .has-birds .home-hero-grid { min-height: calc(100svh - 106px); align-content: center; }
}
.has-birds .home-copy::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: -32px -100px -32px -40px;
  background: radial-gradient(ellipse at 25% 50%, rgba(255,255,255,.94) 0%, rgba(255,255,255,.8) 43%, rgba(255,255,255,0) 78%);
}
@media(max-width: 680px) { .has-birds .home-copy::before { inset: -30px -20px; background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,.94), rgba(255,255,255,.82) 48%, transparent 80%); } }

/* A small, quiet signature at the foot of the flight scene. */
.has-birds .home-hero-grid {
  min-height: calc(100svh - 74px); grid-template-columns: minmax(0, 1fr);
  align-items: end; padding-block: 24px 32px;
}
.has-birds .home-copy { width: max-content; max-width: min(100%, 470px); }
.has-birds .home-copy::before {
  inset: -45px -65px -35px -40px;
  background: radial-gradient(ellipse at 22% 70%, rgba(255,255,255,.97), rgba(255,255,255,.88) 48%, rgba(255,255,255,0) 80%);
}
.has-birds .home-copy h1 { display: flex; align-items: baseline; gap: 1em; font-size: 1rem; line-height: 1.15; font-weight: 400; letter-spacing: 0; }
.birds-prelude { color: #675f6b; font: 400 .875rem/1.6 "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: .15em; white-space: nowrap; }
.birds-title { color: #3c3344; font-family: "STKaiti", "Kaiti SC", "KaiTi", "Songti SC", serif; font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 400; letter-spacing: .12em; white-space: nowrap; }
.has-birds .home-copy .actions { margin-top: 16px; }
.public-home .has-birds .home-copy .solid {
  min-height: 38px; border: 0; border-radius: 0; padding: 7px 0;
  background: transparent; color: #66556b; font-size: .875rem; font-weight: 400;
  letter-spacing: .04em; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #bca7bb;
}
.public-home .has-birds .home-copy .solid:hover { color: #a43a70; text-decoration-color: currentColor; }
.public-home .has-birds .effect-switch { margin-top: 5px; gap: 18px; font-size: .875rem; }
.has-birds .effect-switch span { margin-right: 0; color: #77707c; }
.public-home .has-birds .effect-switch a { min-width: 0; min-height: 40px; padding: 6px 0; border: 0; border-radius: 0; color: #6b626e; font-weight: 400; }
.public-home .has-birds .effect-switch a[aria-current="page"] { color: #a43a70; background: transparent; text-decoration: underline; text-underline-offset: 6px; }
.public-home .has-birds .effect-switch a:hover { color: #a43a70; background: transparent; }
@media(max-width: 680px) {
  .has-birds .home-hero-grid { min-height: calc(100svh - 106px); align-content: end; padding-block: 20px 18px; }
  .has-birds .home-copy { width: 100%; }
  .has-birds .home-copy h1 { gap: .8em; }
  .birds-title { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .birds-prelude { font-size: .8125rem; }
  .has-birds .home-copy .actions { margin-top: 10px; }
}
