/* test5 — HERITAGE · premium corporate editorial */

/* ---------- tokens ---------- */
:root {
  --fs-bg: #f4f6f8; --fs-fg: #0e1e33; --fs-muted: #556275; --fs-line: #d5dce4; --fs-surface: #ffffff; --fs-surface-2: #e9eef3;
  --fs-accent: #005680; --fs-accent-fg: #ffffff; --fs-plate: #ffffff;
  --fs-radius: 2px; --fs-wrap: 1320px; --fs-header-h: 64px;
  --fs-font-body: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --fs-font-display: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  --fs-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, "Noto Sans KR", monospace;
  --hx-brass: #a8875a; --hx-brass-t: #806139; --hx-navy: #0b1a2c; --hx-navy-2: #10243b; --hx-navy-fg: #e8edf3; --hx-navy-muted: #a9b6c6;
  --hx-alert: #b43d35; --hx-ok: #26734f; --hx-viz-accent: #005680; --hx-viz-soft: rgba(0, 86, 128, .08);
  --hx-shadow: 0 30px 60px -30px rgba(14, 30, 51, .28);
  --hx-util-h: 38px; --hx-bar-h: 84px;
  --hx-ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fs-bg: #08121f; --fs-fg: #e6ecf2; --fs-muted: #9aa8b9; --fs-line: #1e3049; --fs-surface: #0d1a2b; --fs-surface-2: #132439;
    --fs-accent: #5fb2db; --fs-accent-fg: #04121e; --fs-plate: #f3f5f7;
    --hx-brass: #c4a574; --hx-brass-t: #cfb183; --hx-navy: #050c16; --hx-navy-2: #0c1828;
    --hx-alert: #f07368; --hx-ok: #5cc493; --hx-viz-accent: #6dbde4; --hx-viz-soft: rgba(109, 189, 228, .10);
    --hx-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fs-bg: #08121f; --fs-fg: #e6ecf2; --fs-muted: #9aa8b9; --fs-line: #1e3049; --fs-surface: #0d1a2b; --fs-surface-2: #132439;
  --fs-accent: #5fb2db; --fs-accent-fg: #04121e; --fs-plate: #f3f5f7;
  --hx-brass: #c4a574; --hx-brass-t: #cfb183; --hx-navy: #050c16; --hx-navy-2: #0c1828;
  --hx-alert: #f07368; --hx-ok: #5cc493; --hx-viz-accent: #6dbde4; --hx-viz-soft: rgba(109, 189, 228, .10);
  --hx-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- base ---------- */
html { background: var(--fs-bg); overflow-x: clip; }
body { margin: 0; padding-top: calc(var(--hx-util-h) + var(--hx-bar-h)); background: var(--fs-bg); font-feature-settings: "palt" 0; overflow-x: clip; }
::selection { background: var(--fs-accent); color: var(--fs-accent-fg); }
.hx-wide { max-width: var(--fs-wrap); margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); box-sizing: border-box; width: 100%; }
@media (min-width: 1200px) { .hx-wide { padding-left: 48px; padding-right: 48px; } }
.hx-mono { font-family: var(--fs-font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.hx-brass-t { color: var(--hx-brass-t); }
#fs-main { outline: none; min-height: 60vh; }
h1, h2, h3 { text-wrap: balance; }
a { text-underline-offset: .2em; }
.fs-skip { border-radius: 0; }

.hx-arr { display: inline-block; transition: transform .35s var(--hx-ease); margin-left: .45em; }
a:hover > .hx-arr, button:hover > .hx-arr { transform: translateX(4px); }
.hx-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--fs-accent); font-weight: 500; text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--fs-accent) 35%, transparent); padding-top: 2px; box-sizing: border-box; line-height: 1.4; }
.hx-link:hover { border-bottom-color: var(--fs-accent); }
.hx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; font-weight: 500; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; box-sizing: border-box; cursor: pointer; font-family: inherit; }
.hx-btn-solid { background: var(--fs-accent); color: var(--fs-accent-fg); }
.hx-btn-solid:hover { background: color-mix(in oklab, var(--fs-accent) 82%, var(--fs-fg)); }
.hx-btn-line { border-color: color-mix(in oklab, var(--fs-fg) 30%, transparent); color: var(--fs-fg); background: transparent; }
.hx-btn-line:hover { border-color: var(--fs-fg); }
.hx-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- masthead ---------- */
.hx-mast { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: transform .35s var(--hx-ease); }
.hx-util { height: var(--hx-util-h); background: var(--hx-navy); color: var(--hx-navy-muted); font-size: 12.5px; }
.hx-util-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hx-util-est { margin: 0; color: var(--hx-brass); font-size: 11px; }
.hx-util-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.hx-util-links > li { display: flex; align-items: center; }
.hx-util-links > li + li::before { content: ""; width: 1px; height: 12px; background: rgba(255, 255, 255, .16); margin: 0 10px; }
.hx-util a { color: var(--hx-navy-fg); text-decoration: none; opacity: .86; display: inline-flex; align-items: center; min-height: 32px; }
.hx-util a:hover { opacity: 1; text-decoration: underline; }
.hx-langs { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fs-font-mono); font-size: 12px; letter-spacing: .08em; }
.hx-langs i { font-style: normal; opacity: .4; }
.hx-lang[aria-current] { color: var(--hx-brass) !important; opacity: 1 !important; font-weight: 500; }
.hx-theme { width: 32px; height: 32px; display: inline-grid; place-items: center; background: none; border: 0; color: var(--hx-navy-fg); cursor: pointer; padding: 0; border-radius: 50%; }
.hx-theme svg { width: 16px; height: 16px; }
.hx-theme:hover { background: rgba(255, 255, 255, .08); }

.hx-bar { position: relative; height: var(--hx-bar-h); background: color-mix(in oklab, var(--fs-bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--fs-line); transition: height .35s var(--hx-ease), background .3s; }
.hx-bar-in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.hx-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(8px, 2.4vw, 40px); }
.hx-nav-l { justify-content: flex-end; }
.hx-nav-r { justify-content: flex-start; }
.hx-top-btn { position: relative; background: none; border: 0; font: inherit; font-size: 15.5px; font-weight: 500; color: var(--fs-fg); cursor: pointer; min-height: 44px; padding: 0 6px; letter-spacing: .01em; }
.hx-top-btn::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 1px; background: var(--hx-brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--hx-ease); }
.hx-top-btn:hover::after, .hx-top-btn[aria-expanded="true"]::after, .hx-top-btn[aria-current]::after { transform: scaleX(1); }
.hx-top-btn[aria-current] { color: var(--fs-accent); }
.hx-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fs-fg); padding: 6px 4px; }
.hx-logo-mark { width: 30px; height: 30px; fill: var(--fs-accent); flex: none; transition: width .35s var(--hx-ease), height .35s var(--hx-ease); }
.hx-logo-word { font-family: var(--fs-font-display); font-size: 23px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.hx-logo-word b { font-weight: 600; color: var(--fs-accent); }
.hx-burger { display: none; }

html.hx-compact .hx-mast { transform: translateY(calc(-1 * var(--hx-util-h))); }
html.hx-compact .hx-bar { height: 64px; background: color-mix(in oklab, var(--fs-bg) 96%, transparent); }
html.hx-compact .hx-logo-mark { width: 24px; height: 24px; }
html.hx-compact .hx-logo-word { font-size: 20px; }

/* drop panels */
.hx-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--fs-surface); border-bottom: 1px solid var(--fs-line); box-shadow: var(--hx-shadow); animation: hx-drop .35s var(--hx-ease); max-height: calc(100vh - 120px); overflow: auto; }
@keyframes hx-drop { from { opacity: 0; transform: translateY(-8px); } }
.hx-panel-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); padding-top: 44px; padding-bottom: 52px; }
.hx-panel-intro { border-right: 1px solid var(--fs-line); padding-right: clamp(24px, 4vw, 64px); }
.hx-panel-intro .hx-mono { margin: 0 0 18px; font-size: 11px; }
.hx-panel-title { font-family: var(--fs-font-display); font-size: 34px; font-weight: 500; margin: 0 0 14px; letter-spacing: -.02em; }
.hx-panel-lead { color: var(--fs-muted); margin: 0 0 18px; font-size: 15px; }
.hx-panel-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 40px; align-content: start; }
.hx-panel-groups.is-rich { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.hx-pg-t { display: flex; align-items: center; justify-content: space-between; min-height: 48px; text-decoration: none; font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--fs-line); color: var(--fs-fg); }
.hx-pg-t:hover { color: var(--fs-accent); }
.hx-pg ul { list-style: none; margin: 10px 0 0; padding: 0; }
.hx-pg li a { display: block; padding: 7px 0; color: var(--fs-muted); text-decoration: none; font-size: 14.5px; line-height: 1.45; }
.hx-pg li a:hover { color: var(--fs-accent); }
html.hx-panel-on .hx-bar { background: var(--fs-surface); }

