/* FERROS — Identity Studio. Mobile-first (390 px), widescreen second. */
:root {
  --ink: #0A0B0D; --ink-2: #0F1113; --ink-3: #141619; --ink-4: #1B1E22;
  --fg: #ECEAE5; --fg-2: #A9ACB1; --fg-3: #73777C; --fg-4: #4B4F54;
  --line: rgba(236, 234, 229, .08); --line-2: rgba(236, 234, 229, .14); --line-3: rgba(236, 234, 229, .24);
  --paper: #F2F0EB; --paper-2: #E6E3DC; --paper-ink: #0E0F11; --paper-line: rgba(14, 15, 17, .1);
  --forge: #FF5B22;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --pad: 16px; --max: 1240px; --r: 16px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='160'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.003 .9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='600' height='160' filter='url(%23b)'/%3E%3C/svg%3E");
}
@media (min-width: 720px) { :root { --pad: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--fg); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 720px) { body { font-size: 16px; } }
svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
em { font-style: normal; color: var(--fg); }
:focus-visible { outline: 2px solid var(--forge); outline-offset: 2px; border-radius: 6px; }
.skip { position: fixed; left: 8px; top: 8px; transform: translateY(-200%); background: var(--fg); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; transition: transform .2s var(--ease); }
.skip:focus { transform: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.label, .eyebrow, .part-no, .sf-no, .sf-meta { font: 500 11px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin: 0; }
.dim { color: var(--fg-4); }
.dot { color: var(--fg-4); margin: 0 .2em; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--pad); background: rgba(10, 11, 13, .94); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.tb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.tb-lockup { display: block; height: 18px; color: var(--fg); }
.tb-lockup svg { height: 18px; width: auto; max-width: 128px; }
.tb-sep { width: 1px; height: 16px; background: var(--line-3); }
.tb-title { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.tb-nav { display: flex; gap: 2px; }
.tb-nav a { text-decoration: none; font: 500 12.5px/1 var(--sans); color: var(--fg-2); padding: 8px 8px; border-radius: 8px; display: flex; align-items: center; gap: 6px; }
.tb-nav a:hover { color: var(--fg); background: var(--ink-3); }
.tb-k { font: 500 9.5px/1 var(--mono); color: var(--fg-4); border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 3px; }
@media (max-width: 400px) { .tb-title, .tb-sep { display: none; } .tb-k { display: none; } }

/* ---------- hero ---------- */
.hero { padding-top: 44px; padding-bottom: 28px; }
.h1 { font: 500 clamp(42px, 11.5vw, 104px)/.95 var(--sans); letter-spacing: -.045em; margin: 18px 0 18px; text-wrap: balance; }
.h1-name { color: var(--fg); background: linear-gradient(100deg, #8b9097 0%, #f3f1ec 38%, #b9bdc3 52%, #f3f1ec 70%, #8b9097 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sheen 7s var(--ease) infinite; }
@keyframes sheen { 0%, 20% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }
.lede { font-size: 16.5px; line-height: 1.55; color: var(--fg-2); max-width: 640px; margin: 0 0 30px; text-wrap: pretty; }
@media (min-width: 720px) { .hero { padding-top: 88px; padding-bottom: 40px; } .lede { font-size: 19px; margin-bottom: 44px; } }
.hint { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: var(--fg-3); margin: 18px 0 0; }
.hint-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--forge); flex: none; transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(255, 91, 34, .14); }

.ov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 760px) { .ov-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
.ov-tile { position: relative; aspect-ratio: 1 / 1.04; border-radius: var(--r); background: radial-gradient(120% 90% at 50% 30%, #16181b 0%, var(--ink-2) 70%); border: 1px solid var(--line); overflow: hidden; text-align: left; transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s; }
.ov-tile:hover { border-color: var(--line-3); }
.ov-tile:active { transform: scale(.985); }
.ov-tile[aria-pressed="true"] { border-color: rgba(236, 234, 229, .55); background: radial-gradient(120% 90% at 50% 30%, #1d2024 0%, #111316 70%); }
.ov-tile .ov-no { position: absolute; left: 12px; top: 11px; font: 500 11px/1 var(--mono); color: var(--fg-3); letter-spacing: .06em; }
.ov-tile[aria-pressed="true"] .ov-no { color: var(--fg); }
.ov-tile .ov-sym { position: absolute; left: 50%; top: 45%; width: 40%; transform: translate(-50%, -50%); color: var(--fg); }
.ov-tile .ov-sym.is-word { width: 74%; }
.ov-tile .ov-sym svg { width: 100%; height: auto; }
.ov-tile .ov-name { position: absolute; left: 12px; bottom: 12px; right: 12px; font: 500 14px/1.2 var(--sans); color: var(--fg); letter-spacing: -.01em; }
.ov-tile .ov-ter { display: block; font: 400 11px/1.3 var(--mono); color: var(--fg-3); letter-spacing: .02em; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 760px) { .ov-tile { aspect-ratio: 1.25; } .ov-tile .ov-sym { width: 28%; top: 44%; } .ov-tile .ov-sym.is-word { width: 58%; } .ov-tile .ov-name { left: 18px; bottom: 16px; font-size: 16px; } .ov-tile .ov-no { left: 18px; top: 16px; } }

/* ---------- parts ---------- */
.part { padding: 56px 0 24px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .part { padding: 96px 0 40px; } }
.part-head { margin-bottom: 26px; max-width: 760px; }
.part-no { color: var(--forge); }
.h2 { font: 500 clamp(32px, 8vw, 60px)/1 var(--sans); letter-spacing: -.04em; margin: 10px 0 12px; }
.h3 { font: 500 19px/1.2 var(--sans); letter-spacing: -.02em; margin: 2px 0 2px; }
.part-lede { color: var(--fg-2); margin: 0; max-width: 620px; text-wrap: pretty; }
.sub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; flex-wrap: wrap; }

/* ---------- plate ---------- */
.plate { display: grid; gap: 22px; }
@media (min-width: 980px) { .plate { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 44px; align-items: start; } .pl-left { position: sticky; top: 76px; } }
.pl-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pl-id { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.pl-no { font: 500 13px/1 var(--mono); color: var(--forge); letter-spacing: .04em; }
.pl-name { font: 500 30px/1 var(--sans); letter-spacing: -.035em; margin: 0; }
.pl-ter { font: 400 12px/1.3 var(--mono); color: var(--fg-3); margin: 6px 0 0; letter-spacing: .02em; }
.pl-nav { display: flex; gap: 6px; flex: none; }
.ibtn { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--fg-2); transition: background .2s, color .2s, border-color .2s; }
.ibtn:hover { background: var(--ink-3); color: var(--fg); border-color: var(--line-3); }
.ibtn svg { width: 16px; height: 16px; }

.canvas { position: relative; display: flex; flex-direction: column; border-radius: 20px; background: radial-gradient(90% 90% at 50% 40%, #15171a 0%, #0d0e10 75%); border: 1px solid var(--line); overflow: hidden; color: var(--fg); touch-action: pan-y; transition: background .4s var(--ease), color .4s var(--ease); }
.cv-stage { position: relative; aspect-ratio: 1; }
.canvas.is-word .cv-stage { aspect-ratio: 1.25; }
.canvas.light { background: radial-gradient(90% 90% at 50% 40%, #f7f6f2 0%, #ebe8e1 80%); color: var(--paper-ink); border-color: var(--paper-line); }
.canvas .stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.canvas .stage .mark { transition: opacity .35s var(--ease); }
.canvas.grid-on .stage .mark { opacity: .9; }
.canvas .guides { opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.canvas.grid-on .guides { opacity: 1; }
.cv-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 0 16px; position: relative; z-index: 2; }
.cv-tools { display: flex; gap: 6px; flex: none; }
.cv-cap { margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 500 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.canvas.light .cv-cap { color: rgba(14, 15, 17, .45); }
.pill { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 11, 13, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); display: inline-flex; align-items: center; gap: 7px; transition: all .2s var(--ease); }
.pill .pd { width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; }
.pill[aria-pressed="true"] { color: var(--ink); background: var(--fg); border-color: var(--fg); }
.pill[aria-pressed="true"] .pd { background: var(--forge); border-color: var(--forge); }
.canvas.light .pill { background: rgba(255, 255, 255, .7); color: rgba(14, 15, 17, .65); border-color: var(--paper-line); }
.canvas.light .pill[aria-pressed="true"] { background: var(--paper-ink); color: var(--paper); }

/* construction guides */
.guides line, .guides circle { vector-effect: non-scaling-stroke; fill: none; }
.g-grid line { stroke: currentColor; stroke-opacity: .07; stroke-width: 1; }
.g-grid .g-M { stroke-opacity: .15; }
.g-k { stroke: var(--forge); stroke-opacity: .8; stroke-width: 1; }
.g-c { stroke: var(--forge); stroke-opacity: .85; stroke-width: 1; stroke-dasharray: 4 3; }
.g-d { stroke: var(--forge); stroke-opacity: .95; stroke-width: 1; }
.g-m2 { stroke: var(--forge); stroke-opacity: .45; stroke-width: 1; stroke-dasharray: 2 3; }
.g-p { fill: var(--forge) !important; stroke: none !important; }
.g-t { fill: var(--forge); font-family: var(--mono); font-weight: 500; font-size: var(--gfs, 2.2px); letter-spacing: .02em; paint-order: stroke; stroke: var(--canvas-bg, #0e0f11); stroke-width: calc(var(--gfs, 2.2px) * .35); stroke-linejoin: round; }
.canvas.light { --canvas-bg: #efede7; }
.g-note { fill-opacity: .78; }
.g-pole { font-weight: 600; }

.pl-right { display: grid; gap: 22px; }
.pl-line { font: 500 19px/1.35 var(--sans); letter-spacing: -.015em; margin: 0; text-wrap: pretty; }
@media (min-width: 980px) { .pl-line { font-size: 23px; } }
.pl-body { color: var(--fg-2); margin: 0; text-wrap: pretty; }
.specs { display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); margin: 0; }
.specs dt, .specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); font: 400 12.5px/1.35 var(--mono); }
.specs dt { color: var(--fg-3); padding-right: 18px; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.specs dd { color: var(--fg); text-align: right; }

.blk { display: grid; gap: 8px; }
.lk-grid { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.lk { border-radius: 14px; min-height: 104px; display: grid; place-items: center; padding: 26px 12px 20px; position: relative; border: 1px solid var(--line); background: var(--ink-2); color: var(--fg); overflow: hidden; }
.lk.light { background: var(--paper); color: var(--paper-ink); border-color: transparent; }
.lk.white { background: #fff; color: #000; border-color: transparent; }
.lk.black { background: #000; color: #fff; }
.lk .lk-svg { height: 28px; width: auto; max-width: 100%; }
.lk .lk-svg.sym { height: 44px; }
@media (min-width: 560px) { .lk { min-height: 128px; padding: 30px 18px 24px; } .lk .lk-svg { height: 40px; } .lk .lk-svg.sym { height: 60px; } }
.lk .tag { position: absolute; left: 12px; top: 10px; font: 500 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .45; }
.ramp { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.ramp-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 18px 16px 12px; background: var(--ink-2); }
.ramp-row.light { background: var(--paper); color: var(--paper-ink); }
.ramp-row figure { margin: 0; display: grid; justify-items: center; gap: 8px; }
.ramp-row figcaption { font: 500 9.5px/1 var(--mono); letter-spacing: .06em; opacity: .5; }

/* compare */
.compare { margin-top: 44px; }
.cmp-list { display: grid; gap: 6px; }
@media (min-width: 760px) { .cmp-list { grid-template-columns: 1fr 1fr; } }
.cmp { display: flex; align-items: center; gap: 14px; padding: 16px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink-2); text-align: left; transition: border-color .2s, background .2s; min-height: 72px; }
.cmp:hover { border-color: var(--line-3); }
.cmp[aria-pressed="true"] { border-color: rgba(236, 234, 229, .5); background: #121417; }
.cmp-no { font: 500 11px/1 var(--mono); color: var(--fg-3); width: 22px; flex: none; }
.cmp[aria-pressed="true"] .cmp-no { color: var(--forge); }
.cmp-art { flex: 1; min-width: 0; display: flex; align-items: center; color: var(--fg); }
.cmp-art svg { height: 28px; width: auto; max-width: 100%; }

/* ---------- Part B ---------- */
.now { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 10px 12px 10px 10px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--ink-2); width: fit-content; max-width: 100%; }
.now-sym { width: 34px; height: 34px; border-radius: 9px; background: #000; display: grid; place-items: center; color: #fff; flex: none; }
.now-sym svg { width: 18px; height: 18px; }
.now-sym .is-word { width: 26px; }
.now-txt { font: 500 14px/1.25 var(--sans); }
.now-txt small { display: block; font: 400 11px/1.3 var(--mono); color: var(--fg-3); letter-spacing: .03em; }
.surface { padding: 34px 0 40px; border-top: 1px solid var(--line); }
.surface:first-of-type { margin-top: 30px; }
.sf-head { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: baseline; margin-bottom: 18px; }
.sf-no { color: var(--forge); grid-row: span 2; }
.sf-meta { grid-column: 2; letter-spacing: .05em; }

/* B1 nav mocks */
.nav-stack { display: grid; gap: 10px; }
.nm { container-type: inline-size; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.nm.light { border-color: transparent; }
.nm-chrome { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #1a1c1f; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.nm.light .nm-chrome { background: #dcd9d2; border-bottom-color: rgba(0, 0, 0, .06); }
.nm-dots { display: flex; gap: 5px; }
.nm-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: block; }
.nm.light .nm-dots i { background: rgba(0, 0, 0, .14); }
.nm-url { flex: 1; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .06); font: 400 11px/20px var(--mono); color: rgba(255, 255, 255, .55); text-align: center; letter-spacing: .02em; max-width: 340px; margin: 0 auto; }
.nm.light .nm-url { background: rgba(255, 255, 255, .55); color: rgba(0, 0, 0, .55); }
.nm-page { background: #0b0c0e; color: #ecebe7; }
.nm.light .nm-page { background: #faf9f6; color: #0d0e10; }
.nm-bar { height: 60px; display: flex; align-items: center; gap: 22px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nm.light .nm-bar { border-bottom-color: rgba(0, 0, 0, .07); }
.nm-logo { display: flex; align-items: center; flex: none; }
.nm-logo svg { height: 22px; width: auto; }
.nm-links { display: none; gap: 22px; font: 450 14px/1 var(--sans); opacity: .78; }
.nm-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nm-signin { font: 450 14px/1 var(--sans); opacity: .78; display: none; }
.nm-btn { font: 500 13px/1 var(--sans); padding: 10px 14px; border-radius: 999px; background: #ecebe7; color: #0b0c0e; white-space: nowrap; }
.nm.light .nm-btn { background: #0d0e10; color: #faf9f6; }
.nm-burger { width: 22px; display: grid; gap: 5px; }
.nm-burger i { height: 1.5px; background: currentColor; display: block; border-radius: 2px; }
.nm-hero { padding: 30px 16px 34px; }
.nm-kick { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; opacity: .5; text-transform: uppercase; }
.nm-h { font: 500 30px/1.02 var(--sans); letter-spacing: -.04em; margin: 12px 0 10px; max-width: 520px; }
.nm-p { font-size: 14px; opacity: .62; max-width: 440px; margin: 0; }
@container (min-width: 600px) { .nm-bar { padding: 0 26px; height: 64px; } .nm-logo svg { height: 24px; } .nm-signin { display: block; } .nm-hero { padding: 44px 26px 48px; } .nm-h { font-size: 44px; } }
@container (min-width: 860px) { .nm-links { display: flex; } .nm-burger { display: none; } .nm-logo svg { height: 26px; } }

/* B2 icons */
.icons { display: grid; gap: 14px; }
@media (min-width: 980px) { .icons { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.home { position: relative; border-radius: 30px; overflow: hidden; padding: 26px 18px 18px; min-height: 380px; display: flex; flex-direction: column; background: radial-gradient(120% 70% at 20% 0%, #3b4250 0%, transparent 60%), radial-gradient(90% 70% at 100% 100%, #4a3a35 0%, transparent 55%), linear-gradient(180deg, #1c2027, #0d0f12); border: 1px solid var(--line); }
.home::after { content: ''; position: absolute; inset: 0; background: var(--noise); opacity: .09; mix-blend-mode: overlay; pointer-events: none; }
.home-status { display: flex; justify-content: space-between; font: 600 14px/1 var(--sans); color: #fff; padding: 0 8px 22px; position: relative; z-index: 1; }
.home-status span:last-child { letter-spacing: .1em; font-size: 11px; opacity: .9; }
.home-grid { display: grid; grid-template-columns: repeat(4, 60px); justify-content: space-between; row-gap: 22px; padding: 0 6px; position: relative; z-index: 1; }
.app { display: grid; justify-items: center; gap: 6px; }
.app-lbl { font: 500 11px/1 var(--sans); color: rgba(255, 255, 255, .92); letter-spacing: -.01em; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); white-space: nowrap; }
.ph { width: 60px; height: 60px; border-radius: 22.5%; background: var(--c, #2a2e35); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 55%); }
.home-dock { margin-top: auto; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 60px); justify-content: space-between; padding: 14px 14px; border-radius: 26px; background: rgba(255, 255, 255, .13); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

/* icon finishes */
.ico { position: relative; width: 60px; height: 60px; border-radius: 22.5%; overflow: hidden; flex: none; isolation: isolate; }
.ico .glyph { position: absolute; inset: 0; -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; }
.ico.obsidian { background: radial-gradient(110% 80% at 30% 0%, #2d3036 0%, #121316 55%, #08090a 100%); box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .12); }
.ico.obsidian::before { content: ''; position: absolute; inset: 0; background: var(--noise); opacity: .12; mix-blend-mode: overlay; }
.ico.obsidian .glyph { background: linear-gradient(160deg, #ffffff 0%, #c9ccd1 38%, #8d9298 62%, #e6e7ea 100%); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .4)); }
.ico.tungsten { background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .12)), linear-gradient(115deg, #8e9298 0%, #c3c6ca 32%, #9ea2a7 50%, #b8bbbf 70%, #8a8e93 100%); box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .18); }
.ico.tungsten::before { content: ''; position: absolute; inset: 0; background: var(--brush); background-size: 300px 80px; opacity: .55; mix-blend-mode: soft-light; }
.ico.tungsten .glyph { background: linear-gradient(180deg, #1d1f23, #2c2f34); }
.ico.tungsten .glyph-wrap { position: absolute; inset: 0; filter: drop-shadow(0 .6px 0 rgba(255, 255, 255, .55)); }
.ico.light { background: linear-gradient(180deg, #ffffff, #f1efea); box-shadow: inset 0 0 0 .6px rgba(0, 0, 0, .1); }
.ico.light .glyph { background: #0b0c0e; }

.finishes { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fin { border-radius: 16px; border: 1px solid var(--line); background: var(--ink-2); padding: 16px 10px 14px; display: grid; justify-items: center; gap: 12px; text-align: center; }
.fin .ico { width: min(100%, 112px); height: auto; aspect-ratio: 1; }
.fin-name { font: 500 12.5px/1.25 var(--sans); }
.fin-name small { display: block; font: 400 10px/1.35 var(--mono); color: var(--fg-3); letter-spacing: .02em; margin-top: 3px; }

.tabs { display: grid; gap: 8px; }
.tabbar { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.tabbar.light { border-color: transparent; }
.tb-strip { display: flex; align-items: flex-end; gap: 2px; padding: 8px 8px 0; background: #1d1f22; }
.tabbar.light .tb-strip { background: #dad7d0; }
.tab { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 9px 9px 0 0; font: 450 12px/1 var(--sans); color: rgba(255, 255, 255, .55); min-width: 0; flex: 0 1 200px; }
.tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab.on { background: #2b2e33; color: #f1f0ed; }
.tabbar.light .tab { color: rgba(0, 0, 0, .5); }
.tabbar.light .tab.on { background: #f7f6f3; color: #111; }
.tab .fv { width: 16px; height: 16px; flex: none; image-rendering: auto; }
.tab .fv-blank { width: 16px; height: 16px; border-radius: 4px; background: rgba(127, 127, 127, .35); flex: none; }
.tb-addr { padding: 8px; background: #2b2e33; }
.tabbar.light .tb-addr { background: #f7f6f3; }
.tb-addr div { height: 28px; border-radius: 8px; background: rgba(0, 0, 0, .25); display: flex; align-items: center; gap: 8px; padding: 0 10px; font: 400 12px/1 var(--mono); color: rgba(255, 255, 255, .7); }
.tabbar.light .tb-addr div { background: rgba(0, 0, 0, .05); color: rgba(0, 0, 0, .65); }
.pix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pix-cell { border-radius: 14px; border: 1px solid var(--line); background: var(--ink-2); padding: 14px; display: flex; gap: 14px; align-items: center; }
.pix-cell canvas { width: 96px; height: 96px; image-rendering: pixelated; border-radius: 6px; flex: none; box-shadow: 0 0 0 1px var(--line-2); }
.pix-cap { font: 400 11px/1.45 var(--mono); color: var(--fg-3); }
.pix-cap b { display: block; font: 500 12.5px/1.3 var(--sans); color: var(--fg); margin-bottom: 4px; }
@media (max-width: 520px) { .pix { grid-template-columns: 1fr; } }

/* B3 cards */
.cards { display: grid; gap: 26px; }
@media (min-width: 980px) { .cards { grid-template-columns: 1.15fr 1fr; align-items: start; column-gap: 36px; } .card-block.agent { grid-column: 2; grid-row: 1 / span 2; } }
.card-block { display: grid; gap: 14px; justify-items: center; }
.cb-head { justify-self: stretch; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cb-title { font: 500 15px/1.25 var(--sans); }
.cb-title small { display: block; font: 400 11px/1.4 var(--mono); color: var(--fg-3); letter-spacing: .02em; margin-top: 2px; }
.cb-tools { display: flex; gap: 6px; flex: none; }
.stage3d { width: 100%; display: grid; place-items: center; padding: 18px 0 26px; perspective: 1100px; position: relative; }
.stage3d::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: 4px; height: 22px; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .7), transparent); filter: blur(6px); z-index: -1; }
.card { --rx: 0deg; --ry: 0deg; --flip: 0deg; --lx: 30%; --ly: 20%; --sx: 50%; position: relative; width: min(100%, 372px); aspect-ratio: 1.586; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip))); transition: transform .9s var(--ease); cursor: grab; touch-action: pan-y; container-type: inline-size; -webkit-user-select: none; user-select: none; }
.card.portrait { width: min(62%, 236px); aspect-ratio: .6306; }
.card.dragging { transition: transform .08s linear; cursor: grabbing; }
.card.flipped { --flip: 180deg; }
.face { position: absolute; inset: 0; border-radius: 4.6cqw; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; transform: translateZ(.1px); }
.face.back { transform: rotateY(180deg) translateZ(.1px); }
.card.portrait .face { border-radius: 7.3cqw; }
.face > * { position: absolute; }
.sheen { inset: 0; pointer-events: none; }
.etch { -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }

/* Business Black — matte anodised obsidian */
.bb { background: radial-gradient(140% 120% at var(--lx) var(--ly), #24262a 0%, #141518 38%, #0b0c0e 75%), #0b0c0e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .10), 0 28px 60px -24px rgba(0, 0, 0, .9), 0 6px 18px -8px rgba(0, 0, 0, .7); }
.bb::before { content: ''; position: absolute; inset: 0; background: var(--noise); background-size: 140px; opacity: .16; mix-blend-mode: overlay; }
.bb .sheen { background: radial-gradient(60% 50% at var(--lx) var(--ly), rgba(255, 255, 255, .09), transparent 70%); mix-blend-mode: screen; }
.bb .etch { background: linear-gradient(115deg, #2b2e33 0%, #4b5058 30%, #d5d9df 47%, #6a7078 56%, #2b2e33 80%); background-size: 320% 100%; background-position: var(--sx) 50%; opacity: .95; }
.bb .ink { color: rgba(236, 234, 229, .62); }
/* Personal Metal — brushed stainless / titanium */
.pm { background: linear-gradient(calc(100deg + var(--ry) * 3), rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, .55) 44%, rgba(255, 255, 255, 0) 64%) , linear-gradient(180deg, #d3d6da 0%, #a7abb1 46%, #c2c5ca 100%); background-size: 260% 100%, 100% 100%; background-position: var(--sx) 0, 0 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 0 0 2px rgba(0, 0, 0, .10), inset 0 -2px 0 rgba(0, 0, 0, .12), 0 28px 60px -24px rgba(0, 0, 0, .85), 0 6px 18px -8px rgba(0, 0, 0, .6); }
.pm::before { content: ''; position: absolute; inset: 0; background: var(--brush); background-size: 420px 90px; opacity: .55; mix-blend-mode: soft-light; }
.pm::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .035) 1px 2px); mix-blend-mode: overlay; }
.pm .etch-wrap { filter: drop-shadow(0 .5px 0 rgba(255, 255, 255, .7)) drop-shadow(0 -.5px 0 rgba(0, 0, 0, .25)); }
.pm .etch { background: linear-gradient(180deg, #3b3f45, #5a5f66); }
.pm .ink { color: rgba(20, 22, 25, .66); }
/* Agent — smoked glass / iridium */
.ag { background: linear-gradient(135deg, rgba(38, 41, 48, .78), rgba(10, 11, 14, .88)); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .22), 0 24px 50px -24px rgba(0, 0, 0, .9); }
.ag .sheen { background: conic-gradient(from calc(200deg + var(--ry) * 6) at 70% 120%, rgba(120, 150, 255, 0), rgba(150, 120, 255, .22), rgba(90, 210, 200, .16), rgba(255, 170, 120, .12), rgba(120, 150, 255, 0) 70%); mix-blend-mode: screen; }
.ag .etch { background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .62)); }
.ag .ink { color: rgba(255, 255, 255, .72); }

.c-mark { left: 7.5%; top: 12%; height: 21%; aspect-ratio: 1; }
.c-mark.is-word { height: 8.6%; aspect-ratio: auto; width: 40%; top: 13.5%; }
.c-mark .etch, .c-mark .etch-wrap { position: absolute; inset: 0; }
.c-tier { right: 7.5%; top: 13%; font: 500 2.65cqw/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.c-chip { left: 7.5%; top: 43%; width: 12.6%; }
.c-nfc { left: 23.5%; top: 45%; width: 4.6%; }
.c-name { left: 7.5%; bottom: 17%; font: 500 3.5cqw/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.c-co { left: 7.5%; bottom: 10%; font: 400 2.55cqw/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.c-visa { right: 7.5%; bottom: 10%; width: 17.5%; }
.c-visa svg { width: 100%; height: auto; }
.c-prod { right: 7.5%; bottom: 23.5%; font: 600 2.3cqw/1 var(--sans); letter-spacing: .02em; text-align: right; }
/* portrait layout */
.portrait .c-mark { left: 50%; top: 13%; height: auto; width: 34%; transform: translateX(-50%); }
.portrait .c-mark.is-word { width: 76%; top: 15%; aspect-ratio: 4.3; }
.portrait .c-chip { left: auto; right: 11%; top: 47%; width: 20%; transform: rotate(90deg); }
.portrait .c-nfc { left: 11%; top: 48%; width: 8%; }
.portrait .c-name { left: 11%; bottom: 13%; font-size: 5cqw; }
.portrait .c-co { left: 11%; bottom: 8.5%; font-size: 3.6cqw; }
.portrait .c-visa { right: 11%; bottom: 8.5%; width: 27%; }
.portrait .c-tier { right: auto; left: 11%; top: 7.2%; font-size: 3.7cqw; }
/* backs */
.c-stripe { left: 0; right: 0; top: 11%; height: 17%; background: linear-gradient(180deg, #08090a, #121315); }
.pm .c-stripe { background: linear-gradient(180deg, #2a2c30, #3c3f44); }
.c-num { left: 7.5%; top: 42%; font: 500 5.2cqw/1 var(--mono); letter-spacing: .1em; }
.c-meta { left: 7.5%; top: 58%; display: flex; gap: 8cqw; font: 400 2.6cqw/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.c-meta b { display: block; font: 500 3.7cqw/1.2 var(--mono); letter-spacing: .06em; }
.c-fine { left: 7.5%; right: 30%; bottom: 9%; font: 400 1.95cqw/1.45 var(--sans); opacity: .62; }
.c-holo { right: 7.5%; bottom: 9%; width: 13%; aspect-ratio: 1; border-radius: 50%; }
.portrait .c-num { left: 11%; top: 40%; font-size: 6.6cqw; line-height: 1.5; width: 50%; }
.portrait .c-meta { left: 11%; top: 64%; }
.portrait .c-fine { left: 11%; right: 11%; bottom: 8%; font-size: 3cqw; }
.portrait .c-stripe { top: auto; bottom: auto; left: 7%; width: 17%; height: auto; top: 0; bottom: 0; right: auto; }

/* wallet */
.wallet { width: min(100%, 340px); border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #2a2d32, #0d0e10 40%, #1a1c1f); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.w-screen { border-radius: 36px; overflow: hidden; background: radial-gradient(90% 50% at 85% 18%, rgba(110, 90, 255, .30), transparent 60%), radial-gradient(80% 45% at 5% 30%, rgba(40, 200, 190, .20), transparent 60%), #050506; padding: 14px 14px 18px; position: relative; }
.w-status { display: flex; justify-content: space-between; align-items: center; font: 600 13px/1 var(--sans); color: #fff; padding: 4px 12px 0; height: 26px; }
.w-island { width: 92px; height: 26px; border-radius: 20px; background: #000; }
.w-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 6px 12px; }
.w-top h4 { margin: 0; font: 700 26px/1 var(--sans); letter-spacing: -.02em; color: #fff; }
.w-plus { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; color: #fff; font: 500 18px/1 var(--sans); }
.w-stack { position: relative; padding-top: 34px; }
.w-peek { position: absolute; left: 4%; right: 4%; height: 60px; top: 0; border-radius: 14px 14px 0 0; }
.w-peek.p1 { top: 0; left: 8%; right: 8%; background: linear-gradient(180deg, #c7cacf, #9da1a7); }
.w-peek.p2 { top: 16px; left: 5%; right: 5%; background: linear-gradient(180deg, #1b1c1f, #0c0d0f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.w-card { width: 100%; position: relative; }
.w-card .card { width: 100%; }
.w-panel { margin-top: 14px; border-radius: 20px; background: rgba(28, 29, 33, .92); border: 1px solid rgba(255, 255, 255, .08); padding: 14px 14px 12px; color: #f2f2f2; }
.w-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.w-k { font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.w-cap { font: 600 22px/1.1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-cap small { font: 500 12px/1 var(--sans); color: rgba(255, 255, 255, .5); letter-spacing: 0; }
.w-bar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; margin: 10px 0 8px; }
.w-bar i { display: block; height: 100%; width: var(--p, 0%); border-radius: 4px; background: linear-gradient(90deg, #9fb2ff, #e8ecff); transition: width .6s var(--ease); }
.w-bar.full i { background: linear-gradient(90deg, #ff8a5c, #ffd0b8); }
.w-sub { font: 400 12px/1.3 var(--sans); color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.w-live { display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; color: #9fe8c8; text-transform: uppercase; }
.w-live i { width: 6px; height: 6px; border-radius: 50%; background: #5fe0a6; box-shadow: 0 0 0 0 rgba(95, 224, 166, .6); animation: pulse 1.8s infinite; }
.w-live.paused { color: #ffb08f; } .w-live.paused i { background: #ff8a5c; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 224, 166, .55); } 100% { box-shadow: 0 0 0 7px rgba(95, 224, 166, 0); } }
.w-chips { display: flex; gap: 6px; margin: 10px 0 6px; flex-wrap: wrap; }
.w-chip { font: 500 11.5px/1 var(--sans); padding: 6px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); display: inline-flex; gap: 6px; align-items: center; }
.w-chip i { width: 6px; height: 6px; border-radius: 2px; background: #d6d3cb; display: block; }
.w-chip.v i { background: #fff; border-radius: 50% 50% 50% 50% / 0 0 100% 100%; }
.w-tx { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.w-tx li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0 7px; border-bottom: 1px solid rgba(255, 255, 255, .06); font: 400 12.5px/1.25 var(--sans); }
.w-tx li:last-child { border-bottom: 0; }
.w-tx li small { display: block; font: 400 10.5px/1.3 var(--mono); color: rgba(255, 255, 255, .45); letter-spacing: .02em; margin-top: 2px; }
.w-tx li b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-tx li.new { animation: txin .6s var(--ease); }
@keyframes txin { from { opacity: 0; transform: translateY(-6px); background: rgba(159, 178, 255, .12); } to { opacity: 1; transform: none; } }

.chipsvg { width: 100%; height: auto; }
.nfc svg { width: 100%; height: auto; }

/* B4 social */
.social { display: grid; gap: 14px; }
@media (min-width: 980px) { .social { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.prof { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0d0e10; }
.prof-banner { height: 116px; position: relative; overflow: hidden; background: #111316; }
.prof-banner svg { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(236, 234, 229, .07); }
.prof-body { padding: 0 16px 18px; position: relative; }
.avatar { width: 92px; height: 92px; border-radius: 50%; margin-top: -46px; border: 4px solid #0d0e10; background: radial-gradient(100% 100% at 30% 10%, #2a2d32, #0b0c0e 70%); display: grid; place-items: center; color: var(--fg); position: relative; cursor: pointer; overflow: hidden; }
.avatar svg { width: 46%; height: 46%; overflow: visible; }
.avatar .is-word { width: 74%; }
.prof-row { display: flex; justify-content: space-between; align-items: flex-start; }
.prof-follow { margin-top: 12px; font: 600 13px/1 var(--sans); padding: 9px 16px; border-radius: 999px; background: var(--fg); color: var(--ink); }
.prof-name { margin: 10px 0 0; font: 700 18px/1.2 var(--sans); display: flex; align-items: center; gap: 6px; }
.prof-name svg { width: 16px; height: 16px; }
.prof-handle { margin: 2px 0 10px; font: 400 13px/1.3 var(--sans); color: var(--fg-3); }
.prof-bio { margin: 0; font-size: 14px; color: var(--fg-2); }
.prof-stats { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; color: var(--fg-3); }
.prof-stats b { color: var(--fg); font-weight: 600; }
.reveal { border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(90% 90% at 50% 40%, #15171a 0%, #0b0c0e 75%); position: relative; aspect-ratio: 1.25; overflow: hidden; color: var(--fg); }
.reveal svg.stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.reveal .rv-tools { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.reveal .rv-spec { font: 500 10.5px/1.4 var(--mono); letter-spacing: .05em; color: var(--fg-3); text-transform: uppercase; }
.reveal .rv-guides line, .reveal .rv-guides circle { fill: none; stroke: var(--forge); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-opacity: .85; }

/* ---------- Part C ---------- */
.systems { display: grid; gap: 14px; }
@media (min-width: 1100px) { .systems { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sys { border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.sys-hero { position: relative; padding: 20px 18px 22px; min-height: 0; }
.sys-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; }
.sys-no { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .6; position: relative; }
.sys-name { margin: 8px 0 2px; font-size: 26px; line-height: 1.05; position: relative; }
.sys-fonts { font: 400 11px/1.4 var(--mono); opacity: .62; letter-spacing: .02em; position: relative; }
.sys-mark { position: relative; height: 34px; margin: 26px 0 26px; }
.sys-mark svg { height: 100%; width: auto; max-width: 100%; }
.sys-display { position: relative; margin: 0 0 12px; }
.sys-text { position: relative; margin: 0; font-size: 14.5px; line-height: 1.5; opacity: .78; }
.sys-data { position: relative; margin-top: 18px; border-top: 1px solid currentColor; border-color: inherit; }
.sys-data div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid; font-variant-numeric: tabular-nums; font-size: 13px; }
.sys-sw { display: grid; grid-template-columns: repeat(3, 1fr); }
.sw { padding: 12px 12px 10px; min-height: 74px; display: flex; flex-direction: column; justify-content: flex-end; font: 400 10.5px/1.35 var(--mono); letter-spacing: .02em; }
.sw b { font: 500 11.5px/1.2 var(--sans); letter-spacing: 0; display: block; margin-bottom: 2px; }
.sys-mat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.mat { aspect-ratio: 1.1; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 10px; font: 500 10px/1.25 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.mat span { position: relative; z-index: 1; }
.mat .mm { position: absolute; left: 50%; top: 44%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.mat .mm.is-word { width: 74%; aspect-ratio: 4.4; }

/* System I — Obsidian & Tungsten */
.s1 { background: #0B0C0E; color: #ECEAE5; border-color: rgba(255, 255, 255, .08); font-family: 'Geist', var(--sans); }
.s1 .sys-hero::before { background: radial-gradient(80% 60% at 80% 0%, rgba(169, 193, 255, .10), transparent 70%); }
.s1 .sys-name { font: 500 26px/1.05 'Geist', var(--sans); letter-spacing: -.03em; }
.s1 .sys-mark { color: #E8E9EB; }
.s1 .sys-display { font: 600 44px/.98 'Geist', var(--sans); letter-spacing: -.05em; }
.s1 .sys-text { font-family: 'Geist', var(--sans); }
.s1 .sys-data { font-family: 'Geist Mono', var(--mono); border-color: rgba(255, 255, 255, .1); }
.s1 .sys-data div { border-color: rgba(255, 255, 255, .08); }
.s1 .sys-data div span:last-child { color: #A9C1FF; }
/* System II — Carbon & Forged Copper */
.s2 { background: #121110; color: #EDE6DA; border-color: rgba(237, 230, 218, .08); font-family: 'Archivo', var(--sans); }
.s2 .sys-hero::before { background: radial-gradient(90% 70% at 100% 0%, rgba(196, 112, 62, .22), transparent 65%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M0 0h6v6H0zM6 6h6v6H6z' fill='%23ffffff' fill-opacity='.018'/%3E%3C/svg%3E"); }
.s2 .sys-name { font: 800 24px/1.05 'Archivo', var(--sans); font-stretch: 125%; letter-spacing: -.01em; text-transform: uppercase; }
.s2 .sys-fonts { font-family: 'IBM Plex Mono', var(--mono); }
.s2 .sys-mark { color: #D7915F; }
.s2 .sys-display { font: 800 33px/.98 'Archivo', var(--sans); font-stretch: 125%; letter-spacing: -.02em; text-transform: uppercase; color: #F1EADF; }
.s2 .sys-display em { color: #D7915F; }
.s2 .sys-text { font: 400 14.5px/1.5 'Archivo', var(--sans); font-stretch: 100%; }
.s2 .sys-data { font-family: 'IBM Plex Mono', var(--mono); border-color: rgba(237, 230, 218, .12); }
.s2 .sys-data div { border-color: rgba(237, 230, 218, .08); }
.s2 .sys-data div span:last-child { color: #E0A375; }
/* System III — Swiss Alabaster & Deep Slate */
.s3 { background: #F2EFE8; color: #1D2730; border-color: transparent; font-family: 'Inter Tight', var(--sans); }
.s3 .sys-hero::before { background: linear-gradient(90deg, rgba(29, 39, 48, .05) 1px, transparent 1px) 0 0 / 25% 100%; }
.s3 .sys-name { font: 600 26px/1.05 'Inter Tight', var(--sans); letter-spacing: -.035em; }
.s3 .sys-fonts { font-family: 'IBM Plex Mono', var(--mono); }
.s3 .sys-mark { color: #1D2730; }
.s3 .sys-display { font: 600 42px/.98 'Inter Tight', var(--sans); letter-spacing: -.05em; }
.s3 .sys-display em { font: 400 italic 1.08em/0 'Instrument Serif', Georgia, serif; letter-spacing: -.02em; color: #E3412B; }
.s3 .sys-text { font: 400 14.5px/1.5 'Inter Tight', var(--sans); }
.s3 .sys-data { font-family: 'Inter Tight', var(--sans); border-color: rgba(29, 39, 48, .2); }
.s3 .sys-data div { border-color: rgba(29, 39, 48, .1); font-feature-settings: 'tnum' 1; }
.s3 .sys-data div span:last-child { font-weight: 600; }
.sys-tag { position: absolute; right: 18px; top: 18px; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .55; }

/* materials */
.m-obsidian { background: radial-gradient(120% 90% at 30% 0%, #2a2d32, #0d0e10 70%); color: rgba(255, 255, 255, .7); }
.m-obsidian::before, .m-tungsten::before, .m-titan::before, .m-carbon::before, .m-copper::before, .m-steel::before, .m-alab::before, .m-slate::before, .m-enamel::before { content: ''; position: absolute; inset: 0; }
.m-obsidian::before { background: var(--noise); opacity: .14; mix-blend-mode: overlay; }
.m-obsidian .mm { background: linear-gradient(120deg, #3a3e44, #c9cdd3 50%, #3a3e44); }
.m-tungsten { background: linear-gradient(115deg, #7f848a, #b8bbc0 40%, #8f9399 60%, #a9adb2); color: rgba(0, 0, 0, .6); }
.m-tungsten::before { background: var(--brush); background-size: 300px 80px; opacity: .6; mix-blend-mode: soft-light; }
.m-tungsten .mm { background: #26292d; }
.m-titan { background: linear-gradient(160deg, #d7d9dc, #a9adb3 55%, #c9ccd0); color: rgba(0, 0, 0, .55); }
.m-titan::before { background: var(--noise); opacity: .35; mix-blend-mode: soft-light; }
.m-titan .mm { background: linear-gradient(180deg, #5b6067, #3a3e44); }
.m-carbon { background: #151515; color: rgba(237, 230, 218, .7); }
.m-carbon::before { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 3px, rgba(0, 0, 0, .25) 3px 6px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 3px, rgba(0, 0, 0, .2) 3px 6px); }
.m-carbon .mm { background: linear-gradient(120deg, #a0582f, #f0b080 50%, #a0582f); }
.m-copper { background: radial-gradient(120% 100% at 30% 0%, #e7a576, #b4693f 45%, #6f3a1f 100%); color: rgba(30, 12, 0, .62); }
.m-copper::before { background: var(--brush); background-size: 300px 80px; opacity: .5; mix-blend-mode: soft-light; }
.m-copper .mm { background: linear-gradient(180deg, #4a2412, #6e3a20); }
.m-steel { background: linear-gradient(160deg, #4b4f55, #2a2c30 60%, #3a3d42); color: rgba(237, 230, 218, .6); }
.m-steel::before { background: var(--noise); opacity: .28; mix-blend-mode: overlay; }
.m-steel .mm { background: linear-gradient(120deg, #6e5243, #d7915f 50%, #6e5243); }
.m-alab { background: radial-gradient(120% 100% at 20% 10%, #fbfaf7, #ebe7de 70%); color: rgba(29, 39, 48, .55); }
.m-alab::before { background: var(--noise); opacity: .22; mix-blend-mode: multiply; }
.m-alab .mm { background: #1D2730; }
.m-slate { background: linear-gradient(160deg, #3d4a55, #1d2730 70%); color: rgba(242, 239, 232, .62); }
.m-slate::before { background: var(--noise); opacity: .2; mix-blend-mode: overlay; }
.m-slate .mm { background: #F2EFE8; }
.m-enamel { background: #E3412B; color: rgba(255, 255, 255, .8); }
.m-enamel::before { background: radial-gradient(80% 60% at 30% 10%, rgba(255, 255, 255, .25), transparent 60%); }
.m-enamel .mm { background: #FBFAF6; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-top: 34px; padding-bottom: 40px; margin-top: 40px; color: var(--fg-3); font-size: 13px; }
.foot p { margin: 10px 0 0; max-width: 760px; }
.foot-lockup svg { height: 22px; width: auto; color: var(--fg-2); }

/* ---------- dock ---------- */
.dock { position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.dock-name { pointer-events: none; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg); background: rgba(16, 17, 20, .86); border: 1px solid var(--line-2); padding: 7px 10px; border-radius: 999px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); white-space: nowrap; }
.dock-name.show { opacity: 1; transform: none; }
.dock-row { pointer-events: auto; display: flex; gap: 4px; padding: 5px; border-radius: 20px; background: rgba(18, 19, 22, .94); border: 1px solid var(--line-2); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8); }
.dk { width: 50px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: var(--fg-2); position: relative; transition: background .25s var(--ease), color .25s var(--ease); }
.dk svg { width: 19px; height: 19px; }
.dk .is-word { width: 34px; height: auto; }
.dk-n { position: absolute; left: 6px; top: 5px; font: 500 8.5px/1 var(--mono); color: var(--fg-4); }
.dk:hover { color: var(--fg); background: rgba(255, 255, 255, .05); }
.dk[aria-selected="true"] { background: var(--fg); color: var(--ink); }
.dk[aria-selected="true"] .dk-n { color: rgba(0, 0, 0, .4); }
@media (min-width: 720px) { .dk { width: 58px; height: 50px; } .dk svg { width: 21px; height: 21px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
