:root {
  --dock-top: 22px;
  --dock-clearance: 104px;
  --line: #d9e2ec;
}
html { scroll-padding-top: var(--dock-clearance); scroll-behavior: smooth; scroll-snap-type: y proximity; }
.chapter { scroll-snap-align: start; }
.site-header { position: fixed; z-index: 30; inset: var(--dock-top) 0 auto; height: auto; padding: 0; justify-content: center; background: none; border: 0; backdrop-filter: none; pointer-events: none; }
.navigation { pointer-events: auto; gap: 13px; }
.nav-pill { display: grid; grid-template-columns: repeat(5,minmax(88px,1fr)); padding: 5px; overflow: visible; border: 1px solid #ffffffa6; border-radius: 999px; background: linear-gradient(160deg,#ffffff7a,#d8edff46); backdrop-filter: blur(24px) saturate(140%); box-shadow: inset 0 1px 1px #ffffffd9,inset 0 -2px 3px #84b3d042,0 8px 30px #001f3524; }
.nav-pill a { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 0; padding: 0 16px; font-size: 13px; font-weight: 500; color: #102f47; white-space: nowrap; border-radius: 999px; transition: background .3s,box-shadow .3s,color .3s; }
.nav-pill a[aria-current] { color: #fff; background: radial-gradient(ellipse at 30% 10%,#86dcff99,transparent 60%),linear-gradient(140deg,#168ee9c7,#0061bdc7); box-shadow: inset 0 1px 2px #ffffffc4,inset 0 -4px 9px #003c7857,0 3px 16px #028bed52; border: 1px solid #c9ecff9e; }
.nav-pill a:not([aria-current]):hover { background: #ffffff50; }
body[data-section=home] .nav-pill,body[data-section=guide] .nav-pill { background: linear-gradient(160deg,#ffffff5c,#d8edff25); }
body[data-section=home] .nav-pill a { color: white; }
.nav-pill svg { display: none; }
.guide-shortcut { width: 54px; height: 54px; padding: 4px; border: 1px solid #ffffffbd; background: linear-gradient(145deg,#ffffff80,#ffffff15); backdrop-filter: blur(16px); box-shadow: inset 0 1px 2px #ffffffa3,0 7px 26px #031f4629; }
.guide-shortcut[aria-current] { outline: 2px solid #78cdff; outline-offset: 3px; }
.hero { width: 100%; height: 100svh; min-height: 0; max-height: none; padding: 0; margin: 0; border-radius: 0; scroll-margin-top: calc(-1 * var(--dock-clearance)); justify-content: flex-end; isolation: isolate; background: #0d4086; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg,#03294b0a,#002c6310 45%,#002c6330); pointer-events: none; }
.hero-center { z-index: 2; margin: 0 0 -1.8vw; padding: 0; width: 100%; }
.hero-center .hero-welcome { margin: 0 4.4vw 38px; font-size: clamp(18px,2.2vw,40px); line-height: 1.4; font-weight: 400; color: white; letter-spacing: 0; }
.hero-wordmark { width: 100%; max-height: none; opacity: .18; object-fit: fill; }
.hero-center #hero-fallback { font-size: 22vw; opacity: .18; }
.motion-toggle { position: absolute; right: 24px; top: 28px; z-index: 3; padding: 9px 13px; border: 1px solid #ffffff4a; border-radius: 999px; background: #073e7630; backdrop-filter: blur(12px); color: white; font-size: 10px; }
.section { max-width: none; min-height: calc(100svh - var(--dock-clearance)); padding: clamp(55px,7vw,95px) max(6vw,24px); }
.section-heading { margin-bottom: clamp(30px,4vw,50px); align-items: center; }
.section-heading .dot-title,.txl-section .dot-title { display: flex; align-items: center; gap: 16px; font-size: clamp(35px,5.4vw,76px); letter-spacing: -.052em; margin: 0; }
.dot-title::before { content: ''; width: .15em; height: .15em; background: #0066b2; border-radius: 50%; flex: none; }
.logo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.logo-grid .asset-visual { height: clamp(240px,38vh,400px); }
.asset-card { border-radius: 13px; }
.asset-visual { background: #eef3f7; }
.round-button { width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 50%; }
.card-info p { font-size: 10px; }
.download-icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.text-link { align-items: center; }
.capsule-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 13px 23px; border: 1px solid #0066b2; border-radius: 999px; background: #0066b2; color: white; font-size: 13px; font-weight: 500; transition: background .25s,box-shadow .25s,transform .25s; }
.capsule-button:hover { background: #004e91; box-shadow: 0 7px 22px #0066b224; transform: translateY(-1px); }
#palette-section,#typography,#brand-assets { border-top: 1px solid var(--line); }
.palette { grid-template-columns: repeat(5,minmax(0,1fr)); }
.swatch { min-height: 240px; padding: 23px; gap: 40px; }
.swatch strong { font-size: 18px; }
.color-codes { display: grid; gap: 10px; width: 100%; }
.color-codes button { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 3px 0; color: inherit; background: transparent; text-align: left; min-height: 24px; }
.color-codes span { font-size: 9px; letter-spacing: .04em; }
.color-codes code { font-size: 10px; white-space: nowrap; }
.color-codes button:hover { opacity: .7; }
.gradient-heading { margin: 36px 0 18px; }
.gradient-heading h3 { font-size: 23px; }
.gradient-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.gradient-tile { min-height: 230px; padding: 26px; border: 1px solid #ffffff30; border-radius: 12px; color: white; display: flex; flex-direction: column; justify-content: space-between; }
.gradient-tile h4 { margin: 0; font-family: var(--head); font-weight: 500; font-size: 27px; letter-spacing: -.03em; }
.gradient-tile>div { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; }
.gradient-tile>div>span { font-size: 10px; line-height: 1.7; }
.gradient-tile .capsule-button { background: #ffffff1f; border-color: #ffffff85; min-height: 43px; font-size: 11px; padding: 10px 16px; gap: 15px; backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 #ffffff50; }
.gradient-tile .capsule-button:hover { background: #ffffff40; }
.gradient-tile.is-light { color: #1b2021; border-color: #dce3e9; }
.gradient-tile.is-light .capsule-button { color: #1b2021; border-color: #bcc9d4; background: #ffffff60; }
#typography { display: flex; flex-direction: column; justify-content: center; }
.graphics-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.graphics-grid .asset-visual { height: clamp(240px,38vh,400px); padding: 45px; }
.units-section { min-height: 100svh; padding-top: max(100px,7vw); background: linear-gradient(155deg,#d9efff 0%,#b6dcfa 55%,#e9f6ff 100%); scroll-margin-top: calc(-1 * var(--dock-clearance)); }
.unit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.unit-card { min-height: 184px; background: #ffffffde; border-color: #ffffff; border-radius: 12px; }
.unit-image { height: 78px; margin-bottom: 18px; }
.unit-name .download-icon { width: 19px; height: 19px; }
.search-field { background: #ffffffaf; border-color: #90b8d6; }
.filter-tabs button { color: #254760; min-height: 44px; }
.filter-tabs button[aria-pressed=true] { color: white; }
.guide-section { margin: 0; padding: 90px 6%; width: 100%; min-height: 100svh; display: grid; place-items: center; grid-template-columns: 1fr; border-radius: 0; background: #e6ebed; color: var(--ink); scroll-margin-top: calc(-1 * var(--dock-clearance)); isolation: isolate; }
.guide-backdrop { position: absolute; inset: 0; background: url('assets/media/guide-architecture.png') center/cover no-repeat; z-index: -2; }
.guide-backdrop::after { content: ''; position: absolute; inset: 0; background: #032f4820; }
.guide-glass-card { width: min(850px,100%); display: grid; grid-template-columns: minmax(0,1fr) 1.16fr; gap: 34px; border-radius: 24px; background: #ffffffed; border: 1px solid white; padding: 16px; box-shadow: 0 30px 90px #001f352b; backdrop-filter: blur(18px); }
.guide-cover { width: 100%; height: 415px; object-fit: cover; border-radius: 13px; }
.guide-copy { padding: 28px 22px 24px 0; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; }
.guide-copy .eyebrow { color: #6b7580; }
.guide-copy h2 { font-size: clamp(32px,3.3vw,48px); line-height: 1.08; letter-spacing: -.04em; margin: 4px 0 35px; }
.guide-copy .capsule-button { margin: auto 0 0 auto; width: auto; min-width: 190px; }
.download-glow { position: relative; overflow: hidden; background: linear-gradient(120deg,#0066b2,#1599e8,#055da8); background-size: 220% 100%; animation: living-glow 7s ease-in-out infinite; border-color: #ffffff80; box-shadow: inset 0 1px 1px #ffffffa0,0 5px 20px #0066b229; }
.download-glow::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg,transparent 20%,#ffffff32 50%,transparent 80%); transform: translateX(-100%); animation: glass-shine 7s ease-in-out infinite; pointer-events: none; }
.guide-meta { font-size: 10px; color: #6b7580; margin-top: 14px; }
.corporate-footer { display: block; padding: 66px max(6vw,24px) 32px; background: #00182a; color: #dae7f1; font-size: 13px; scroll-snap-align: end; }
.footer-layout { display: grid; grid-template-columns: minmax(215px,1fr) 2fr; gap: clamp(25px,8vw,120px); }
.footer-brand img { width: 185px; }
.footer-brand address { font-style: normal; line-height: 1.65; margin: 23px 0 13px; }
.footer-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.footer-links div { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong { color: #fff; margin-bottom: 4px; }
.corporate-footer a:hover { color: #a6d4ff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 45px; padding-top: 20px; border-top: 1px solid #ffffff38; font-size: 12px; }
.dialog-top { justify-content: flex-end; margin-bottom: 8px; }
#asset-preview { display: flex; align-items: center; justify-content: center; }
#asset-preview>img { width: 100%; height: 100%; object-fit: contain; }
#export-form h2 { margin-bottom: 27px; }
#export-button { width: 100%; }
.color-options { display: flex; flex-wrap: wrap; gap: 10px; }
.color-option { position: relative; cursor: pointer; }
.color-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.color-option>span { display: block; width: 30px; height: 30px; border: 1px solid #b9c8d4; border-radius: 50%; }
.color-option input:checked+span { outline: 2px solid #0066b2; outline-offset: 3px; }
.color-option input:focus-visible+span { outline: 3px solid #0066b2; outline-offset: 3px; }
.color-option em { display: none; }
.txl-hub { padding-top: calc(var(--dock-clearance) + 40px); max-width: 1440px; }
.txl-intro { margin: 55px 0 85px; padding: 60px 7%; background: #e9f4ff; border-radius: 14px; }
.txl-intro h1 { font-family: var(--head); font-size: clamp(36px,6vw,80px); letter-spacing: -.05em; margin: 20px 0; color: #0162f3; }
.txl-intro p { color: #57718c; }
.txl-section { margin: 0 0 80px; }
.txl-section .dot-title { font-size: 39px; margin-bottom: 30px; }
.txl-section .logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.txl-section .palette { grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); }
.txl-guide { border-radius: 14px; padding: 40px; background: #001f35; color: white; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.txl-guide h2 { font-size: 30px; }
.txl-guide p { font-size: 12px; color: #c4d6e4; margin-top: 12px; }
.txl-guide>span { width: 100%; font-size: 11px; }

@media(max-width:1100px) {
  .swatch { padding: 18px; }
  .color-codes button { flex-direction: column; gap: 4px; }
  .gradient-tile { padding: 22px; }
  .gradient-tile>div { flex-wrap: wrap; }
}
@media(max-width:760px) {
  :root { --dock-clearance: 16px; }
  html { scroll-padding-bottom: 100px; }
  .site-header { inset: auto 0 max(15px,env(safe-area-inset-bottom)); }
  .navigation { position: static; transform: none; width: min(calc(100% - 24px),420px); gap: 9px; }
  .nav-pill { grid-template-columns: repeat(5,minmax(0,1fr)); width: 100%; padding: 5px; }
  .nav-pill a { display: flex; flex-direction: row; min-height: 44px; padding: 4px 5px; font-size: 10px; }
  .guide-shortcut { width: 50px; height: 50px; }
  .motion-toggle { top: 22px; right: 20px; font-size: 9px; }
  .hero-center { margin-bottom: 105px; }
  .hero-center .hero-welcome { margin: 0 24px 28px; font-size: 21px; max-width: 260px; }
  .hero-wordmark { width: 110%; max-width: none; margin-left: -5%; opacity: .23; }
  .section { padding: 55px 24px; }
  .section-heading { display: flex; gap: 14px; }
  .section-heading .dot-title { gap: 10px; font-size: clamp(30px,7vw,47px); }
  .section-heading .text-link { gap: 7px; text-align: right; font-size: 10px; }
  .logo-grid { grid-template-columns: 1fr; gap: 18px; }
  .logo-grid .asset-visual { height: 230px; padding: 35px; }
  .card-info { padding: 18px 20px; }
  .palette { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .swatch { min-height: 220px; padding: 21px; gap: 24px; }
  .swatch:first-child { min-height: 235px; }
  .color-codes button { flex-direction: row; gap: 6px; }
  .color-codes code { font-size: 10px; }
  .gradient-grid { grid-template-columns: 1fr; gap: 15px; }
  .gradient-tile { min-height: 210px; padding: 25px; }
  .gradient-tile>div { flex-wrap: nowrap; }
  #typography { justify-content: flex-start; }
  .graphics-grid { grid-template-columns: 1fr; gap: 18px; }
  .graphics-grid .asset-visual { height: 230px; padding: 30px; }
  .units-section { padding-top: 55px; }
  .unit-grid { grid-template-columns: 1fr; gap: 11px; }
  .unit-card { min-height: 110px; padding: 17px; }
  .unit-image { height: 62px; }
  .guide-section { padding: 55px 24px 120px; }
  .guide-glass-card { width: min(450px,100%); grid-template-columns: 1fr; gap: 0; padding: 12px; border-radius: 20px; }
  .guide-cover { height: 290px; object-fit: cover; object-position: center; border-radius: 11px; }
  .guide-copy { padding: 28px 12px 18px; }
  .guide-copy h2 { font-size: 37px; margin: 19px 0 28px; }
  .guide-copy .capsule-button { width: auto; min-width: 180px; margin-left: auto; font-size: 12px; padding: 13px 19px; gap: 10px; }
  .footer-layout { grid-template-columns: 1fr; gap: 35px; }
  .footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 30px; }
  .corporate-footer { padding-bottom: 112px; }
  .editor-visual { max-width: 205px; }
  .editor-layout { gap: 12px; }
  #export-form h2 { font-size: 27px; margin-bottom: 22px; }
  .dialog-top { margin-bottom: 8px; }
  .txl-hub { padding-top: 35px; }
  .txl-intro { margin: 35px 0 50px; padding: 35px 24px; }
  .txl-intro h1 { font-size: 46px; }
  .txl-section .logo-grid { grid-template-columns: 1fr; }
  .txl-section .dot-title { font-size: 30px; }
  .txl-guide { display: block; padding: 28px; }
  .txl-guide .capsule-button { margin-top: 25px; width: 100%; }
}
@media(max-width:360px) {
  .nav-pill a { font-size: 9px; padding-inline: 3px; }
  .color-codes button { flex-direction: column; }
  .hero-center .hero-welcome { font-size: 19px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-snap-type: none; scroll-behavior: auto; }
  *,*::before,*::after { animation: none!important; transition: none!important; }
}
.color-note { font-size: 11px; color: #617180; line-height: 1.7; margin-top: 15px; }
.txl-guide-panel { margin-top: 65px; border-radius: 15px; min-height: 700px; overflow: hidden; }
.txl-guide-panel .guide-copy h2 { font-size: clamp(30px,3.5vw,46px); }
@media(max-width:760px) {
  .txl-guide-panel { margin-left: -24px; margin-right: -24px; width: calc(100% + 48px); border-radius: 0; }
}
.guide-copy .guide-description { margin: -12px 0 22px; color: #455765; line-height: 1.5; }

html { scroll-snap-type: none; }
.color-codes code { font-size: 11.33px; }
.type-specimen { font-size: clamp(84px,9vw,136px); line-height: 1.1; }
.type-card h4 { font-size: 24px; }
.type-card p { font-size: 15px; }
.guide-glass-card { width: min(740px,100%); grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px,3vw,30px); align-items: stretch; }
.guide-cover { height: clamp(290px,42vh,355px); }
.guide-copy { justify-content: center; padding: 18px 14px 18px 0; }
.guide-copy h2 { margin-bottom: 18px; font-size: clamp(30px,3.1vw,44px); }
.guide-copy .guide-description { margin: 0 0 18px; }
.guide-copy .capsule-button { margin: 4px 0 0; }
.txl-cover { display: grid; place-items: center; padding: 12%; background: linear-gradient(145deg,#092e78,#0162f3); }
.txl-hub { max-width: none; padding: 0; }
.txl-hub > .unit-back { display: inline-block; margin: calc(var(--dock-clearance) + 8px) max(6vw,24px) 12px; }
.txl-hub > .txl-section { margin: 0; padding: clamp(36px,6vh,72px) max(6vw,24px); min-height: calc(100svh - var(--dock-clearance)); }
.txl-hub > .txl-section:first-of-type { padding-top: 8px; }
.txl-hub .logo-grid .asset-visual { height: clamp(105px,19vh,220px); }
.txl-guide-panel { margin: 0; width: 100%; min-height: 100svh; border-radius: 0; }
.txl-fonts .type-card { font-family: "Archivo Expanded", sans-serif; }
.txl-fonts .type-specimen { font-weight: 700; }
.txl-hub > .txl-fonts { min-height: 0; }
.txl-fonts .type-card { max-width: 640px; }
@media(max-width:760px) {
  .guide-glass-card { width: min(450px,100%); grid-template-columns: 1fr; gap: 0; }
  .guide-cover { height: 270px; }
  .guide-copy { padding: 22px 12px 14px; }
}
@font-face {
  font-family: "Archivo Expanded";
  src: url("assets/txl/archivo-expanded-regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: "Archivo Expanded";
  src: url("assets/txl/archivo-expanded-bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}
@media (min-width:761px) {
  #hub > .section { padding-block: clamp(30px,5vh,75px); }
  #palette-section .swatch { min-height: 180px; gap: 18px; }
  #palette-section .gradient-tile { min-height: 155px; }
}