/* drawer (mobile) */
.hx-drawer { position: fixed; inset: 64px 0 0 0; background: var(--fs-bg); overflow-y: auto; overscroll-behavior: contain; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
.hx-drawer-in { padding: 12px max(20px, env(safe-area-inset-left)) 24px; }
.hx-dr-top { border-bottom: 1px solid var(--fs-line); }
.hx-dr-top summary { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 64px; font-family: var(--fs-font-display); font-size: 24px; font-weight: 500; cursor: pointer; }
.hx-dr-top summary::-webkit-details-marker { display: none; }
.hx-dr-top summary::after { content: "+"; margin-left: auto; font-family: var(--fs-font-mono); font-size: 20px; color: var(--hx-brass-t); }
.hx-dr-top[open] summary::after { content: "–"; }
.hx-dr-top summary .hx-mono { color: var(--hx-brass-t); font-size: 11px; }
.hx-dr-top ul { list-style: none; margin: 0; padding: 0 0 16px 38px; }
.hx-dr-top ul ul { padding: 0 0 4px 14px; border-left: 1px solid var(--fs-line); }
.hx-dr-top a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 16px; }
.hx-dr-top ul ul a { font-size: 14.5px; color: var(--fs-muted); min-height: 40px; }
.hx-dr-all { color: var(--fs-accent); }
.hx-dr-util { padding-top: 28px; display: grid; gap: 6px; }
.hx-dr-util p { margin: 0; }
.hx-dr-util p a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--fs-muted); }
.hx-dr-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--fs-line); margin-top: 10px; padding-top: 10px; }
.hx-dr-row .hx-langs a { min-height: 44px; min-width: 44px; display: inline-grid; place-items: center; text-decoration: none; }
.hx-dr-row .hx-lang[aria-current] { color: var(--fs-accent) !important; }
.hx-dr-row .hx-theme { width: 44px; height: 44px; color: var(--fs-fg); }
html.hx-drawer-on { overflow: hidden; }

@media (max-width: 1080px) {
  :root { --hx-util-h: 0px; --hx-bar-h: 64px; }
  .hx-util { display: none; }
  .hx-bar-in { grid-template-columns: 1fr auto; }
  .hx-nav { display: none; }
  .hx-logo { justify-self: start; }
  .hx-logo-word { font-size: 20px; }
  .hx-logo-mark { width: 24px; height: 24px; }
  .hx-burger { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 10px; background: none; border: 0; color: var(--fs-fg); font: inherit; font-size: 14px; cursor: pointer; }
  .hx-burger-l { display: grid; gap: 6px; width: 22px; }
  .hx-burger-l i { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--hx-ease); }
  .hx-burger[aria-expanded="true"] .hx-burger-l i:first-child { transform: translateY(3.75px) rotate(45deg); }
  .hx-burger[aria-expanded="true"] .hx-burger-l i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  html.hx-compact .hx-mast { transform: none; }
  .hx-panel { display: none !important; }
}

/* ---------- section scaffolding ---------- */
.hx-sec { padding-block: clamp(88px, 11vw, 168px); position: relative; }
.hx-sec + .hx-sec { border-top: 1px solid var(--fs-line); }
.hx-sh { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(24px, 4vw, 64px); margin-bottom: clamp(48px, 6vw, 88px); }
.hx-sh > * { grid-column: 2; }
.hx-sh .hx-kicker { grid-column: 1; grid-row: 1 / span 4; align-self: start; padding-top: 14px; }
.hx-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-family: var(--fs-font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fs-muted); flex-wrap: wrap; }
.hx-no { font-family: var(--fs-font-display); font-size: 15px; letter-spacing: 0; color: var(--hx-brass-t); font-weight: 600; }
.hx-kicker-rule { width: 36px; height: 1px; background: var(--hx-brass); display: inline-block; }
.hx-h2 { font-family: var(--fs-font-display); font-weight: 500; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.18; letter-spacing: -.025em; margin: 0; }
.hx-h2-s { font-size: clamp(28px, 3.2vw, 44px); }
.hx-h3 { font-family: var(--fs-font-display); font-weight: 500; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; letter-spacing: -.015em; margin: 0 0 16px; }
.hx-lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--fs-muted); max-width: 60ch; margin: 22px 0 0; line-height: 1.75; }
.hx-sh .hx-link { justify-self: start; margin-top: 18px; }
.hx-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.hx-split-r { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 900px) {
  .hx-sh { grid-template-columns: 1fr; }
  .hx-sh > *, .hx-sh .hx-kicker { grid-column: 1; grid-row: auto; padding-top: 0; }
  .hx-split, .hx-split-r { grid-template-columns: 1fr; }
}

