:root {
  --ink: #0b0b0c;
  --ink-soft: #151516;
  --paper: #f4f3f1;
  --paper-deep: #e9e7e3;
  --white: #fff;
  --muted: #8e8e91;
  --muted-dark: #555559;
  --line: rgba(11, 11, 12, .12);
  --line-dark: rgba(255, 255, 255, .14);
  --red: #91191e;
  --red-bright: #b5272d;
  --header-h: 80px;
  --content-w: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: white; background: var(--red); }

.page-noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  z-index: 15;
  top: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 4vw, 72px);
  background: rgba(11, 11, 12, .95);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand-logo {
  width: auto;
  height: 72px;
  flex: none;
  object-fit: contain;
  object-position: center;
}
.brand-system-name {
  margin-left: -20px;
  color: #a8a8ab;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .12em;
  white-space: nowrap;
}

.top-nav { height: 100%; display: flex; align-items: center; gap: 46px; position: relative; }
.top-nav a, .system-trigger {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 14px;
  cursor: pointer;
  transition: color .25s ease;
}
.top-nav a:hover, .top-nav a.active, .system-trigger:hover, .system-trigger.active { color: white; }
.system-trigger svg { width: 16px; transition: transform .25s ease; }
.system-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-indicator { display: none; }

.system-menu {
  position: absolute;
  z-index: -1;
  top: var(--header-h);
  left: 0;
  width: 100%;
  min-height: 225px;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  padding: 0 clamp(24px, 4vw, 72px);
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: .4s var(--ease);
}
.site-header.menu-open .system-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.system-menu-label { display: flex; flex-direction: column; justify-content: center; padding-right: 10%; }
.system-menu-label span { color: var(--red-bright); font-size: 11px; letter-spacing: .22em; }
.system-menu-label p { max-width: 250px; margin: 18px 0 0; color: #777; font-size: 14px; line-height: 1.7; }
.system-menu > a { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 0 34px; border-left: 1px solid var(--line-dark); transition: background .3s ease; }
.system-menu > a:hover { background: #141415; }
.menu-index { position: absolute; top: 28px; left: 34px; color: #5d5d60; font: 11px/1 ui-monospace, monospace; }
.system-menu strong { font-size: 24px; font-weight: 500; }
.system-menu small { margin-top: 10px; color: #777; font-size: 12px; }
.menu-arrow { position: absolute; right: 30px; bottom: 28px; color: var(--red-bright); font-size: 20px; transform: translate(-5px, 5px); transition: transform .3s var(--ease); }
.system-menu a:hover .menu-arrow { transform: none; }
.menu-toggle { display: none; }

#app { min-height: calc(100vh - var(--header-h)); }
#app:focus { outline: none; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* home */
.home-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: clamp(70px, 9vw, 138px) clamp(24px, 7vw, 112px) 52px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}
.home-hero::after {
  content: "";
  position: absolute;
  right: -7vw;
  top: 3vh;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8vw var(--ink), inset 0 0 0 calc(8vw + 1px) rgba(255,255,255,.08), inset 0 0 0 17vw var(--ink), inset 0 0 0 calc(17vw + 1px) rgba(255,255,255,.07);
}
.hero-red-block { position: absolute; z-index: 0; right: 10vw; top: 14vh; width: clamp(140px, 17vw, 260px); height: clamp(220px, 33vw, 500px); background: var(--red); transform: rotate(13deg); opacity: .9; }
.hero-content { position: relative; z-index: 2; max-width: 1080px; }
.home-hero h1 { margin: 32px 0 28px; max-width: 950px; font-size: clamp(56px, 7.4vw, 118px); font-weight: 520; line-height: 1.08; letter-spacing: -.055em; }
.home-hero h1 span { color: #77777b; }
.hero-intro { max-width: 540px; margin: 0; color: #a7a7aa; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.9; }
.hero-bottom { position: absolute; z-index: 2; bottom: 38px; left: clamp(24px, 7vw, 112px); right: clamp(24px, 7vw, 112px); display: flex; align-items: flex-end; justify-content: space-between; }
.scroll-hint { display: flex; align-items: center; gap: 12px; color: #737376; font: 10px/1 ui-monospace, monospace; letter-spacing: .14em; }
.scroll-hint i { display: block; width: 38px; height: 1px; background: #545456; }
.hero-number { color: #5c5c5f; font: 12px/1 ui-monospace, monospace; }

.manifesto { display: grid; grid-template-columns: 1fr 2fr; gap: 8vw; padding: clamp(90px, 11vw, 170px) clamp(24px, 7vw, 112px); }
.manifesto-label { font: 11px/1.4 ui-monospace, monospace; letter-spacing: .18em; color: var(--muted); }
.manifesto-copy { margin: 0; max-width: 940px; font-size: clamp(30px, 4.1vw, 62px); line-height: 1.25; letter-spacing: -.035em; }
.manifesto-copy em { color: var(--red); font-style: normal; }

.system-section { padding: 0 clamp(24px, 4vw, 72px) clamp(90px, 11vw, 160px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 0 34px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin: 0; font-size: clamp(34px, 4vw, 64px); font-weight: 520; letter-spacing: -.04em; }
.section-head p { max-width: 400px; margin: 0 0 5px; color: var(--muted-dark); font-size: 14px; line-height: 1.7; }
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.system-card { position: relative; min-height: 500px; padding: 30px; border-right: 1px solid var(--line); overflow: hidden; transition: color .45s var(--ease), background .45s var(--ease); }
.system-card:first-child { border-left: 1px solid var(--line); }
.system-card:hover { color: white; background: var(--ink); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-top span:first-child { color: var(--muted); font: 11px/1 ui-monospace, monospace; }
.card-arrow { font-size: 25px; transition: transform .35s var(--ease); }
.system-card:hover .card-arrow { color: var(--red-bright); transform: translate(5px, -5px); }
.system-card h3 { position: relative; z-index: 2; margin: 44px 0 10px; font-size: 34px; font-weight: 500; }
.system-card p { position: relative; z-index: 2; margin: 0; color: var(--muted); font-size: 13px; }
.card-visual { position: absolute; left: 30px; right: 30px; bottom: 30px; height: 245px; display: grid; place-items: center; background: var(--paper-deep); transition: .45s var(--ease); }
.system-card:hover .card-visual { background: #1b1b1d; }
.phone-shape { position: relative; width: 112px; height: 216px; border: 6px solid var(--ink); border-radius: 22px; background: white; box-shadow: 18px 18px 0 rgba(145,25,30,.15); transition: transform .45s var(--ease); }
.system-card:hover .phone-shape { transform: translateY(-7px) rotate(-2deg); }
.phone-shape::before { content: ""; position: absolute; top: 12px; left: 13px; width: 36px; height: 4px; background: var(--red); }
.phone-shape::after { content: ""; position: absolute; left: 13px; right: 13px; top: 34px; height: 80px; background: linear-gradient(135deg, #ddd, #aaa); box-shadow: 0 93px 0 -34px #d6d6d6, 0 113px 0 -34px #d6d6d6; }
.mini-shape { width: 170px; height: 210px; padding: 18px; background: white; box-shadow: 18px 18px 0 rgba(145,25,30,.15); transform: rotate(3deg); transition: transform .45s var(--ease); }
.system-card:hover .mini-shape { transform: translateY(-7px) rotate(0); }
.mini-shape::before { content: "···"; display: block; height: 26px; color: var(--ink); text-align: right; letter-spacing: 2px; }
.mini-shape::after { content: ""; display: block; height: 130px; background: linear-gradient(var(--red) 0 45px, transparent 45px), linear-gradient(90deg, #ddd 48%, transparent 48% 52%, #ddd 52%); }
.portal-shape { position: relative; width: 90%; height: 158px; border: 5px solid var(--ink); background: white; box-shadow: 16px 16px 0 rgba(145,25,30,.15); transition: transform .45s var(--ease); }
.system-card:hover .portal-shape { transform: translateY(-7px); }
.portal-shape::before { content: ""; position: absolute; inset: 0 0 auto; height: 18px; background: var(--ink); border-bottom: 4px solid var(--red); }
.portal-shape::after { content: ""; position: absolute; left: 12px; right: 12px; top: 32px; bottom: 12px; background: linear-gradient(90deg, #ddd 22%, transparent 22% 25%, #c9c9c9 25%); }

.principles { padding: clamp(80px, 9vw, 130px) clamp(24px, 7vw, 112px); color: white; background: var(--red); }
.principles .eyebrow { color: #d99a9e; }
.principles-list { margin-top: 55px; border-top: 1px solid rgba(255,255,255,.28); }
.principle { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 30px; align-items: center; padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.principle span { color: #d99a9e; font: 11px/1 ui-monospace, monospace; }
.principle h3 { margin: 0; font-size: clamp(24px, 3vw, 40px); font-weight: 500; }
.principle p { max-width: 470px; margin: 0; color: #e0babd; font-size: 14px; line-height: 1.75; }

/* brand */
.brand-page { color: #fff; background: #0b0b0c; }

.brand-vi-page {
  min-height: 100vh;
  color: #fff;
  background: #0b0b0c;
}

.brand-vi-hero {
  width: min(100%, var(--content-w));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) clamp(24px, 4vw, 72px) 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
}

.brand-vi-kicker {
  margin: 0 0 22px;
  color: #c3242a;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
}

.brand-vi-hero h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 120px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.07em;
}

.brand-vi-hero-copy > p:not(.brand-vi-kicker) {
  max-width: 720px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 18px;
  line-height: 1.9;
}

.brand-vi-document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  color: rgba(255, 255, 255, .46);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
}

.brand-vi-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.brand-vi-button {
  min-width: 158px;
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.brand-vi-button:hover,
.brand-vi-button:focus-visible {
  color: #0b0b0c;
  background: #fff;
  border-color: #fff;
}

.brand-vi-button--primary {
  background: #91191e;
  border-color: #91191e;
}

.brand-vi-viewer-shell {
  padding: 0 clamp(16px, 3vw, 48px) clamp(64px, 8vw, 120px);
}

.brand-vi-viewer-frame {
  width: min(100%, var(--content-w));
  margin: 0 auto;
  padding: 12px;
  background: #171719;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .38);
}

.brand-vi-viewer {
  width: 100%;
  height: calc(100vh - var(--header-h) - 32px);
  min-height: 720px;
  display: block;
  border: 0;
  background: #fff;
}

.brand-vi-viewer-fallback {
  width: min(100%, var(--content-w));
  margin: 14px auto 0;
  color: rgba(255, 255, 255, .54);
  font-size: 13px;
}

.brand-vi-viewer-fallback a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.brand-banner-shell { position: relative; height: calc(145vh - var(--header-h)); min-height: 760px; background: #0b0b0c; }
.brand-banner { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); min-height: 560px; overflow: hidden; color: #fff; background: #101010; isolation: isolate; }
.brand-banner-video { position: absolute; inset: -2% 0 0; width: 100%; height: 104%; object-fit: cover; object-position: center; background: #101010; transform: translate3d(0, var(--brand-hero-y, 0), 0) scale(var(--brand-hero-scale, 1)); transform-origin: center; will-change: transform; }
.brand-banner-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--brand-overlay-opacity, .92); background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.42) 52%, rgba(0,0,0,.58) 100%), linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.58) 100%); will-change: opacity; }
.brand-banner-copy { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .75fr); gap: 8vw; align-items: end; padding: 0 clamp(28px, 8.3vw, 132px) clamp(58px, 7vw, 94px); opacity: var(--brand-copy-opacity, 1); transform: translate3d(0, var(--brand-copy-y, 0), 0); will-change: transform, opacity; }
.brand-banner-copy h1 { display: grid; margin: 0; font-size: clamp(62px, 8.3vw, 126px); font-weight: 420; line-height: .82; letter-spacing: -.07em; }
.brand-banner-copy h1 span { color: #fff; }
.brand-banner-copy h1 strong { font-weight: 420; }
.brand-banner-copy h1 i { color: #cc2630; font-style: normal; }
.brand-banner-copy > p { max-width: 480px; margin: 0 0 8px; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.95; }
.brand-ali-content { position: relative; z-index: 3; color: #fff; background: #0b0b0c; }
.brand-ali-section { position: relative; padding: clamp(92px, 9.5vw, 152px) clamp(28px, 8.3vw, 132px) 0; }
.brand-ali-heading { position: relative; display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: 9vw; align-items: start; margin-bottom: clamp(44px, 5vw, 74px); padding-bottom: clamp(26px, 3vw, 42px); }
.brand-ali-heading::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, #91191e 0 16%, rgba(255,255,255,.18) 16% 100%); transform: scaleX(clamp(0, calc(var(--brand-section-progress, 0) * 2.2), 1)); transform-origin: left; opacity: .72; will-change: transform; }
.brand-ali-heading h2 { margin: 0; font-size: clamp(36px, 4vw, 58px); font-weight: 520; line-height: 1.15; letter-spacing: -.045em; }
.brand-ali-heading > div > p { margin: 13px 0 0; color: rgba(255,255,255,.48); font-size: 15px; }
.brand-ali-heading > p { max-width: 690px; margin: 2px 0 0; color: rgba(255,255,255,.66); font-size: 15px; line-height: 2; }
.brand-language-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.brand-language-card { position: relative; min-height: clamp(430px, 38vw, 610px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: clamp(28px, 3.1vw, 48px); color: #fff; background: #111; isolation: isolate; }
.brand-language-card.reveal { opacity: 0; transform: translate3d(0, 28px, 0) scale(.985); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform 1.05s cubic-bezier(.22, 1, .36, 1); will-change: opacity, transform; }
.brand-language-card.reveal:nth-child(2) { transition-delay: .08s; }
.brand-language-card.reveal:nth-child(3) { transition-delay: .16s; }
.brand-language-card.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.brand-language-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; transform: scale(var(--brand-media-scale, 1)); transition: transform .7s cubic-bezier(.2,.75,.2,1); }
.brand-language-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.08) 28%, rgba(0,0,0,.84) 100%); }
.brand-language-card:hover::before { transform: scale(1.035); }
.brand-language-card-high::before { background-image: url('./assets/brand-language-high-end.jpg'); }
.brand-language-card-warm::before { background-image: url('./assets/brand-language-warmth.jpg'); }
.brand-language-card-east::before { background-image: url('./assets/brand-language-chinese-expression.png'); }
.brand-language-card > * { position: relative; z-index: 1; }
.brand-language-card > span { color: rgba(255,255,255,.58); font: 10px/1 ui-monospace, monospace; letter-spacing: .14em; }
.brand-language-card h3 { margin: 20px 0 10px; font-size: clamp(38px, 4.2vw, 64px); font-weight: 500; }
.brand-language-card p { max-width: 420px; margin: 0; color: rgba(255,255,255,.66); line-height: 1.8; }
.brand-experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: clamp(96px, 10vw, 158px); }
.brand-experience-grid article { position: relative; min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; overflow: hidden; color: #fff; background: #111; }
.brand-experience-grid article:nth-child(2) { background: #91191e; }
.brand-experience-grid article:nth-child(3) { color: #fff; background: #242424; }
.brand-experience-grid span { font: 10px/1 ui-monospace, monospace; letter-spacing: .14em; opacity: .62; }
.brand-experience-grid strong { align-self: flex-start; font-size: clamp(26px, 3vw, 40px); font-weight: 500; }
.brand-experience-grid i { position: absolute; right: 25px; bottom: 10px; color: rgba(255,255,255,.09); font: 160px/.8 Arial, sans-serif; font-style: normal; }
.brand-experience-grid article:nth-child(3) i { color: rgba(255,255,255,.08); }
.brand-ali-follow { min-height: 0; display: block; padding: 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.1); background: #0b0b0c; }
.brand-ali-follow img { width: 100%; max-width: 1920px; height: auto; display: block; margin: 0 auto; }

/* system detail */
.system-page { min-height: 100vh; background: #fff; }
.system-titlebar {
  height: 225px;
  padding: 34px clamp(24px, 4vw, 72px) 30px;
  color: white;
  background: var(--ink);
}
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #6f6f73; font-size: 12px; }
.breadcrumb b { color: #aaa; font-weight: 400; }
.system-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 24px; }
.system-heading h1 { margin: 0; font-size: clamp(48px, 6vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
.system-heading h1.long-title { font-size: clamp(36px, 4.5vw, 58px); letter-spacing: -.04em; }
.system-heading h1 span { color: var(--red-bright); }
.system-heading p { width: min(100%, 430px); margin: 0 0 10px; color: #8b8b8f; font-size: 14px; line-height: 1.8; }
.detail-layout { width: 100%; display: grid; grid-template-columns: clamp(260px, 18.5vw, 320px) minmax(0, 1fr); margin: 0; }
.side-nav { position: sticky; top: var(--header-h); align-self: start; height: calc(100vh - var(--header-h)); padding: 0 22px 72px; overflow: auto; overscroll-behavior: contain; border-right: 1px solid rgba(11,11,12,.1); background: linear-gradient(180deg, #fbfbfa 0%, #f5f4f2 100%); scrollbar-width: none; scroll-behavior: auto; }
.side-nav::-webkit-scrollbar { display: none; }
.side-nav-head { position: sticky; z-index: 3; top: 0; display: flex; justify-content: space-between; align-items: center; height: 58px; color: #999; background: rgba(250,250,248,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); font: 9px/1 ui-monospace, monospace; letter-spacing: .14em; }
.side-nav-head b { color: var(--ink); font-weight: 500; }
.side-nav-progress { position: sticky; z-index: 4; top: 57px; height: 2px; margin: 0 0 26px; overflow: hidden; background: rgba(11,11,12,.08); transform-origin: left center; }
.side-nav-progress i { display: block; width: 100%; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left center; transition: transform .15s linear; }
.side-nav-about { position: relative; min-height: 54px; display: flex; align-items: center; margin: 0 0 14px; padding: 0 10px; color: #4f4f53; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.side-nav-group { margin-bottom: 8px; }
.side-nav-group-toggle { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border: 0; color: #4f4f53; background: transparent; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; transition: color .25s ease, background .25s ease; }
.side-nav-group-toggle:hover { color: var(--ink); background: rgba(11,11,12,.035); }
.side-nav-group-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .35s var(--ease), color .25s ease; }
.side-nav-group.is-collapsed .side-nav-group-toggle svg { transform: rotate(180deg); }
.side-nav-group.active-group .side-nav-group-toggle { color: var(--ink); }
.side-nav-group.active-group .side-nav-group-toggle svg { color: var(--red); }
.side-nav-group-links { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .42s var(--ease), opacity .3s ease; }
.side-nav-group-links > div { min-height: 0; overflow: hidden; padding-bottom: 10px; }
.side-nav-group.is-collapsed .side-nav-group-links { grid-template-rows: 0fr; opacity: 0; pointer-events: none; }
.side-nav a { position: relative; display: flex; align-items: center; min-height: 42px; margin: 0; padding: 0 12px 0 30px; color: #77777b; border-radius: 0; font-size: 13px; transition: color .25s ease, background .25s ease; }
.side-nav a::before { content: ""; position: absolute; left: 9px; top: 50%; width: 2px; height: 0; background: var(--red); transform: translateY(-50%); transition: height .3s var(--ease); }
.side-nav a:hover { color: var(--ink); background: rgba(11,11,12,.035); }
.side-nav a.active { color: var(--ink); background: transparent; font-weight: 550; }
.side-nav a.active::before { height: 22px; }
.side-nav a.side-nav-about {
  min-height: 54px;
  padding: 0 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.side-nav a.side-nav-about:hover,
.side-nav a.side-nav-about.active { color: var(--ink); font-weight: 500; }
.side-nav a.side-nav-about::before { display: none; }
.detail-content { min-width: 0; padding: 70px clamp(30px, 6vw, 96px) 130px; }
.detail-intro { padding-bottom: 78px; border-bottom: 1px solid var(--line); }
.detail-intro .page-code { color: var(--red); font: 11px/1 ui-monospace, monospace; }
.detail-intro h2 { margin: 20px 0; font-size: clamp(40px, 5vw, 72px); font-weight: 520; letter-spacing: -.045em; }
.detail-intro > p { max-width: 720px; margin: 0; color: var(--muted-dark); font-size: 16px; line-height: 1.9; }
.preview-stage { position: relative; height: 430px; margin-top: 52px; display: grid; place-items: center; overflow: hidden; background: #efeeeb; }
.preview-stage::before { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(11,11,12,.08); }
.preview-stage .cross { position: absolute; color: #aaa; font: 13px/1 ui-monospace, monospace; }
.preview-stage .cross:nth-of-type(1) { left: 18px; top: 15px; }
.preview-stage .cross:nth-of-type(2) { right: 18px; bottom: 15px; }
.device-preview { position: relative; z-index: 1; transition: transform .5s var(--ease); }
.preview-stage:hover .device-preview { transform: translateY(-7px); }
.device-app { width: 186px; height: 360px; padding: 18px; border: 9px solid #101011; border-radius: 36px; background: white; box-shadow: 25px 32px 55px rgba(0,0,0,.18); }
.device-app::before { content: ""; display: block; width: 52px; height: 6px; margin: -8px auto 16px; border-radius: 6px; background: #101011; }
.ui-red { height: 77px; padding: 17px; color: white; background: var(--red); font-size: 13px; }
.ui-lines { height: 176px; margin-top: 12px; background: repeating-linear-gradient(to bottom, #e6e6e6 0 9px, transparent 9px 24px); }
.device-mini { width: 240px; height: 340px; padding: 22px; background: white; border-radius: 5px; box-shadow: 25px 32px 55px rgba(0,0,0,.18); }
.mini-head { display: flex; justify-content: flex-end; height: 22px; font-weight: 700; letter-spacing: 2px; }
.mini-greeting { margin: 22px 0 16px; font-size: 24px; }
.mini-hero { height: 95px; background: var(--red); }
.mini-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.mini-buttons i { aspect-ratio: 1; border-radius: 50%; background: #dedede; }
.device-portal { width: min(82%, 650px); height: 318px; border: 8px solid #101011; background: white; box-shadow: 25px 32px 55px rgba(0,0,0,.18); }
.portal-bar { height: 31px; padding: 8px 12px; color: white; background: #101011; font: 8px/1 ui-monospace, monospace; letter-spacing: .16em; }
.portal-body { display: grid; grid-template-columns: 26% 1fr; height: calc(100% - 31px); }
.portal-side { padding: 26px 16px; border-right: 1px solid #ddd; background: #f5f5f5; }
.portal-side::after { content: ""; display: block; height: 90px; background: repeating-linear-gradient(to bottom, #bbb 0 5px, transparent 5px 20px); }
.portal-main { padding: 28px; }
.portal-main h4 { margin: 0 0 20px; font-size: 25px; }
.portal-main::after { content: ""; display: block; height: 150px; background: linear-gradient(var(--red) 0 40%, #ddd 40% 44%, transparent 44% 52%, #e4e4e4 52%); }

.doc-section { scroll-margin-top: 120px; padding: 76px 0; border-bottom: 1px solid var(--line); }
.doc-section-head { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; margin-bottom: 42px; }
.doc-section h3 { margin: 0; font-size: clamp(28px, 3vw, 42px); font-weight: 520; letter-spacing: -.025em; }
.doc-section-head p { margin: 0; color: var(--muted-dark); font-size: 14px; line-height: 1.85; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.spec-card { min-height: 190px; padding: 25px; background: #f4f3f1; }
.spec-card small { color: var(--red); font: 10px/1 ui-monospace, monospace; letter-spacing: .12em; }
.spec-card strong { display: block; margin: 45px 0 12px; font-size: 21px; font-weight: 520; }
.spec-card p { margin: 0; color: #777; font-size: 12px; line-height: 1.6; }
.measure-demo { position: relative; height: 270px; overflow: hidden; background: var(--ink); }
.measure-demo::before, .measure-demo::after { content: ""; position: absolute; background: rgba(255,255,255,.11); }
.measure-demo::before { top: 50%; left: 0; width: 100%; height: 1px; }
.measure-demo::after { left: 50%; top: 0; height: 100%; width: 1px; }
.measure-box { position: absolute; inset: 54px 14%; display: grid; place-items: center; color: white; border: 1px solid var(--red-bright); font-size: 28px; letter-spacing: .12em; }
.measure-box span { position: absolute; top: -22px; left: 0; color: #888; font: 9px/1 ui-monospace, monospace; }
.token-row { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 160px; }
.token { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 18px; border: 1px solid var(--line); border-right: 0; }
.token:last-child { border-right: 1px solid var(--line); }
.token i { width: 26px; height: 26px; border-radius: 50%; margin-bottom: 32px; background: currentColor; }
.token strong { font-size: 12px; }
.token small { color: #888; font: 9px/1 ui-monospace, monospace; }

/* APP 2026 specification */
.app-spec-intro h2 { max-width: 760px; }
.app-spec-intro { scroll-margin-top: calc(var(--header-h) + 113px); border-bottom: 0; }
.app-spec-intro > p { width: 100%; max-width: none; }
.spec-intro-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.spec-intro-title-row h2 { margin-right: auto; }
.spec-download-button { flex: 0 0 auto; min-width: 154px; height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 0 16px 0 20px; color: var(--ink); background: transparent; border: 1px solid var(--ink); font-size: 12px; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.spec-download-button img { width: 17px; height: 17px; display: block; object-fit: contain; transition: filter .25s ease; }
.spec-download-button:hover,
.spec-download-button:active,
.spec-download-button:focus-visible { color: white; border-color: var(--ink); background: var(--ink); }
.spec-download-button:hover img,
.spec-download-button:active img,
.spec-download-button:focus-visible img { filter: brightness(0) invert(1); }
.spec-summary { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border: 1px solid var(--line); }
.spec-summary > div { min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border-right: 1px solid var(--line); }
.spec-summary > div:last-child { border-right: 0; }
.spec-summary strong { font-size: 36px; font-weight: 480; letter-spacing: -.04em; }
.spec-summary span { color: #858589; font-size: 11px; }
.spec-index-board { margin-top: 38px; border-top: 0; }
.spec-index-board > div { display: grid; grid-template-columns: 42px 105px 1fr; gap: 15px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-index-board > div:last-child { border-bottom: 0; }
.spec-index-board small { color: var(--red); font: 10px/1.5 ui-monospace, monospace; }
.spec-index-board strong { font-size: 13px; font-weight: 550; }
.spec-index-board span { color: #858589; font-size: 12px; line-height: 1.7; }
.spec-section-meta { display: flex; justify-content: space-between; margin-bottom: 30px; color: var(--red); font: 10px/1 ui-monospace, monospace; letter-spacing: .12em; }
.spec-section-meta span:last-child { color: #999; letter-spacing: .08em; }
.rule-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 30px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.rule-list > div { min-height: 80px; padding: 16px; border-right: 1px solid var(--line); }
.rule-list > div:last-child { border-right: 0; }
.rule-list small { display: block; margin-bottom: 24px; color: var(--red); font: 9px/1 ui-monospace, monospace; }
.rule-list span { color: #555; font-size: 12px; }
.is-deprecated { opacity: .82; }
.is-deprecated .spec-section-meta, .is-deprecated .rule-list small { color: #777; }
.spec-reference-image { width: 100%; margin: 0; overflow: visible; border: 0; background: transparent; }
.spec-reference-image img { display: block; width: 100%; height: auto; }
.spec-reference-stack { display: grid; gap: 0; }
.app-spec-section--image-only { padding-top: 0; }
.app-spec-section--image-only .spec-reference-image { width: 112.4%; margin-left: -6.2%; }
.mini-spec-section.has-multiple-images .spec-reference-stack { gap: 96px; }
.mini-spec-section { content-visibility: auto; contain-intrinsic-size: auto 1200px; }
.app-spec-section.mini-spec-section .spec-reference-image img { transform: none; transition: none; }
.app-hd-spec-section { content-visibility: auto; contain-intrinsic-size: auto 1200px; }
.app-spec-section.app-hd-spec-section .spec-reference-image img { transform: none; transition: none; }
.app-spec-section { margin-top: 140px; padding-bottom: 150px; }
.app-spec-section--image-only { padding-bottom: 150px; }
.app-spec-section.reveal { opacity: 0; filter: blur(3px); transform: translateY(20px); transition: opacity .72s var(--ease), transform .82s var(--ease), filter .65s ease; }
.app-spec-section.reveal.is-visible { opacity: 1; filter: none; transform: none; }
.app-spec-section .spec-reference-image img { transform: scale(.994); transform-origin: center top; transition: transform 1.2s var(--ease); }
.app-spec-section.is-visible .spec-reference-image img { transform: scale(1); }
.font-specimen { padding: 34px; color: white; background: var(--ink); }
.font-specimen > div { display: grid; grid-template-columns: 170px 1fr; align-items: baseline; padding: 22px 0; border-bottom: 1px solid #28282a; }
.font-specimen > div:last-child { border-bottom: 0; }
.font-specimen small { color: #777; font: 9px/1 ui-monospace, monospace; }
.font-specimen strong { font-size: clamp(24px, 3vw, 38px); font-weight: 500; }
.font-specimen p, .font-specimen span { margin: 0; color: #bbb; font-size: 15px; }
.layout-specimen { display: grid; grid-template-columns: 2fr repeat(3, 1fr); min-height: 290px; background: #f3f2ef; }
.layout-specimen > div:not(.mobile-grid) { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 22px; border-left: 1px solid white; }
.layout-specimen small { color: #888; font-size: 10px; }
.layout-specimen strong { font-size: 14px; font-weight: 550; }
.mobile-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 32px 24px; background: var(--ink); }
.mobile-grid i { background: rgba(145,25,30,.42); border: 1px solid #a42a30; }
.mobile-grid span { position: absolute; left: 5px; top: 50%; color: #777; font: 9px/1 ui-monospace, monospace; }
.mobile-grid b { position: absolute; left: 24px; bottom: 14px; color: #777; font: 9px/1 ui-monospace, monospace; letter-spacing: .1em; }
.shadow-specimen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 42px; background: #f2f1ee; }
.shadow-specimen div { display: flex; flex-direction: column; gap: 32px; align-items: center; color: #777; font: 9px/1 ui-monospace, monospace; }
.shadow-specimen i { width: 100%; max-width: 170px; aspect-ratio: 1.35; background: white; }
.shadow-specimen div:nth-child(1) i { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.shadow-specimen div:nth-child(2) i { box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.shadow-specimen div:nth-child(3) i { box-shadow: 0 24px 48px rgba(0,0,0,.18); }
.corner-specimen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.corner-specimen div { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 34px 16px; background: #f4f3f1; }
.corner-specimen i { width: 75px; aspect-ratio: 1; border-radius: var(--radius); background: var(--red); }
.corner-specimen span { color: #777; font-size: 10px; }
.button-specimen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 42px; background: #f4f3f1; }
.button-specimen button, .empty-specimen button { min-width: 126px; height: 46px; padding: 0 22px; border: 1px solid var(--red); border-radius: 4px; color: white; background: var(--red); }
.button-specimen button:nth-child(2) { color: var(--red); background: white; }
.button-specimen button:nth-child(3) { border-color: transparent; color: var(--red); background: transparent; }
.button-specimen button:disabled { border-color: #ddd; color: #aaa; background: #e7e7e7; }
.button-specimen .round { min-width: 46px; padding: 0; border-radius: 50%; }
.icon-specimen { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.icon-specimen span { min-height: 142px; display: grid; place-items: center; align-content: center; gap: 22px; border-right: 1px solid var(--line); font-size: 32px; }
.icon-specimen span:last-child { border-right: 0; }
.icon-specimen small { color: #888; font-size: 10px; }
.form-specimen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 32px; background: #f4f3f1; }
.form-specimen label { padding: 12px 14px; border: 1px solid #d7d7d7; background: white; }
.form-specimen label span { display: block; margin-bottom: 8px; color: #888; font-size: 10px; }
.form-specimen input { width: 100%; border: 0; outline: 0; font: inherit; background: transparent; }
.form-specimen label.focus { border-color: var(--red); }
.form-specimen label.error { border-color: #d64141; }
.form-specimen label.error span, .form-specimen label.error input { color: #b92e2e; }
.form-state { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding-top: 16px; color: #777; font-size: 11px; }
.form-state i { width: 32px; height: 18px; border-radius: 20px; background: #bbb; }
.form-state i.on { background: var(--red); }
.form-state b { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #ccc; background: white; }
.nav-specimen { overflow: hidden; border: 1px solid var(--line); background: #fafafa; }
.nav-top, .nav-tabs { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; background: white; border-bottom: 1px solid var(--line); }
.nav-top strong { font-size: 16px; }
.nav-tabs { justify-content: flex-start; gap: 38px; padding-bottom: 0; }
.nav-tabs span { padding: 0 2px 14px; color: #777; font-size: 12px; }
.nav-tabs .active { color: var(--red); border-bottom: 2px solid var(--red); }
.nav-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 28px; }
.nav-body i { height: 90px; background: #ecebe8; }
.feedback-specimen { padding: 38px; background: #ecebe8; }
.feedback-screen { position: relative; min-height: 260px; display: grid; place-items: center; background: rgba(11,11,12,.7); }
.toast { position: absolute; top: 22px; padding: 10px 16px; border-radius: 4px; color: white; background: rgba(0,0,0,.78); font-size: 11px; }
.dialog-card { width: min(86%, 320px); padding: 24px; background: white; }
.dialog-card p { margin: 12px 0 24px; color: #777; font-size: 12px; }
.dialog-card span, .dialog-card b { display: inline-block; width: 48%; text-align: center; color: #777; font-size: 12px; }
.dialog-card b { color: var(--red); }
.divider-specimen { display: flex; align-items: center; gap: 20px; min-height: 130px; padding: 30px; background: #f4f3f1; }
.divider-specimen span { flex: 1; height: 1px; background: #ccc; }
.divider-specimen b { color: #888; font-size: 11px; font-weight: 400; }
.portrait-specimen { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 180px; background: #f4f3f1; }
.portrait-specimen i { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-style: normal; }
.portrait-specimen i:nth-child(2) { width: 80px; height: 80px; background: var(--red); }
.portrait-specimen i:nth-child(3) { border-radius: 12px; background: #777; }
.portrait-specimen i:nth-child(4) { color: #aaa; border: 1px dashed #aaa; background: transparent; }
.tag-specimen { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; min-height: 150px; padding: 34px; background: #f4f3f1; }
.tag-specimen span { padding: 8px 14px; color: #666; border: 1px solid #ccc; border-radius: 4px; background: white; font-size: 11px; }
.tag-specimen span:nth-child(2) { color: #3868a5; border-color: #9bb7d9; }
.tag-specimen span:nth-child(3) { color: #337a58; border-color: #9ec9b2; }
.tag-specimen span:nth-child(4) { color: #986716; border-color: #d4bc88; }
.tag-specimen span:nth-child(5), .tag-specimen .badge { color: white; border-color: var(--red); background: var(--red); }
.tag-specimen .badge { min-width: 28px; padding: 7px; border-radius: 50%; text-align: center; }
.notice-specimen { display: grid; gap: 10px; padding: 26px; background: #f4f3f1; }
.notice-specimen p { margin: 0; padding: 15px 18px; color: #3868a5; background: #eaf2fb; font-size: 12px; }
.notice-specimen p:nth-child(2) { color: #337a58; background: #e9f5ee; }
.notice-specimen p:nth-child(3) { color: #986716; background: #faf2df; }
.empty-specimen { min-height: 290px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f4f3f1; }
.empty-specimen i { margin-bottom: 18px; color: #bbb; font-size: 54px; font-style: normal; }
.empty-specimen p { margin: 9px 0 22px; color: #999; font-size: 11px; }
.empty-specimen button { min-width: 100px; height: 38px; }
.ad-specimen, .component-specimen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ad-specimen div, .component-specimen div { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; color: white; background: linear-gradient(145deg, #91191e, #31080a); }
.ad-specimen div:nth-child(2), .component-specimen div:nth-child(2) { background: var(--ink); }
.ad-specimen div:nth-child(3), .component-specimen div:nth-child(3) { color: #333; background: #e6e3de; }
.ad-specimen small, .component-specimen small { font: 9px/1 ui-monospace, monospace; opacity: .65; }
.comment-specimen { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 28px; background: #f4f3f1; }
.comment-specimen > i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--red); font-style: normal; }
.comment-specimen p { margin: 10px 0 18px; line-height: 1.7; }
.comment-specimen small { color: #999; }
.deprecated-specimen { padding: 44px; color: #777; border: 1px dashed #aaa; background: #f4f3f1; }
.deprecated-specimen strong { color: #555; font: 12px/1 ui-monospace, monospace; letter-spacing: .18em; }
.deprecated-specimen p { margin: 40px 0 0; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: center; min-height: 170px; padding: 40px clamp(24px, 4vw, 72px); color: #777; background: var(--ink); border-top: 1px solid var(--line-dark); font-size: 12px; }
.footer-brand { color: white; font-size: 14px; font-weight: 650; letter-spacing: .1em; }
.filing-info { color: #777; }
.copyright { font: 10px/1 ui-monospace, monospace; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.brand-page .brand-scroll-item.reveal { transform: translate3d(0, calc(24px + var(--brand-item-y, 0px)), 0) scale(var(--brand-item-scale, 1)); will-change: transform, opacity, filter; }
.brand-page .brand-scroll-item.reveal.is-visible { transform: translate3d(0, var(--brand-item-y, 0px), 0) scale(var(--brand-item-scale, 1)); transition: opacity .7s var(--ease), filter .65s ease, transform .18s linear; }
.brand-page.brand-motion-enabled .brand-scroll-item.reveal,
.brand-page.brand-motion-enabled .brand-scroll-item.reveal.is-visible { opacity: var(--brand-item-opacity, 0); filter: blur(var(--brand-item-blur, 8px)); transform: translate3d(var(--brand-item-x, 0), var(--brand-item-y, 48px), 0) scale(var(--brand-item-scale, .97)); transition: none; }

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand-vi-hero { grid-template-columns: 1fr; padding-top: 56px; }
  .brand-vi-actions { justify-content: flex-start; }
  .brand-vi-viewer { height: calc(100svh - var(--header-h) - 24px); min-height: 580px; }
  .brand-system-name { display: none; }
  .menu-toggle { position: relative; z-index: 2; width: 38px; height: 38px; display: block; margin-left: 22px; border: 0; background: transparent; }
  .menu-toggle span { position: absolute; left: 9px; width: 21px; height: 1px; background: white; transition: .3s ease; }
  .menu-toggle span:first-child { top: 14px; }
  .menu-toggle span:last-child { top: 23px; }
  .menu-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
  .top-nav { position: fixed; inset: var(--header-h) 0 auto; height: auto; display: none; padding: 25px; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line-dark); }
  .site-header.mobile-open .top-nav { display: flex; flex-direction: column; align-items: stretch; }
  .top-nav a, .system-trigger { width: 100%; height: 54px; justify-content: space-between; border-bottom: 1px solid var(--line-dark); }
  .nav-indicator { display: none; }
  .system-menu { top: 230px; grid-template-columns: 1fr; max-height: calc(100vh - 230px); overflow: auto; padding: 0 24px 25px; }
  .system-menu-label { display: none; }
  .system-menu > a { min-height: 118px; padding: 28px 22px; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .menu-index { top: 20px; left: auto; right: 22px; }
  .menu-arrow { display: none; }
  .home-hero { min-height: 690px; }
  .hero-red-block { right: -5vw; top: 18vh; opacity: .7; }
  .manifesto { grid-template-columns: 1fr; gap: 40px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 25px; }
  .system-grid { grid-template-columns: 1fr; }
  .system-card { min-height: 440px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .principle { grid-template-columns: 45px 1fr; }
  .principle p { grid-column: 2; }
  .brand-hero p { margin-left: 0; }
  .brand-module { grid-template-columns: 1fr; gap: 36px; }
  .color-grid { grid-template-columns: 1fr; }
  .color-swatch { min-height: 180px; }
  .brand-banner-shell { height: calc(135svh - var(--header-h)); min-height: 760px; }
  .brand-banner { height: calc(100svh - var(--header-h)); min-height: 560px; }
  .brand-banner-copy { grid-template-columns: 1fr; gap: 38px; align-content: end; }
  .brand-banner-copy > p { max-width: 600px; }
  .brand-ali-heading { grid-template-columns: 1fr; gap: 28px; }
  .brand-language-cards { grid-template-columns: 1fr; }
  .brand-language-card { min-height: 430px; }
  .brand-experience-grid { grid-template-columns: 1fr; }
  .brand-experience-grid article { min-height: 240px; }
  .system-heading { align-items: flex-start; flex-direction: column; gap: 28px; }
  .system-titlebar { height: auto; min-height: 225px; }
  .detail-layout { grid-template-columns: 1fr; }
  .side-nav { position: sticky; z-index: 8; top: var(--header-h); height: auto; display: flex; gap: 10px; padding: 12px 22px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-nav-head, .side-nav-progress { display: none; }
  .side-nav-group { display: contents; }
  .side-nav-group-toggle { display: none; }
  .side-nav-group-links, .side-nav-group-links > div, .side-nav-group.is-collapsed .side-nav-group-links { display: contents; opacity: 1; pointer-events: auto; }
  .side-nav a { flex: 0 0 auto; display: block; min-height: 0; padding: 9px 14px; border: 1px solid var(--line); transform: none; }
  .side-nav a::before { display: none; }
  .side-nav a:hover { transform: none; }
  .side-nav a.active { color: white; border-color: var(--red); background: var(--red); box-shadow: none; transform: none; }
  .side-nav-about { margin: 0; font-size: 13px; font-weight: 400; }
  .app-spec-section { margin-top: 100px; padding-bottom: 110px; }
  .doc-section-head { grid-template-columns: 1fr; gap: 20px; }
  .spec-intro-title-row { align-items: flex-start; flex-direction: column; gap: 0; }
  .spec-download-button { margin: -6px 0 34px; }
  .spec-summary { grid-template-columns: repeat(2, 1fr); }
  .spec-summary > div:nth-child(2) { border-right: 0; }
  .spec-summary > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .rule-list { grid-template-columns: repeat(2, 1fr); }
  .rule-list > div:nth-child(2) { border-right: 0; }
  .rule-list > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .layout-specimen { grid-template-columns: 1fr 1fr; }
  .mobile-grid { grid-row: span 3; }
  .form-specimen { grid-template-columns: 1fr; }
  .form-state { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { padding: 0 18px; }
  .brand-logo { width: auto; height: 72px; }
  .home-hero { padding-left: 22px; padding-right: 22px; }
  .home-hero h1 { font-size: clamp(50px, 15.5vw, 74px); }
  .hero-bottom { left: 22px; right: 22px; }
  .manifesto-copy { font-size: 31px; }
  .system-card { min-height: 410px; }
  .card-visual { height: 215px; }
  .principles { padding-left: 24px; padding-right: 24px; }
  .brand-hero { min-height: 460px; padding-top: 70px; }
  .brand-hero h1 { font-size: 64px; }
  .type-sample { padding: 25px; }
  .brand-banner-shell { height: calc(128svh - var(--header-h)); min-height: 660px; }
  .brand-banner { min-height: 520px; }
  .brand-banner-copy { gap: 30px; padding: 0 22px 48px; }
  .brand-banner-copy h1 { font-size: clamp(52px, 17vw, 76px); }
  .brand-banner-copy > p { font-size: 13px; line-height: 1.8; }
  .brand-ali-section { padding: 76px 22px 0; }
  .brand-ali-heading { margin-bottom: 38px; }
  .brand-ali-heading h2 { font-size: 36px; }
  .brand-ali-heading > div > p { font-size: 13px; }
  .brand-ali-heading > p { font-size: 14px; line-height: 1.85; }
  .brand-language-card { min-height: 350px; padding: 28px; }
  .brand-experience-grid { padding-bottom: 82px; }
  .brand-experience-grid article { min-height: 210px; padding: 28px; }
  .brand-ali-follow { min-height: 0; }
  .system-titlebar { padding-top: 40px; }
  .system-heading h1 { font-size: 56px; }
  .detail-content { padding: 52px 22px 90px; }
  .preview-stage { height: 340px; }
  .device-app { transform: scale(.8); }
  .device-mini { transform: scale(.8); }
  .device-portal { width: 92%; height: 220px; }
  .spec-grid { grid-template-columns: 1fr; }
  .token-row { grid-template-columns: repeat(2, 1fr); }
  .token:nth-child(2) { border-right: 1px solid var(--line); }
  .spec-index-board > div { grid-template-columns: 32px 88px 1fr; }
  .shadow-specimen, .ad-specimen, .component-specimen { grid-template-columns: 1fr; }
  .corner-specimen { grid-template-columns: repeat(2, 1fr); }
  .icon-specimen { grid-template-columns: repeat(3, 1fr); }
  .icon-specimen span { border-bottom: 1px solid var(--line); }
  .font-specimen > div { grid-template-columns: 1fr; gap: 14px; }
  .layout-specimen { grid-template-columns: 1fr; }
  .mobile-grid { min-height: 240px; grid-row: auto; }
  .feedback-specimen { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .app-spec-section.reveal { opacity: 1; filter: none; transform: none; }
  .brand-banner-shell { height: auto; min-height: 0; }
  .brand-banner { position: relative; top: 0; }
  .brand-page .brand-scroll-item.reveal,
  .brand-page .brand-scroll-item.reveal.is-visible,
  .brand-page.brand-motion-enabled .brand-scroll-item.reveal,
  .brand-page.brand-motion-enabled .brand-scroll-item.reveal.is-visible { opacity: 1; filter: none; transform: none; }
  .brand-ali-heading::after { transform: scaleX(1); }
}