/* reveal */
html.hx-js .hx-rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--hx-ease), transform .9s var(--hx-ease); }
html.hx-js .hx-rv.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hx-hero { position: relative; padding-top: clamp(28px, 4vw, 56px); overflow: clip;
  background:
    linear-gradient(to right, color-mix(in oklab, var(--fs-line) 55%, transparent) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%,
    var(--fs-bg); }
.hx-hero-grid { display: grid; grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(calc(100svh - 122px - 120px), 760px); }
.hx-eyebrow { display: flex; align-items: center; gap: 14px; color: var(--fs-accent); margin: 0 0 28px; font-size: 12px; }
.hx-eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--hx-brass); }
.hx-hero-t { font-family: var(--fs-font-display); font-weight: 500; font-size: clamp(42px, 5.6vw, 88px); line-height: 1.08; letter-spacing: -.035em; margin: 0; }
.hx-hero-t span { display: block; }
.hx-hero-b { color: var(--fs-accent); font-weight: 600; }
.hx-hero-lead { font-size: clamp(16px, 1.3vw, 18.5px); color: var(--fs-muted); max-width: 54ch; margin: 30px 0 36px; line-height: 1.8; }
.hx-hero-art { position: relative; margin: 0; aspect-ratio: 1 / 1; max-height: 640px; width: 100%; justify-self: end; touch-action: pan-y; }
.hx-fcanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hx-hero-art figcaption { position: absolute; left: 0; bottom: 0; color: var(--fs-muted); font-size: 10.5px; }
.hx-seal { position: absolute; right: 0; bottom: 9%; width: clamp(96px, 9vw, 124px); height: auto; fill: none; stroke: var(--hx-brass); stroke-width: .8; animation: hx-spin 60s linear infinite; }
.hx-seal text { fill: var(--hx-brass-t); stroke: none; font-family: var(--fs-font-mono); font-size: 7.6px; letter-spacing: .14em; }
.hx-seal .hx-seal-y { font-family: var(--fs-font-display); font-size: 15px; letter-spacing: 0; font-weight: 600; }
.hx-seal .hx-seal-s { font-size: 6px; }
@keyframes hx-spin { to { transform: rotate(360deg); } }
.hx-hero-foot { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; border-top: 1px solid var(--fs-line); padding-top: 22px; padding-bottom: 26px; margin-top: 12px; }
.hx-since { margin: 0; display: flex; gap: 18px; align-items: baseline; font-family: var(--fs-font-display); font-size: 16.5px; }
.hx-since .hx-mono { font-family: var(--fs-font-mono); flex: none; font-size: 11px; }
.hx-motto { margin: 0; color: var(--fs-muted); font-size: 11px; }
.hx-film-btn { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 22px 0 8px; background: var(--fs-surface); border: 1px solid var(--fs-line); color: var(--fs-fg); font: inherit; font-size: 15px; cursor: pointer; transition: border-color .25s; }
.hx-film-btn:hover { border-color: var(--fs-accent); }
.hx-film-btn .hx-mono { color: var(--fs-muted); font-size: 11px; }
.hx-play { width: 38px; height: 38px; border-radius: 50%; background: var(--fs-accent); position: relative; flex: none; }
.hx-play::after { content: ""; position: absolute; left: 15px; top: 12px; border-left: 11px solid var(--fs-accent-fg); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
@media (max-width: 900px) {
  .hx-hero { background: var(--fs-bg); padding-top: 8px; }
  .hx-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hx-hero-art { order: -1; width: min(100%, 360px); justify-self: center; aspect-ratio: 1 / .86; margin-bottom: 8px; }
  .hx-seal { width: 72px; right: 0; bottom: 4%; }
  .hx-hero-art figcaption { display: none; }
  .hx-hero-t { font-size: clamp(36px, 10.4vw, 56px); }
  .hx-hero-lead { margin: 22px 0 28px; }
  .hx-actions .hx-btn { flex: 1 1 100%; }
  .hx-hero-foot { grid-template-columns: 1fr; margin-top: 40px; }
  .hx-since { flex-direction: column; gap: 6px; }
  .hx-film-btn { justify-self: stretch; }
}

/* ---------- pillars: alternating split rows ---------- */
.hx-prows { display: grid; gap: clamp(56px, 8vw, 120px); }
.hx-prow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); align-items: center; }
.hx-prow.is-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.hx-prow.is-flip .hx-prow-text { order: 2; }
.hx-prow-text { position: relative; padding-left: clamp(0px, 5vw, 88px); }
.hx-roman { position: absolute; left: 0; top: -4px; margin: 0; font-family: var(--fs-font-display); font-size: 22px; color: var(--hx-brass-t); font-weight: 600; }
.hx-pkey { color: var(--fs-muted); margin: 0 0 14px; font-size: 11.5px; }
.hx-pkey strong { color: var(--fs-accent); font-weight: 500; }
.hx-prow-text > p:not(.hx-pkey):not(.hx-roman) { color: var(--fs-muted); line-height: 1.85; margin: 0 0 18px; max-width: 52ch; }
.hx-prow-art { background: var(--fs-surface); border: 1px solid var(--fs-line); aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; }
.hx-prow-art::before, .hx-prow-art::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--hx-brass); }
.hx-prow-art::before { left: -1px; top: -1px; border-width: 1px 0 0 1px; }
.hx-prow-art::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }
.hx-art { width: 88%; height: auto; overflow: visible; }
.hx-art-line, .hx-art-line * { fill: none; stroke: var(--fs-line); stroke-width: 1.2; }
.hx-art .hx-art-line circle { stroke: color-mix(in oklab, var(--fs-muted) 40%, transparent); }
.hx-art-accent { fill: none; stroke: var(--fs-accent); stroke-width: 1.6; }
.hx-art-fill { fill: color-mix(in oklab, var(--fs-accent) 10%, transparent); stroke: none; }
.hx-art-node { fill: var(--fs-surface); stroke: var(--fs-fg); stroke-width: 1.3; }
.hx-art-on { fill: var(--fs-accent); stroke: var(--fs-accent); }
.hx-art-t { fill: var(--fs-fg); font-family: var(--fs-font-mono); font-size: 12px; font-weight: 500; }
.hx-art-s { fill: var(--fs-muted); font-family: var(--fs-font-mono); font-size: 10.5px; letter-spacing: .1em; }
.hx-art-alert circle { fill: var(--hx-alert); }
.hx-art-alert .hx-ping { fill: none; stroke: var(--hx-alert); transform-origin: 268px 96px; animation: hx-ping 2.4s ease-out infinite; }
@keyframes hx-ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.hx-art-dot { fill: var(--fs-muted); }
.hx-sweep { transform-origin: 200px 150px; animation: hx-spin 6s linear infinite; }
.hx-art-cmd { fill: none; stroke: var(--fs-accent); stroke-width: 1.5; stroke-dasharray: 5 5; animation: hx-dash 1.2s linear infinite; }
.hx-dash { stroke-dasharray: 3 5; animation: hx-dash 1.6s linear infinite; }
@keyframes hx-dash { to { stroke-dashoffset: -20; } }
.hx-art-cipher text { fill: var(--fs-accent); font-family: var(--fs-font-mono); font-size: 11px; animation: hx-blink 2.2s steps(2) infinite; }
.hx-art-cipher text:nth-child(2) { animation-delay: .5s; } .hx-art-cipher text:nth-child(3) { animation-delay: 1s; }
@keyframes hx-blink { 50% { opacity: .35; } }
.hx-art-ring { fill: none; stroke: var(--hx-ok); stroke-width: 2; }
.hx-art-ok { fill: none; stroke: var(--hx-ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hx-flowdots circle { fill: var(--fs-accent); animation: hx-blink 1.6s steps(2) infinite; }
.hx-flowdots circle:nth-child(2n) { animation-delay: .8s; }
@media (max-width: 900px) {
  .hx-prow, .hx-prow.is-flip { grid-template-columns: 1fr; gap: 28px; }
  .hx-prow.is-flip .hx-prow-text { order: 0; }
  .hx-prow-text { padding-left: 48px; }
}

/* ---------- scrollytelling ---------- */
.hx-story { padding-bottom: clamp(64px, 8vw, 120px); }
.hx-story-grid { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hx-story-vis { grid-column: 2; grid-row: 1; position: sticky; top: calc(64px + 24px); height: calc(100vh - 64px - 48px); max-height: 760px; }
.hx-story-stage { position: relative; height: 100%; background: var(--fs-surface); border: 1px solid var(--fs-line); display: flex; flex-direction: column; }
.hx-story-cap { display: flex; align-items: baseline; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--fs-line); min-height: 24px; }
.hx-story-cap .hx-mono { color: var(--fs-muted); font-size: 11px; flex: none; }
.hx-story-cap b { color: var(--fs-accent); font-weight: 500; }
.hx-story-ct { font-family: var(--fs-font-display); font-size: 17px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-scanvas { flex: 1; width: 100%; min-height: 0; display: block; }
.hx-ticks { list-style: none; margin: 0; padding: 0 20px 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.hx-ticks li { height: 2px; background: var(--fs-line); transition: background .4s; }
.hx-ticks li.is-on { background: var(--fs-accent); }
.hx-steps { grid-column: 1; grid-row: 1; }
.hx-step { min-height: 92vh; display: flex; align-items: center; }
.hx-step:first-child { min-height: 70vh; align-items: flex-start; padding-top: 10vh; }
.hx-step:last-child { min-height: 84vh; }
.hx-step-card { border-left: 1px solid var(--fs-line); padding: 6px 0 6px 28px; transition: border-color .5s, opacity .5s; opacity: .5; }
.hx-step.is-on .hx-step-card { border-color: var(--fs-accent); opacity: 1; }
.hx-step-no { color: var(--hx-brass-t); margin: 0 0 16px; font-size: 11px; }
.hx-step-card > p:not(.hx-step-no) { color: var(--fs-muted); line-height: 1.85; margin: 0 0 14px; }
.hx-step-note { color: var(--fs-accent) !important; font-size: 11.5px !important; line-height: 1.7 !important; letter-spacing: .06em; text-transform: none; }
.hx-zt { margin: 18px 0 16px; display: grid; gap: 1px; background: var(--fs-line); border: 1px solid var(--fs-line); }
.hx-zt div { background: var(--fs-bg); padding: 12px 14px; }
.hx-zt dt { font-weight: 700; font-size: 14.5px; }
.hx-zt dd { margin: 2px 0 0; color: var(--fs-muted); font-size: 13.5px; }
.hx-flowline { margin-top: clamp(48px, 6vw, 80px); }
.hx-flowline > p { margin: 0 0 16px; font-size: 11px; }
.hx-flowline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fs-fg); }
.hx-flowline li { padding: 16px 20px 16px 0; display: grid; gap: 4px; position: relative; }
.hx-flowline li + li { padding-left: 20px; border-left: 1px solid var(--fs-line); }
.hx-flowline li > span.hx-mono { color: var(--hx-brass-t); font-size: 11px; }
.hx-flowline strong { color: var(--fs-accent); font-weight: 500; font-size: 12px; }
.hx-flowline li > span:last-child { font-size: 14.5px; }
@media (max-width: 900px) {
  .hx-story-grid { display: block; }
  .hx-story-vis { position: sticky; top: 64px; height: 46svh; min-height: 300px; max-height: 440px; z-index: 2; margin-inline: calc(-1 * max(24px, env(safe-area-inset-left))); background: var(--fs-bg); padding: 0 0 10px; }
  .hx-story-stage { border-left: 0; border-right: 0; }
  .hx-story-cap { padding: 10px 16px; }
  .hx-story-ct { font-size: 15px; }
  .hx-ticks { padding: 0 16px 10px; }
  .hx-steps { position: relative; z-index: 1; padding-top: 4vh; }
  .hx-step, .hx-step:first-child, .hx-step:last-child { min-height: 72svh; align-items: flex-start; padding-top: 0; }
  .hx-step-card { background: var(--fs-surface); border: 1px solid var(--fs-line); border-top: 2px solid var(--fs-line); padding: 22px 20px; opacity: 1; box-shadow: var(--hx-shadow); }
  .hx-step.is-on .hx-step-card { border-top-color: var(--fs-accent); border-color: var(--fs-line); border-top-color: var(--fs-accent); }
  .hx-flowline ol { grid-template-columns: 1fr 1fr; }
  .hx-flowline li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hx-flowline li:nth-child(n+3) { border-top: 1px solid var(--fs-line); }
}

/* ---------- stat ---------- */
.hx-stat { background: var(--fs-surface); }
.hx-stat-fig { border-top: 1px solid var(--fs-fg); padding-top: 22px; }
.hx-stat-fig > .hx-mono { margin: 0; font-size: 11px; }
.hx-stat-num { white-space: nowrap; font-family: var(--fs-font-display); font-weight: 400; font-size: clamp(76px, 10.5vw, 160px); line-height: .95; letter-spacing: -.05em; margin: 18px 0 18px; color: var(--fs-accent); display: flex; align-items: flex-start; font-variant-numeric: lining-nums; }
.hx-stat-num small { font-size: .32em; margin: .2em 0 0 .08em; letter-spacing: 0; color: var(--hx-brass-t); }
.hx-stat-label { font-family: var(--fs-font-display); font-size: clamp(18px, 1.6vw, 22px); margin: 0 0 18px; max-width: 22em; }
.hx-stat-flag { margin: 0; display: inline-block; padding: 6px 10px; border: 1px solid var(--fs-line); color: var(--fs-muted); font-size: 10.5px; }
.hx-stat-body > p:not(.hx-kicker):not(.hx-stat-links) { color: var(--fs-muted); line-height: 1.85; margin: 22px 0 0; max-width: 60ch; }
.hx-caveat { margin: 28px 0 0; padding: 18px 22px; border-left: 2px solid var(--hx-brass); background: var(--fs-bg); }
.hx-caveat .hx-mono { margin: 0 0 6px; color: var(--hx-brass-t); font-size: 11px; }
.hx-caveat p:last-child { margin: 0; line-height: 1.75; }
.hx-stat-links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 20px 0 0; }

/* ---------- heritage timeline ---------- */
.hx-heritage { background: var(--hx-navy); color: var(--hx-navy-fg); border-top: 0 !important; overflow: clip;
  --fs-line: rgba(255, 255, 255, .12); --fs-muted: var(--hx-navy-muted); --fs-fg: var(--hx-navy-fg); --fs-accent: #7cc3e6; --hx-brass-t: #cdb085; }
.hx-heritage + .hx-sec { border-top: 0; }
.hx-heritage .hx-h2 { color: #fff; }
.hx-tl-top { display: flex; align-items: center; gap: 32px; }
.hx-tl-rail { position: relative; flex: 1; height: 54px; cursor: pointer; touch-action: none; outline-offset: 6px; }
.hx-tl-line { position: absolute; left: 0; right: 0; top: 14px; height: 1px; background: rgba(255, 255, 255, .22); }
.hx-tl-dot { position: absolute; top: 9px; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--hx-navy); border: 1px solid rgba(255, 255, 255, .45); transition: background .3s, border-color .3s; }
.hx-tl-dot.is-key { border-color: var(--hx-brass); }
.hx-tl-dot.is-in { background: var(--hx-brass); border-color: var(--hx-brass); }
.hx-tl-dot i { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-style: normal; font-family: var(--fs-font-mono); font-size: 10px; color: var(--hx-navy-muted); letter-spacing: .04em; white-space: nowrap; }
.hx-tl-dot:nth-child(2n+3) i { top: -18px; }
.hx-tl-thumb { position: absolute; top: 4px; height: 21px; border: 1px solid var(--hx-brass); background: rgba(196, 165, 116, .1); pointer-events: none; transition: left .12s linear; }
.hx-tl-btns { display: flex; gap: 8px; flex: none; }
.hx-tl-btns button { width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: #fff; font-size: 18px; cursor: pointer; font-family: var(--fs-font-mono); }
.hx-tl-btns button:hover { border-color: var(--hx-brass); color: var(--hx-brass); }
.hx-tl-track { margin-top: 36px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; outline-offset: -2px; }
.hx-tl-track::-webkit-scrollbar { display: none; }
.hx-tl-track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.hx-tl-list { list-style: none; margin: 0; padding: 0 max(48px, calc((100vw - var(--fs-wrap)) / 2 + 48px)); display: flex; }
.hx-tl-item { flex: none; width: 300px; scroll-snap-align: start; scroll-margin-left: max(48px, calc((100vw - var(--fs-wrap)) / 2 + 48px)); padding: 26px 32px 32px 0; border-top: 1px solid rgba(255, 255, 255, .22); position: relative; box-sizing: border-box; }
.hx-tl-item::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; background: var(--hx-navy-muted); transform: rotate(45deg); }
.hx-tl-item.is-key::before, .hx-tl-item.is-now::before { background: var(--hx-brass); }
.hx-tl-y { font-family: var(--fs-font-display); font-size: 46px; font-weight: 400; line-height: 1; margin: 0 0 10px; letter-spacing: -.03em; color: #fff; font-variant-numeric: lining-nums; }
.hx-tl-item.is-key .hx-tl-y, .hx-tl-item.is-now .hx-tl-y { color: var(--hx-brass); }
.hx-tl-m { color: var(--hx-navy-muted); margin: 0 0 14px; font-size: 11px; }
.hx-tl-x { margin: 0; line-height: 1.7; font-size: 15px; color: #dbe3ec; max-width: 26ch; }
.hx-tl-item.is-key .hx-tl-x { color: #fff; font-weight: 500; }
@media (max-width: 760px) {
  .hx-tl-top { display: none; }
  .hx-tl-track { overflow: visible; margin-top: 0; cursor: auto; }
  .hx-tl-list { flex-direction: column; padding: 0 max(24px, env(safe-area-inset-left)); position: relative; }
  .hx-tl-item { width: auto; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .22); padding: 0 0 32px 28px; }
  .hx-tl-item::before { left: -4px; top: 14px; }
  .hx-tl-y { font-size: 34px; }
  .hx-tl-x { max-width: none; }
}

/* ---------- product index ---------- */
.hx-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fs-fg); counter-reset: ix; }
.hx-index li { border-bottom: 1px solid var(--fs-line); }
.hx-ix { display: grid; grid-template-columns: 56px minmax(0, 2.4fr) minmax(0, 6fr) minmax(0, 2.6fr) 32px; gap: 28px; align-items: baseline; padding: 28px 0; text-decoration: none; color: inherit; position: relative; transition: background .3s; }
.hx-ix::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--fs-accent); transition: width .6s var(--hx-ease); }
.hx-ix:hover::before, .hx-ix:focus-visible::before { width: 100%; }
.hx-ix-n { color: var(--hx-brass-t); font-size: 11.5px; }
.hx-ix-short { font-family: var(--fs-font-display); font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -.02em; line-height: 1; transition: color .3s; }
.hx-ix:hover .hx-ix-short { color: var(--fs-accent); }
.hx-ix-main { display: grid; gap: 6px; }
.hx-ix-name { font-size: 13px; color: var(--fs-muted); font-family: var(--fs-font-mono); letter-spacing: .02em; }
.hx-ix-title { font-size: 18px; font-weight: 700; }
.hx-ix-desc { color: var(--fs-muted); font-size: 14.5px; line-height: 1.75; max-width: 64ch; }
.hx-ix-tag { color: var(--fs-muted); font-size: 10.5px; line-height: 1.7; letter-spacing: .08em; }
.hx-ix .hx-arr { color: var(--fs-accent); font-size: 20px; justify-self: end; }
@media (max-width: 900px) {
  .hx-ix { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 8px 14px; padding: 24px 0; }
  .hx-ix-short { grid-column: 2; }
  .hx-ix .hx-arr { grid-column: 3; grid-row: 1; }
  .hx-ix-main, .hx-ix-tag { grid-column: 2 / 4; }
  .hx-ix-tag { order: 5; }
}

/* ---------- company ---------- */
.hx-co-text > p:not(.hx-kicker):not(.hx-co-since) { color: var(--fs-muted); line-height: 1.85; margin: 22px 0 0; max-width: 62ch; }
.hx-co-since { font-family: var(--fs-font-display); font-size: 18px; margin: 18px 0 0; color: var(--hx-brass-t); }
.hx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px solid var(--fs-fg); }
.hx-facts div { padding: 20px 20px 22px 0; border-bottom: 1px solid var(--fs-line); }
.hx-facts div:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--fs-line); }
.hx-facts dt { font-family: var(--fs-font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.02em; color: var(--fs-accent); line-height: 1.15; }
.hx-facts dd { margin: 6px 0 0; color: var(--fs-muted); font-size: 14px; }
.hx-co-links { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; }
.hx-ceo { margin: 0; position: relative; background: var(--hx-navy); color: var(--hx-navy-fg); padding: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 56px); overflow: hidden; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; }
.hx-ceo-mark { position: absolute; right: -40px; top: -30px; width: 280px; height: 280px; fill: none; stroke: rgba(196, 165, 116, .35); stroke-width: .35; }
.hx-ceo blockquote { margin: 0; position: relative; }
.hx-ceo blockquote::before { content: "“"; font-family: var(--fs-font-display); font-size: 96px; line-height: .6; color: var(--hx-brass); display: block; margin-bottom: 18px; }
.hx-ceo blockquote p { font-family: var(--fs-font-display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.45; letter-spacing: -.02em; margin: 0; color: #fff; }
.hx-ceo figcaption { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 18px; color: var(--hx-navy-muted); }
.hx-ceo .hx-link { color: #9fd3ee; border-bottom-color: rgba(159, 211, 238, .4); }

/* ---------- news ---------- */
.hx-news-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); grid-template-rows: auto auto; gap: clamp(32px, 4vw, 64px); }
.hx-nfeat { grid-row: 1 / span 2; display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit; }
.hx-nfeat-img, .hx-nlist-img { display: block; overflow: hidden; background: var(--fs-surface-2); }
.hx-nfeat-img { aspect-ratio: 16 / 10; margin-bottom: 10px; }
.hx-nfeat-img img, .hx-nlist-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--hx-ease); }
.hx-nfeat:hover img, .hx-nlist a:hover img { transform: scale(1.03); }
.hx-ph-mark { width: 40%; height: 100%; margin: 0 auto; display: block; fill: color-mix(in oklab, var(--fs-accent) 22%, transparent); }
.hx-date { color: var(--fs-muted); font-size: 11px; letter-spacing: .08em; }
.hx-nfeat-t { font-family: var(--fs-font-display); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.35; letter-spacing: -.02em; font-weight: 500; }
.hx-nfeat:hover .hx-nfeat-t { color: var(--fs-accent); }
.hx-nfeat-x { color: var(--fs-muted); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hx-nlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fs-fg); }
.hx-nlist li { border-bottom: 1px solid var(--fs-line); }
.hx-nlist a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 16px 0; text-decoration: none; color: inherit; align-items: start; }
.hx-nlist-img { aspect-ratio: 4 / 3; }
.hx-nlist a > span:last-child { display: grid; gap: 6px; }
.hx-nlist-t { font-weight: 500; line-height: 1.5; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-nlist a:hover .hx-nlist-t { color: var(--fs-accent); }
.hx-press { background: var(--fs-surface); border: 1px solid var(--fs-line); padding: 26px 28px 18px; }
.hx-press > .hx-mono { margin: 0 0 10px; font-size: 11px; }
.hx-press .hx-h3 { font-size: 21px; }
.hx-press ul { list-style: none; margin: 0 0 6px; padding: 0; }
.hx-press li a { display: grid; gap: 4px; padding: 13px 0; border-top: 1px solid var(--fs-line); text-decoration: none; line-height: 1.55; font-size: 14.5px; }
.hx-press li a:hover span:last-child { color: var(--fs-accent); }
@media (max-width: 900px) {
  .hx-news-grid { grid-template-columns: 1fr; }
  .hx-nfeat { grid-row: auto; }
  .hx-nlist a { grid-template-columns: 84px minmax(0, 1fr); }
}

/* ---------- downloads ---------- */
.hx-dl { background: var(--fs-surface); }
.hx-dl .hx-split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
.hx-dl-text { position: sticky; top: 120px; }
.hx-dl-text > p:not(.hx-kicker) { color: var(--fs-muted); margin: 20px 0 30px; }
.hx-shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.hx-shelf a { display: grid; gap: 8px; text-decoration: none; color: inherit; }
.hx-cover { display: block; aspect-ratio: 3 / 4; background: var(--fs-plate); overflow: hidden; border: 1px solid var(--fs-line); box-shadow: 0 1px 0 var(--fs-line), 0 18px 36px -24px rgba(14, 30, 51, .45); transition: transform .5s var(--hx-ease); }
.hx-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-shelf a:hover .hx-cover { transform: translateY(-6px); }
.hx-shelf .hx-date { margin-top: 8px; font-size: 10.5px; }
.hx-cover-t { font-weight: 500; font-size: 14.5px; line-height: 1.45; }
@media (max-width: 900px) { .hx-dl .hx-split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hx-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }

/* ---------- CTA ---------- */
.hx-cta { background: var(--hx-navy); color: var(--hx-navy-fg); position: relative; overflow: hidden; padding-block: clamp(96px, 12vw, 180px); }
.hx-cta-in { position: relative; }
.hx-cta-mark { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(44vw, 520px); height: auto; fill: none; stroke: rgba(124, 195, 230, .22); stroke-width: .3; }
.hx-cta .hx-brass-t { color: var(--hx-brass); margin: 0 0 28px; font-size: 11px; }
.hx-cta-t { font-family: var(--fs-font-display); font-weight: 500; font-size: clamp(36px, 5vw, 76px); line-height: 1.15; letter-spacing: -.03em; margin: 0; color: #fff; position: relative; }
.hx-cta-t span { display: block; }
.hx-cta-t span:last-child { color: #8ccbea; }
.hx-cta-in > p:not(.hx-mono) { color: var(--hx-navy-muted); font-size: 18px; margin: 26px 0 40px; max-width: 46ch; position: relative; }
.hx-btn-inv { background: #fff; color: var(--hx-navy); }
.hx-btn-inv:hover { background: var(--hx-brass); color: #0b1a2c; }
.hx-btn-inv2 { border-color: rgba(255, 255, 255, .35); color: #fff; }
.hx-btn-inv2:hover { border-color: #fff; }

/* ---------- chapter index (right edge) ---------- */
.hx-chapters { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 30; display: none; }
.hx-chapters ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hx-chapters a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 26px; text-decoration: none; color: var(--fs-muted); }
.hx-chapters a .hx-mono { font-size: 10px; letter-spacing: .06em; width: 18px; text-align: right; }
.hx-chapters a em { position: absolute; right: 64px; font-style: normal; font-size: 12px; opacity: 0; pointer-events: none; transform: translateX(6px); transition: opacity .25s, transform .25s; white-space: nowrap; background: var(--fs-bg); padding: 2px 8px; border: 1px solid var(--fs-line); }
.hx-chapters:hover a em, .hx-chapters a:focus-visible em { opacity: 1; transform: none; }
.hx-chapters a::after { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .5; transition: width .3s, opacity .3s; }
.hx-chapters a[aria-current] { color: var(--fs-accent); }
.hx-chapters a[aria-current]::after { width: 28px; opacity: 1; background: var(--hx-brass); }
.hx-ch-bar { position: absolute; right: -8px; top: 0; bottom: 0; width: 1px; background: var(--fs-line); }
.hx-ch-bar i { position: absolute; inset: 0; background: var(--hx-brass); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--hx-ease); }
.hx-chapters.is-dark a { color: var(--hx-navy-muted); }
@media (min-width: 1400px) { .hx-chapters { display: block; } }

/* ---------- footer ---------- */
.hx-foot { background: var(--fs-surface); border-top: 1px solid var(--fs-line); padding-top: clamp(56px, 7vw, 96px); padding-bottom: env(safe-area-inset-bottom); font-size: 14px; }
.hx-foot-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); padding-bottom: 48px; }
.hx-logo-foot { padding: 0; }
.hx-foot-motto { font-family: var(--fs-font-display); font-size: 20px; line-height: 1.45; margin: 26px 0 10px; letter-spacing: -.01em; }
.hx-foot-since { color: var(--fs-muted); margin: 0 0 22px; }
.hx-foot-brand .hx-mono { font-size: 10.5px; margin: 0; }
.hx-foot-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.hx-fcol-t { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--fs-fg); font-weight: 700; }
.hx-fcol-t a { text-decoration: none; }
.hx-fcol ul { list-style: none; margin: 0; padding: 0; }
.hx-fcol li a { display: inline-block; padding: 5px 0; text-decoration: none; color: var(--fs-muted); line-height: 1.45; }
.hx-fcol li a:hover { color: var(--fs-accent); }
.hx-fcol ul ul { padding-left: 10px; margin: 0 0 4px; border-left: 1px solid var(--fs-line); }
.hx-fcol ul ul a { font-size: 13px; }
.hx-foot-co { display: flex; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; border-top: 1px solid var(--fs-line); padding-top: 28px; padding-bottom: 28px; }
.hx-foot-co address { font-style: normal; display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--fs-muted); max-width: 820px; font-size: 13px; }
.hx-foot-co address > * { white-space: normal; }
.hx-foot-co address { gap: 4px 22px; }
.hx-foot-co address strong { color: var(--fs-fg); }
.hx-foot-co a { color: inherit; }
.hx-foot-legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.hx-foot-legal a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.hx-foot-legal a:hover { color: var(--fs-accent); }
.hx-foot-bot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 80px; border-top: 1px solid var(--fs-line); color: var(--fs-muted); font-size: 12.5px; }
.hx-foot-bot p { margin: 0; }
.hx-foot-bot .hx-mono { font-size: 10.5px; }
@media (max-width: 900px) {
  .hx-foot-top { grid-template-columns: 1fr; }
  .hx-foot-map { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .hx-foot-co address { flex-direction: column; }
  .hx-foot-co address > * + *::before { content: none; }
}

/* ---------- proposal badge ---------- */
.hx-badge { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 50; font-size: 12px; background: var(--hx-navy); color: var(--hx-navy-fg); border: 1px solid rgba(196, 165, 116, .5); max-width: calc(100vw - 28px); }
.hx-badge summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 36px; font-family: var(--fs-font-mono); letter-spacing: .08em; font-size: 10.5px; text-transform: uppercase; }
.hx-badge summary::-webkit-details-marker { display: none; }
.hx-badge-dot { width: 6px; height: 6px; background: var(--hx-brass); transform: rotate(45deg); }
.hx-badge-body { padding: 0 14px 12px; }
.hx-badge-body p { margin: 0 0 6px; color: var(--hx-navy-muted); }
.hx-badge ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.hx-badge li a { display: inline-grid; place-items: center; min-height: 36px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; }
.hx-badge li a[aria-current] { border-color: var(--hx-brass); color: var(--hx-brass); }

/* ---------- film modal ---------- */
.hx-film { padding: 0; border: 0; background: transparent; width: min(1200px, 94vw); max-width: none; max-height: 94vh; color: #fff; }
.hx-film::backdrop { background: rgba(5, 12, 22, .88); backdrop-filter: blur(6px); }
.hx-film-in { background: #050c16; border: 1px solid rgba(196, 165, 116, .4); }
.hx-film-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 18px; }
.hx-film-head p { margin: 0; color: var(--hx-brass); font-size: 11px; }
.hx-film-x { min-height: 44px; padding: 0 14px; background: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.hx-film-v video { display: block; width: 100%; max-height: calc(94vh - 60px); background: #000; aspect-ratio: 16 / 9; }
@media (max-width: 760px) { .hx-film-v video { aspect-ratio: 9 / 16; max-height: calc(88vh - 60px); } }

/* ================= SUB PAGES — editorial article ================= */
body:not(.hx-is-home) #fs-main { padding-bottom: 24px; }
.hx-col { max-width: 860px; margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); box-sizing: content-box; position: relative; }
.hx-ph { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--fs-line); position: relative; overflow: clip;
  background: linear-gradient(to bottom, var(--fs-surface), var(--fs-bg)); }
.hx-ph-no { position: absolute; right: calc(100% + 40px); top: 4px; margin: 0; font-family: var(--fs-font-display); font-size: 64px; line-height: 1; color: var(--hx-brass); font-weight: 400; letter-spacing: -.03em; white-space: nowrap; }
.hx-ph .fs-crumbs { font-family: var(--fs-font-mono); font-size: 11.5px; letter-spacing: .06em; margin-bottom: 36px; }
.hx-ph .fs-crumbs a { min-height: 32px; display: inline-flex; align-items: center; }
.hx-ph-eyebrow { display: flex; align-items: center; gap: 12px; color: var(--hx-brass-t); margin: 0 0 18px; font-size: 11.5px; }
.hx-ph .fs-page-title { font-family: var(--fs-font-display); font-weight: 500; font-size: clamp(34px, 5vw, 64px); line-height: 1.15; letter-spacing: -.03em; }
.hx-ph-article .fs-page-title { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.3; }
.hx-ph-lead { margin: 34px 0 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--hx-brass); }
.hx-ph-lead p { margin: 0; font-family: var(--fs-font-display); font-size: clamp(18px, 1.8vw, 23px); line-height: 1.65; color: color-mix(in oklab, var(--fs-fg) 85%, var(--fs-muted)); letter-spacing: -.01em; }
.hx-ph-date { margin: 22px 0 0; color: var(--fs-muted); font-size: 12px; }
.hx-ph-count { margin: 22px 0 0; color: var(--fs-muted); font-size: 11.5px; }
@media (max-width: 1100px) {
  .hx-ph-no { position: static; font-size: 40px; margin-bottom: 18px; }
}

/* subnav: underlined tabs */
.fs-subnav { background: color-mix(in oklab, var(--fs-bg) 92%, transparent); }
.fs-subnav .fs-wrap { max-width: 1240px; }
.fs-subnav-row { gap: 0; padding-block: 0; justify-content: safe center; }
.fs-subnav a { border-radius: 0; padding: 0 16px; min-height: 52px; display: inline-flex; align-items: center; font-size: 14.5px; position: relative; background: none !important; }
.fs-subnav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--fs-accent); transform: scaleX(0); transition: transform .3s var(--hx-ease); }
.fs-subnav a:hover { color: var(--fs-fg); }
.fs-subnav a[aria-current="page"] { color: var(--fs-fg) !important; font-weight: 500; }
.fs-subnav a[aria-current="page"]::after { transform: scaleX(1); }
.fs-subnav-items a { min-height: 44px; font-size: 13.5px; }
.fs-subnav-items a[aria-current="page"]::after { background: var(--hx-brass); }

/* legacy reading column with chapter numbers in the margin */
.fs-legacy-wrap { max-width: 1012px; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.fs-legacy { counter-reset: hxch; font-size: 16.5px; line-height: 1.85; }
.fs-legacy .section, .fs-legacy .doc-cnt { counter-increment: hxch; position: relative; }
.fs-legacy .section > .doc-title::before, .fs-legacy .section > .history::before, .fs-legacy .doc-cnt > .doc-title::before {
  content: "Ch. " counter(hxch, decimal-leading-zero); display: block; font-family: var(--fs-font-mono); font-size: 11px; letter-spacing: .14em; color: var(--hx-brass-t); margin-bottom: 12px; font-weight: 400; }
@media (min-width: 1240px) {
  .fs-legacy .section > .doc-title::before, .fs-legacy .doc-cnt > .doc-title::before { position: absolute; right: calc(100% + 36px); top: 12px; margin: 0; white-space: nowrap; }
  .fs-legacy .section > .doc-title, .fs-legacy .doc-cnt > .doc-title { position: relative; }
}
.fs-legacy .section > .history::before { margin-bottom: 0; }
.fs-legacy h3, .fs-legacy .doc-title { font-weight: 500; letter-spacing: -.02em; font-size: clamp(26px, 3vw, 36px); }
.fs-legacy h4, .fs-legacy .doc-tit { font-weight: 600; font-size: clamp(18px, 1.9vw, 21px); padding-top: 18px; border-top: 1px solid var(--fs-line); }
.fs-legacy .tit { font-family: var(--fs-font-display); font-weight: 500; letter-spacing: -.01em; }
.fs-legacy .section + .section { border-top: 0; margin-top: clamp(48px, 7vw, 96px); }
.fs-legacy .section { padding-top: 0; }
.fs-legacy .section::before { content: ""; display: block; width: 56px; height: 1px; background: var(--hx-brass); margin-bottom: clamp(28px, 4vw, 44px); }
.fs-legacy .prod-img-txt .txt li, .fs-legacy .arc-cnt li, .fs-legacy .service-cnt li, .fs-legacy .business-area li { border-radius: 0; background: var(--fs-surface); }
.fs-legacy .arc-cnt li { border-width: 0 0 0 2px; border-color: var(--fs-accent); }
.fs-legacy .prod-list .box { border-radius: 0; }
.fs-legacy .sub-tab-menu, .fs-legacy .prod-tab-menu, .fs-legacy .his-tab-menu { top: calc(var(--fs-header-h) + 52px + env(safe-area-inset-top, 0px)); }
.fs-legacy .sub-tab-menu a { border-radius: 0; border-width: 0 0 1px; border-color: transparent; font-family: var(--fs-font-mono); font-size: 12.5px; letter-spacing: .04em; min-height: 40px; display: inline-flex; align-items: center; }
.fs-legacy .sub-tab-menu a:hover { border-color: var(--fs-accent); }
.fs-legacy .pic img, .fs-legacy .img img, .fs-legacy .prod-img img, .fs-legacy p > img, .fs-legacy .group > p > img, .fs-legacy .prod-img-txt img, .fs-legacy .map-img img, .fs-legacy .photo img { border-radius: 0; border: 1px solid var(--fs-line); }
.fs-table-scroll { border-radius: 0; border-width: 1px 0; background: transparent; }
.fs-legacy th { background: transparent; border-bottom: 1px solid var(--fs-fg); font-family: var(--fs-font-mono); font-size: 12px; letter-spacing: .06em; font-weight: 500; }
.fs-legacy .history .row { padding: 28px 0; }
.fs-legacy .history .year { font-weight: 400; color: var(--hx-brass-t); font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; }
.fs-legacy .history .month { font-family: var(--fs-font-mono); font-size: 13px; color: var(--fs-accent); }
.fs-legacy .history-head .tit { font-weight: 500; }
.fs-legacy .btn, .fs-legacy .btn-pack, .fs-legacy .prod-btn a { border-radius: 0; }

/* boards — editorial grid */
.fs-board { max-width: 1240px; }
.fs-board-count { font-family: var(--fs-font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.fs-posts { gap: 48px 32px; }
.fs-post a { border: 0; background: transparent; border-radius: 0; border-top: 1px solid var(--fs-fg); padding-top: 18px; overflow: visible; }
.fs-post a:hover { transform: none; border-color: var(--fs-accent); }
.fs-post-thumb { border: 1px solid var(--fs-line); }
.fs-post-ph { font-size: 0; background: var(--fs-surface-2); }
.fs-post-body { padding: 16px 0 0; }
.fs-post-title { font-family: var(--fs-font-display); font-weight: 500; font-size: 19px; line-height: 1.45; letter-spacing: -.01em; }
.fs-post a:hover .fs-post-title { color: var(--fs-accent); }
.fs-pager a { border-radius: 0; font-family: var(--fs-font-mono); font-size: 13px; min-width: 44px; height: 44px; }

/* article */
.fs-article-wrap { max-width: 908px; box-sizing: border-box; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.fs-article { font-size: 17.5px; line-height: 1.95; }
.fs-article img { border-radius: 0; height: auto !important; }
.fs-article p:first-of-type::first-letter { }
.fs-files { border-radius: 0; border-width: 1px 0; background: transparent; padding-inline: 0; }
.fs-article-nav { border-top: 1px solid var(--fs-fg); }
.fs-article-list { border-radius: 0; min-height: 44px; display: inline-flex; align-items: center; box-sizing: border-box; }
.fs-article-nav a:not(.fs-article-list) { min-height: 44px; }

/* downloads */
.fs-downloads { max-width: 1012px; }
.fs-dls { gap: 0; border-top: 1px solid var(--fs-fg); }
.fs-dl { border-radius: 0; background: transparent; border-width: 0 0 1px; padding: 22px 0; grid-template-columns: 112px minmax(0, 1fr); gap: 28px; }
.fs-dl-cover { border-radius: 0; border: 1px solid var(--fs-line); }
.fs-dl-body strong { font-family: var(--fs-font-display); font-weight: 500; font-size: 21px; letter-spacing: -.01em; }
.fs-dl-file { border-radius: 0; min-height: 40px; }
.fs-dl-file span { border-radius: 0; }
@media (max-width: 560px) { .fs-dl { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; } }

.fs-btn { border-radius: 0; min-height: 48px; }
:focus-visible { outline: 2px solid var(--fs-accent); outline-offset: 3px; border-radius: 0; }

@media (prefers-reduced-motion: reduce) {
  .hx-seal, .hx-sweep, .hx-art-cmd, .hx-dash, .hx-art-cipher text, .hx-flowdots circle, .hx-art-alert .hx-ping { animation: none !important; }
}
@media print { .hx-mast, .hx-badge, .hx-chapters, .hx-foot-map { display: none; } body { padding-top: 0; } }

/* ---------- WHY → HOW essays ---------- */
.hx-ess-list { display: grid; gap: 0; border-top: 1px solid var(--fs-fg); }
.hx-ess { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); grid-template-areas: "head why how" "head her her"; gap: 28px clamp(28px, 4vw, 64px); padding: clamp(44px, 5vw, 72px) 0; border-bottom: 1px solid var(--fs-line); }
.hx-ess.is-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); grid-template-areas: "how why head" "her her head"; }
.hx-ess-head { grid-area: head; }
.hx-ess-why { grid-area: why; }
.hx-ess-how { grid-area: how; }
.hx-ess-her { grid-area: her; }
.hx-ess-no { margin: 0 0 26px; display: flex; align-items: baseline; gap: 12px; }
.hx-ess-no .hx-mono { font-size: 10.5px; color: var(--fs-muted); }
.hx-ess-no b { font-family: var(--fs-font-display); font-size: clamp(56px, 6vw, 92px); line-height: .9; font-weight: 400; color: var(--hx-brass); letter-spacing: -.04em; }
.hx-ess-k { margin: 0 0 10px; color: var(--fs-accent); font-size: 11px; }
.hx-ess-t { font-family: var(--fs-font-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.25; letter-spacing: -.025em; margin: 0; }
.hx-ess-l { margin: 0 0 14px; font-size: 10.5px; color: var(--fs-muted); padding-bottom: 10px; border-bottom: 1px solid var(--fs-line); }
.hx-ess-l-how { color: var(--fs-accent); border-bottom-color: var(--fs-accent); }
.hx-ess-why-t { margin: 0; font-family: var(--fs-font-display); font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.85; color: color-mix(in oklab, var(--fs-fg) 82%, var(--fs-muted)); }
.hx-ess-why-t::first-letter { font-size: 2.6em; float: left; line-height: .9; margin: .06em .12em 0 0; color: var(--fs-accent); font-weight: 600; }
.hx-ess-how ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.hx-ess-how li { display: grid; gap: 4px; padding: 12px 0 14px; border-bottom: 1px dotted var(--fs-line); }
.hx-ess-how li strong { font-weight: 500; font-size: 11px; color: var(--fs-fg); letter-spacing: .08em; }
.hx-ess-how li span { color: var(--fs-muted); font-size: 15px; line-height: 1.75; }
.hx-ess-links { display: flex; flex-wrap: wrap; gap: 0 26px; margin: 14px 0 0; }
.hx-ess-her { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr) auto; gap: 8px 28px; align-items: center; padding: 18px 22px; background: var(--fs-surface); border-left: 2px solid var(--hx-brass); }
.hx-ess-her p { margin: 0; }
.hx-ess-her .hx-mono { font-size: 10.5px; }
.hx-ess-her p:nth-child(2) { font-size: 14.5px; line-height: 1.75; }
.hx-tl-item.is-flash .hx-tl-y { animation: hx-flash 1.6s var(--hx-ease); }
@keyframes hx-flash { 0%, 40% { color: #fff; text-shadow: 0 0 24px rgba(196, 165, 116, .9); } }
@media (max-width: 1100px) {
  .hx-ess, .hx-ess.is-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "why how" "her her"; }
  .hx-ess-no { margin-bottom: 14px; }
}
@media (max-width: 760px) {
  .hx-ess, .hx-ess.is-flip { grid-template-columns: 1fr; grid-template-areas: "head" "why" "how" "her"; gap: 24px; }
  .hx-ess-her { grid-template-columns: 1fr; padding: 16px 18px; }
}

html[lang="ko"] .hx-mono { letter-spacing: .08em; }
@media (max-width: 900px) { .hx-dl-text { position: static; } }
@media (max-width: 760px) { .hx-badge-l { display: none; } .hx-badge summary { padding: 0 12px; } }
@media (max-width: 900px) { .hx-step { scroll-margin-top: calc(64px + 46svh + 12px); } }
.fs-article :is(img, div, p, span, figure, iframe, video) { max-width: 100% !important; box-sizing: border-box; }
.fs-article :is(div, p, span) { width: auto !important; }
.fs-legacy :is(img, iframe, video) { max-width: 100% !important; height: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hx-heritage, :root:not([data-theme="light"]) .hx-cta { box-shadow: inset 0 1px 0 rgba(196, 165, 116, .22), inset 0 -1px 0 rgba(196, 165, 116, .22); } }
:root[data-theme="dark"] .hx-heritage, :root[data-theme="dark"] .hx-cta { box-shadow: inset 0 1px 0 rgba(196, 165, 116, .22), inset 0 -1px 0 rgba(196, 165, 116, .22); }
