/* Foundations 00–05: positioning, essence, logo, colour, type, voice. Every class is id-*. */

.id-spec { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--bp-grey-quiet); }
.id-kicker { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bp-grey-quiet); }

/* supergraphic slot (filled by identity.js, gradient fallback) */
.id-super { position: absolute; inset: 0; pointer-events: none; }
.id-super svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.id-super.is-fallback { background: var(--bp-glow-soft); }
/* the supergraphic drops every module near a [data-id-keep] block (identity.js), and fades toward the text */
.id-super[data-fade="left"] { -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000 85%); mask-image: linear-gradient(90deg, transparent 45%, #000 85%); }
.id-super[data-fade="top"] { -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .5) 45%, transparent 80%); mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .5) 45%, transparent 80%); }
@media (max-width: 700px) { .id-purpose .id-super, .id-hier-stage .id-super { display: none; } }

/* ─── 00 purpose ─────────────────────────────────────────────────────── */
.id-purpose-stage { aspect-ratio: auto; display: block; place-items: normal; padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px); }
.id-purpose-in { position: relative; display: grid; gap: 22px; max-width: 640px; }
.id-purpose-big { margin: 0; font-size: clamp(32px, 4.8vw, 60px); font-weight: 700; line-height: 1.04; letter-spacing: -0.045em; color: var(--bp-grey); text-wrap: balance; }
.id-purpose-big span { color: var(--bp-white); }
.id-purpose-sub { margin: 0; max-width: 580px; font-size: 17px; line-height: 1.6; color: var(--bp-grey); }

.id-ps { margin: 0; display: grid; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--bp-line); }
.id-ps > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 16px 20px; border-top: 1px solid var(--bp-line); }
.id-ps > div:first-child { border-top: 0; }
.id-ps dt { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--bp-grey-quiet); padding-top: 4px; }
.id-ps dd { margin: 0; font-size: clamp(17px, 2vw, 21px); line-height: 1.4; letter-spacing: -0.015em; color: var(--bp-white); }
@media (max-width: 600px) { .id-ps > div { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* problem diagram */
.id-flow-stage { padding: clamp(14px, 3vw, 28px); }
@media (max-width: 600px) { .id-flow-stage { aspect-ratio: auto !important; } .id-flow-col { align-content: start; } .id-flow-foot { padding-top: 10px; } }
.id-flow { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; gap: 12px; }
.id-flow.is-one { grid-template-columns: 1fr; }
.id-flow-col { display: grid; align-content: start; gap: 8px; min-width: 0; }
.id-flow-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--bp-grey-quiet); }
.id-flow-box { display: grid; gap: 6px; padding: 12px; border-radius: 10px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--bp-line-strong), 0 18px 30px -18px rgb(0 0 0 / .9); }
.id-flow-box b { font-size: 13px; font-weight: 600; color: var(--bp-white); }
.id-flow-box i { font-style: normal; font-size: 12.5px; padding: 6px 9px; border-radius: 6px; background: rgb(255 255 255 / .05); color: var(--bp-grey); }
.id-flow-box i.is-on { background: rgb(255 255 255 / .14); color: var(--bp-white); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
.id-flow-box.is-dim { background: rgb(255 255 255 / .02); box-shadow: inset 0 0 0 1px var(--bp-line), 0 0 0 4px rgb(255 255 255 / .03); transform: rotate(1.2deg); }
.id-flow-base { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; border: 1px dashed var(--bp-line-strong); font-size: 12px; color: var(--bp-grey); }
.id-flow-base .bp-mk { width: 16px; height: 16px; flex-shrink: 0; }
.id-flow-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--bp-grey-quiet); }

.id-aud h4 { font-size: 20px; letter-spacing: -0.02em; }
.id-aud-dl { margin: 16px 0 0; display: grid; gap: 0; }
.id-aud-dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--bp-line); }
.id-aud-dl dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--bp-grey-quiet); padding-top: 3px; }
.id-aud-dl dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--bp-white); }

.id-cmp table { min-width: 720px; }
.id-cmp tbody th { color: var(--bp-white); font-weight: 500; white-space: nowrap; border-top: 1px solid var(--bp-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.id-cmp td b { display: block; color: var(--bp-white); font-weight: 600; }
.id-cmp td:nth-child(2) { background: rgb(139 123 255 / .06); }
.id-cmp thead th:nth-child(2) { background: rgb(139 123 255 / .12); }

.id-princ { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.id-princ li { padding: 18px; border-radius: 12px; background: var(--bp-raise); box-shadow: inset 0 0 0 1px var(--bp-line); }
.id-princ span { display: block; font-family: var(--mono); font-size: 11px; color: var(--bp-grey-quiet); margin-bottom: 26px; }
.id-princ h4 { margin: 0 0 6px; font-size: 16px; font-weight: 650; letter-spacing: -0.015em; }
.id-princ p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--bp-grey); }
@media (max-width: 1000px) { .id-princ { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .id-princ { grid-template-columns: minmax(0, 1fr); } }

/* ─── 01 essence ─────────────────────────────────────────────────────── */
.id-hero { --ar: 16 / 8; }
@media (max-width: 700px) { .id-hero { aspect-ratio: 4 / 5 !important; } }
/* horizon light: one edge, violet-led (kit --bp-glow recipe), plus the 1 px edge line */
.id-hero-light { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(139 123 255 / .30) 0%, rgb(118 140 255 / .12) 24%, transparent 56%); }
.id-hero-edge { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bp-edge); opacity: .8; }
.id-hero-mk { position: relative; width: min(30%, 300px); height: auto; color: var(--bp-white); overflow: visible; margin-top: -9%; }
.id-hero.is-arm .id-hero-mk { opacity: 0; transform: translateY(10px); clip-path: inset(0 100% 0 0); }
.id-hero.is-in .id-hero-mk { transition: opacity .6s, transform 1.2s var(--bb-ease), clip-path 1.4s var(--bb-ease); }
@media (max-width: 700px) { .id-hero-mk { width: 52%; margin-top: -30%; } }
.id-hero-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; padding: clamp(16px, 3vw, 28px); }
.id-hero-foot p { margin: 0; max-width: 420px; font-size: 14px; line-height: 1.5; color: var(--bp-grey); }
.id-hero-foot p b { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; color: var(--bp-white); }
.id-hero-foot p span { font-family: var(--mono); font-size: 11px; color: var(--bp-grey-quiet); }

.id-spread { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); margin-top: 56px; }
@media (max-width: 860px) { .id-spread { grid-template-columns: minmax(0, 1fr); } }
.id-spread-a, .id-spread-b { display: grid; gap: 18px; align-content: start; }
.id-tagline { margin: 0; font-size: clamp(38px, 5.6vw, 68px); font-weight: 700; line-height: 1.02; letter-spacing: -0.045em; color: var(--bp-grey); }
.id-tagline span { color: var(--bp-white); }

.id-traits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.id-traits > div { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 1px solid var(--bp-line-strong); }
.id-traits h4 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -0.025em; }
.id-traits p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--bp-grey); }
.id-traits .id-isnt { font-size: 13px; color: var(--bp-grey-quiet); }
.id-traits .id-isnt b { font-family: var(--mono); font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--bp-grey); margin-right: 4px; }
@media (max-width: 900px) { .id-traits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .id-traits { grid-template-columns: minmax(0, 1fr); } }

/* tiny window mockups */
.id-win { width: 82%; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #1c1c1f, #141416); box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 24px 40px -18px rgb(0 0 0 / .9), 0 2px 4px rgb(0 0 0 / .5); }
.id-win-bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; background: rgb(255 255 255 / .04); border-bottom: 1px solid var(--bp-line); }
.id-win-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a3c; }
.id-win-bar span { margin-left: 8px; font-size: 10.5px; color: var(--bp-grey); }
.id-lib { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; }
.id-lib li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 11.5px; color: var(--bp-white); }
.id-lib li:first-child { background: rgb(255 255 255 / .08); }
.id-lib li i { width: 18px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, #2c2c2e, #48484a); flex-shrink: 0; }
.id-lib li em { margin-left: auto; font: 9.5px var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: var(--bp-grey-quiet); }
.id-play { display: grid; justify-items: start; gap: 10px; padding: 18px 14px 20px; background: linear-gradient(180deg, rgb(255 255 255 / .03), transparent); }
.id-play-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 16px; border-radius: 6px; background: var(--bp-white); color: #000; font-size: 13px; font-weight: 600; box-shadow: 0 8px 20px -8px rgb(139 123 255 / .8); }
.id-playing { display: grid; justify-items: center; gap: 12px; }
.id-playing .bp-mk { width: 56px; height: 56px; }
.id-playing span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bp-white); }

/* ─── 02 logo: construction ──────────────────────────────────────────── */
.id-cx-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .id-cx-wrap { grid-template-columns: minmax(0, 1fr); } }
.id-cx { width: 92%; height: auto; color: var(--bp-white); font-family: var(--mono); }
.id-cx.is-js .id-cx-l { opacity: 0; transition: opacity .5s; }
.id-cx.is-js .id-cx-l.is-on { opacity: 1; }
.id-cx.is-js .id-cx-dim { opacity: 0; transition: opacity .5s .2s; }
.id-cx.is-js .id-cx-l.is-cur .id-cx-dim { opacity: 1; }
.id-cx-draw { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.id-cx.is-js .id-cx-draw { stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--bb-ease); }
.id-cx.is-js .id-cx-l.is-on .id-cx-draw { stroke-dashoffset: 0; }
.id-cx-side { display: grid; gap: 14px; align-content: start; }
.id-cx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 16px; }
.id-cx-btns { margin: 0; }
.id-cx-glab { transition: opacity .3s; }
.id-cx[data-step="5"] .id-cx-glab { opacity: 0; }
.id-cx-list { list-style: none; margin: 0; padding: 0; display: grid; }
.id-cx-list li { padding: 12px 0 12px 14px; border-top: 1px solid var(--bp-line); font-size: 14px; line-height: 1.55; color: var(--bp-grey-quiet); box-shadow: inset 2px 0 0 transparent; transition: color .3s, box-shadow .3s; }
.id-cx-list li b { display: block; color: var(--bp-grey); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.id-cx-list li.is-cur { color: var(--bp-grey); box-shadow: inset 2px 0 0 var(--bp-violet); }
.id-cx-list li.is-cur b { color: var(--bp-white); }
.bb-seg button:focus-visible, .id-cx-play:focus-visible, .id-layers-btn:focus-visible { outline: 2px solid var(--bp-blue); outline-offset: 2px; }

.id-anat { width: 94%; height: auto; color: var(--bp-white); font-family: var(--mono); }
.id-anat .id-anat-lab, .id-anat .id-anat-lab text { font-size: 13px; }
@media (max-width: 700px) {
  .id-anat-stage { aspect-ratio: 16 / 7 !important; }
  .id-anat .id-anat-lab, .id-anat .id-anat-lab text { font-size: 22px; }
  .id-anat .id-anat-sec { display: none; }
}
.id-v-wm { width: 64%; height: auto; color: var(--bp-white); }
.is-light > .id-v-wm, .is-light > .id-v-mk { color: #000; }
.id-v-mk { width: 26%; height: auto; color: var(--bp-white); overflow: visible; }
.id-v-ic { width: 30%; height: auto; border-radius: 22%; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .7); }
.id-v-ic.is-edge { box-shadow: 0 0 0 1px rgb(255 255 255 / .16), 0 14px 30px -12px rgb(0 0 0 / .9); }
.id-cs { width: 86%; height: auto; color: var(--bp-white); font-family: var(--mono); }
.id-cs.is-mk { width: auto; height: 78%; }
.id-lk { color: var(--bp-white); height: auto; }
.id-lk.is-h { width: 78%; }
.id-lk.is-s { width: auto; height: 58%; }

.id-min { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 40px; }
.id-min > div { display: grid; justify-items: center; gap: 10px; }
.id-min .bp-mk { color: var(--bp-white); }
.id-min-px { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--bp-line-strong); background: repeating-linear-gradient(90deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 4px), repeating-linear-gradient(0deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 4px); }
.id-min-px svg { width: 64px; height: 64px; image-rendering: pixelated; }
.id-min.is-digital { align-items: center; }
.id-min.is-print .id-spec { color: #6e6e73; }
.id-ruler { display: block; height: 7px; border: 1px solid #6e6e73; border-top: 0; background: repeating-linear-gradient(90deg, #6e6e73 0 1px, transparent 1px 1mm) bottom / 100% 3px no-repeat; }

/* dock */
.id-dock-stage { background: #000; }
/* a dark wallpaper lit from the horizon: neutral, violet-led, no spots */
.id-wall { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(139 123 255 / .34) 0%, rgb(118 140 255 / .14) 30%, transparent 64%), linear-gradient(180deg, #050507, #0d0c16 70%, #12101f); }
.id-wall::after { content: ""; position: absolute; left: 0; right: 0; top: 64%; height: 1px; background: var(--bp-edge); opacity: .35; }
.id-menubar { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: clamp(8px, 1.6vw, 18px); height: clamp(18px, 2.6vw, 26px); padding: 0 clamp(8px, 1.6vw, 16px); background: rgb(0 0 0 / .38); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-size: clamp(9px, 1vw, 12px); color: rgb(255 255 255 / .82); }
.id-menubar svg { color: #fff; flex-shrink: 0; }
.id-menubar b { font-weight: 650; color: #fff; }
.id-menubar em { margin-left: auto; font-style: normal; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .id-menubar span:nth-of-type(n+3) { display: none; } }
.id-dock { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); display: flex; align-items: flex-end; gap: clamp(4px, 1vw, 9px); padding: clamp(5px, 1vw, 8px); border-radius: clamp(12px, 2vw, 20px);
  background: rgb(255 255 255 / .14); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22), inset 0 1px 0 rgb(255 255 255 / .25), 0 20px 40px -10px rgb(0 0 0 / .6); }
.id-app { position: relative; display: block; width: clamp(28px, 6vw, 56px); aspect-ratio: 1; border-radius: 23%; box-shadow: 0 4px 8px rgb(0 0 0 / .35); }
.id-app.is-a { background: linear-gradient(160deg, #6ac6ff, #1e7bf0); }
.id-app.is-b { background: radial-gradient(circle at 50% 50%, #fff 0 18%, transparent 19%), linear-gradient(160deg, #ffffff, #d8d8de); }
.id-app.is-c { background: linear-gradient(160deg, #7ee08a, #2aa146); }
.id-app.is-d { background: linear-gradient(160deg, #ffd56a, #f59e0b); }
.id-app.is-e { background: linear-gradient(160deg, #48484a, #1c1c1e); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 4px 8px rgb(0 0 0 / .35); }
.id-app.is-f { background: linear-gradient(160deg, #c7c7cc, #8e8e93); }
.id-app.is-bp img { display: block; width: 100%; height: 100%; border-radius: 23%; box-shadow: 0 0 0 .5px rgb(255 255 255 / .25); }
.id-app.is-bp { box-shadow: 0 6px 12px rgb(0 0 0 / .45); }
.id-app.is-bp em { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); padding: 4px 10px; border-radius: 6px; background: rgb(30 30 32 / .85); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18); font-style: normal; font-size: 12px; color: var(--bp-white); white-space: nowrap; }
.id-app.is-bp b { position: absolute; left: 50%; top: calc(100% + 2px); width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgb(255 255 255 / .8); }
.id-dock-sep { align-self: stretch; width: 1px; margin: 4px 2px; background: rgb(255 255 255 / .25); }

.id-tab { width: 86%; border-radius: 10px; overflow: hidden; background: #1c1c1f; box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 20px 36px -16px rgb(0 0 0 / .9); }
.id-tab-row { display: flex; gap: 2px; padding: 8px 8px 0; background: #0b0b0d; }
.id-tab-t { display: flex; align-items: center; gap: 7px; min-width: 0; flex: 1; height: 30px; padding: 0 10px; border-radius: 8px 8px 0 0; font-size: 12px; color: var(--bp-grey-quiet); white-space: nowrap; overflow: hidden; }
.id-tab-t.is-on { background: #1c1c1f; color: var(--bp-white); }
.id-tab-t img { flex-shrink: 0; }
.id-tab-url { margin: 8px; padding: 7px 12px; border-radius: 8px; background: #0b0b0d; font-family: var(--mono); font-size: 11.5px; color: var(--bp-grey); }
.id-tab-page { display: grid; justify-items: start; gap: 9px; padding: 14px 16px 18px; background: linear-gradient(0deg, rgb(139 123 255 / .16), transparent 70%), #000; border-top: 1px solid var(--bp-line); color: var(--bp-white); }
.id-tab-page i { display: block; width: 78%; height: 9px; border-radius: 3px; background: rgb(255 255 255 / .22); }
.id-tab-page i.is-s { width: 52%; background: rgb(255 255 255 / .1); }
.id-tab-page span { display: block; width: 74px; height: 20px; margin-top: 4px; border-radius: 999px; background: var(--bp-white); }

.id-fav { display: flex; align-items: flex-end; justify-content: center; flex-wrap: wrap; gap: clamp(14px, 3vw, 36px); padding: 24px; }
.id-fav > div { display: grid; justify-items: center; align-content: end; gap: 10px; }
@media (max-width: 700px) { .id-fav-stage { aspect-ratio: auto !important; } .id-fav { padding: 22px 12px; gap: 14px 18px; } }
.id-fav img { display: block; border-radius: 22%; box-shadow: 0 0 0 1px rgb(255 255 255 / .14); }
@media (max-width: 700px) { .id-fav-big img { width: 96px; height: 96px; } }

/* misuse */
.id-mis-wm { width: 66%; height: auto; color: var(--bp-white); }
.id-mis-wm.is-stretch { width: 46%; transform: scaleX(1.5); }
.id-mis-wm.is-over { position: relative; width: 60%; }
.id-mis-wm.is-corner { position: relative; width: 60%; }
.id-mis-wm.is-outline { color: #f5f5f7; stroke: #8b7bff; stroke-width: 6; paint-order: stroke; stroke-linejoin: round; }
.id-mis-mk { width: 34%; height: auto; color: var(--bp-white); }
.id-mis-grad { width: 66%; aspect-ratio: 568 / 96; background: linear-gradient(90deg, #8b7bff, #4fb3ff, #ff7ac6);
  -webkit-mask: url(/assets/press/bridgeplay-wordmark-white.svg) center / contain no-repeat; mask: url(/assets/press/bridgeplay-wordmark-white.svg) center / contain no-repeat; }
.id-mis-type { display: flex; align-items: center; gap: 8px; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(20px, 2.4vw, 26px); color: var(--bp-white); }
.id-mis-type .bp-mk { width: 1.3em; height: 1.3em; }
.id-mis-swap { display: flex; align-items: center; gap: 10px; width: 66%; color: var(--bp-white); }
.id-mis-swap svg:first-child { flex: 1; height: auto; min-width: 0; }
.id-mis-swap .bp-mk { width: 22%; height: auto; flex-shrink: 0; }
.id-mis-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.id-mis-scrim { position: absolute; inset: 0; background: rgb(0 0 0 / .62); background: radial-gradient(closest-side, rgb(0 0 0 / .9), rgb(0 0 0 / .72)); }
.id-mis-crowd { display: grid; justify-items: start; gap: 0; width: 66%; color: var(--bp-white); }
.id-mis-crowd svg { width: 100%; height: auto; }
.id-mis-crowd b { margin-top: -2px; font-size: clamp(12px, 1.6vw, 15px); font-weight: 800; letter-spacing: .02em; color: #fff; }
.id-mis-box { display: grid; place-items: center; width: 74%; padding: 6% 8%; border-radius: 999px; background: #3a3a3c; box-shadow: 0 0 0 2px #8b7bff; color: var(--bp-white); }
.id-mis-box svg { width: 100%; height: auto; }

.id-dl a { white-space: nowrap; margin-right: 10px; font-family: var(--mono); font-size: 12.5px; text-underline-offset: 3px; text-decoration-color: var(--bp-line-strong); }

/* ─── 03 colour ──────────────────────────────────────────────────────── */
.id-bal { display: grid; gap: 12px; margin-bottom: 8px; }
.id-bal-bar { display: flex; gap: 4px; height: clamp(80px, 12vw, 140px); }
.id-bal-bar i { position: relative; display: block; min-width: 34px; border-radius: 14px; font-style: normal; }
.id-bal-bar i span { position: absolute; left: 12px; bottom: 10px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.id-bal-bar i.is-k { background: #000; box-shadow: inset 0 0 0 1px var(--bp-line-strong); color: var(--bp-grey-quiet); }
.id-bal-bar i.is-w { background: linear-gradient(90deg, #a1a1a6, #f5f5f7); color: #1d1d1f; }
.id-bal-bar i.is-g, .id-bal-key i.is-g { background: linear-gradient(0deg, rgb(139 123 255 / .9), rgb(118 140 255 / .35) 55%, rgb(139 123 255 / .08)), #000; box-shadow: inset 0 0 0 1px rgb(139 123 255 / .5); color: var(--bp-white); }
.id-bal-bar i.is-g span, .id-bal-bar i.is-w span { left: 50%; transform: translateX(-50%); }
.id-bal-bar { clip-path: inset(0); }
.id-bal.is-arm .id-bal-bar { clip-path: inset(0 100% 0 0); }
.id-bal.is-in .id-bal-bar { transition: clip-path 1.1s var(--bb-ease); }
.id-bal-key { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--bp-grey); }
.id-bal-key span { display: inline-flex; align-items: center; gap: 8px; }
.id-bal-key i { width: 10px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--bp-line-strong); }
.id-bal-key em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--bp-grey-quiet); }

.id-swc { margin: 0; min-width: 0; border-radius: 12px; overflow: hidden; background: var(--bp-raise); box-shadow: inset 0 0 0 1px var(--bp-line); }
.id-swc > i { position: relative; display: block; aspect-ratio: 16 / 9; box-shadow: inset 0 0 0 1px var(--bp-line-strong); border-radius: 12px 12px 0 0; }
.id-swc > i.is-line { display: grid; align-content: center; gap: 22%; padding: 0 14px; background: #000; }
.id-swc > i.is-line span { display: block; padding-bottom: 6px; font: 500 10.5px var(--mono); letter-spacing: .06em; color: var(--bp-grey-quiet); border-bottom: 1px solid rgb(255 255 255 / .1); }
.id-swc > i.is-line span + span { border-bottom-color: rgb(255 255 255 / .18); }
/* glow swatch: the colour as light rising from the bottom edge, plus a flat chip of the hex */
.id-swc.is-glow > i { background: linear-gradient(0deg, color-mix(in srgb, var(--g) 55%, transparent), transparent 70%), #000; }
.id-swc.is-glow > i::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--g); opacity: .9; }
.id-swc.is-glow > i::after { content: ""; position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; border-radius: 6px; background: var(--g); box-shadow: 0 0 0 1px rgb(255 255 255 / .2); }
.id-swc.is-glow.is-pink > i { background: #000; }
.id-swc.is-glow.is-blue > i { background: linear-gradient(0deg, color-mix(in srgb, var(--g) 26%, transparent), transparent 45%), #000; }
.id-swc figcaption { padding: 12px 14px 14px; display: grid; gap: 4px; }
.id-swc b { font-size: 15px; font-weight: 600; }
.id-swc figcaption > span { font-size: 13px; line-height: 1.45; color: var(--bp-grey); }
.id-swc dl { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 3px 8px; margin: 8px 0 10px; font-family: var(--mono); font-size: 11.5px; }
.id-swc dt { color: var(--bp-grey-quiet); }
.id-swc dd { margin: 0; color: var(--bp-white); overflow-wrap: anywhere; }
.id-swc .bb-btn { justify-self: start; }
.id-swc.is-sm > i { aspect-ratio: 3 / 1; }
.id-swc.is-sm dl { margin-bottom: 0; }

.id-recipe { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin-bottom: 12px; }
@media (max-width: 760px) { .id-recipe { grid-template-columns: minmax(0, 1fr); } }
.id-layers-wrap { width: 100%; height: 100%; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 0 clamp(14px, 3vw, 32px); perspective: 1200px; }
.id-layers { position: relative; justify-self: center; width: 78%; aspect-ratio: 16 / 10; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-34deg); }
.id-layer { position: absolute; inset: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); transform: translateZ(calc(var(--i) * 4px - 6px)); transition: transform .9s var(--bb-ease); }
.id-layer.is-edge { background: transparent; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.id-layer.is-edge::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--bp-edge); }
.id-layers[data-spread="true"] .id-layer { transform: translateZ(calc(var(--i) * 40px - 60px)); }
.id-layers-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--bp-grey); }
.id-layers-key li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--bp-line); }
.id-layers-key li:first-child { border-top: 0; }
.id-layers-key b { font-weight: 500; color: var(--bp-white); }
@media (max-width: 560px) { .id-layers-stage { aspect-ratio: auto !important; } .id-layers-wrap { grid-template-columns: minmax(0, 1fr); padding: 64px 20px 18px; gap: 64px; } .id-layers { width: 56%; } .id-layers-key li { padding: 7px 0; } }
.id-glow-res { background: var(--bp-glow); transition: background .4s; }
.id-glow-res[data-dir="top"] { background: var(--bp-glow-top); }
.id-glow-res[data-dir="line"] { background: #000; }
.id-glow-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bp-edge); }
.id-glow-res[data-dir="top"] .id-glow-line { top: 0; bottom: auto; }
.id-recipe-tag { position: absolute; left: 16px; top: 14px; color: var(--bp-white); }
.id-recipe-btns { align-items: center; }

.id-crc { margin: 0; min-width: 0; }
.id-crc > div { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; aspect-ratio: 4 / 3; padding: 16px 18px; border-radius: 12px; background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px var(--bp-line); }
.id-crc b { font-size: clamp(36px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.id-crc b small { font-size: .42em; font-weight: 500; letter-spacing: 0; }
.id-crc span { font-size: 14px; line-height: 1.4; }
.id-crc figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 10px 2px 0; font-size: 13px; color: var(--bp-grey); }
.id-crc figcaption em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--bp-white); white-space: nowrap; padding: 1px 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--bp-line-strong); }
.id-crc.is-warn figcaption em { color: var(--bp-grey); box-shadow: inset 0 0 0 1px var(--bp-line); }

.id-lightdoc { width: 82%; display: grid; gap: 8px; padding: clamp(16px, 3vw, 28px); border-radius: 6px; background: #fff; color: #1d1d1f; box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 24px 40px -24px rgb(0 0 0 / .35); }
.id-lightdoc-k { margin: 14px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #6e6e73; }
.id-lightdoc-h { margin: 0; font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.id-lightdoc-p { margin: 0; font-size: 13px; line-height: 1.5; color: #6e6e73; }
.id-lightdoc-s { margin: 6px 0 0; padding-top: 10px; border-top: 1px solid #d2d2d7; font-family: var(--mono); font-size: 11px; color: #1d1d1f; }

.id-code { border-radius: 12px; background: var(--bp-raise); box-shadow: inset 0 0 0 1px var(--bp-line); overflow: hidden; }
.id-code header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--bp-line); }
.id-code pre { margin: 0; border-radius: 0; box-shadow: none; background: none; }

/* ─── 04 type ────────────────────────────────────────────────────────── */
.id-spec-plate { display: flex; flex-direction: column; }
.id-spec-plate .bb-stage { flex: 1; }
.id-spec-stage { aspect-ratio: auto; display: block; place-items: normal; padding: clamp(18px, 3vw, 30px); }
.id-specimen { display: grid; gap: 14px; height: 100%; grid-template-rows: auto 1fr auto; }
.id-specimen-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.id-specimen-top b { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.id-aa { margin-top: 10px; font-size: clamp(110px, 16vw, 200px); font-weight: 700; line-height: 1; letter-spacing: -0.05em; color: var(--bp-white); }
.id-glyphs { margin: 0; font-size: clamp(14px, 1.7vw, 18px); line-height: 1.55; color: var(--bp-grey); overflow-wrap: anywhere; }
.id-specimen.is-mono .id-aa { font-family: var(--mono); font-weight: 500; letter-spacing: -0.04em; }
.id-specimen.is-mono .id-glyphs { font-family: var(--mono); font-size: clamp(12.5px, 1.5vw, 16px); }
.id-weights { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 16px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--bp-line); }
.id-weights span { padding: 18px 16px; font-size: clamp(16px, 1.8vw, 22px); letter-spacing: -0.02em; box-shadow: inset -1px 0 0 var(--bp-line); }
.id-weights em { display: block; margin-top: 6px; font: 400 11px var(--mono); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--bp-grey-quiet); }
@media (max-width: 760px) { .id-weights { grid-template-columns: repeat(2, minmax(0, 1fr)); } .id-weights span { box-shadow: inset -1px -1px 0 var(--bp-line); } }

.id-s { margin: 0; color: var(--bp-white); }
.id-s.is-display { font-size: clamp(28px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.id-s.is-h1 { font-size: clamp(24px, 3vw, 40px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.id-s.is-h2 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 650; letter-spacing: -0.025em; line-height: 1.15; }
.id-s.is-h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.id-s.is-body { font-size: 16px; line-height: 1.6; color: var(--bp-grey); }
.id-s.is-cap { font-size: 13px; line-height: 1.45; color: var(--bp-grey-quiet); }
.id-s.is-label { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--bp-grey-quiet); }
.id-s.is-specx { font-family: var(--mono); font-size: 13px; color: var(--bp-white); }
.id-scale table { min-width: 760px; }
.id-scale td { vertical-align: middle; white-space: nowrap; }
.id-scale td:last-child { white-space: normal; min-width: 260px; }
.id-scale .id-s.is-display { font-size: 34px; }
.id-scale .id-s.is-h1 { font-size: 28px; }

.id-hier-stage { display: block; place-items: normal; padding: clamp(20px, 4vw, 48px); }
.id-hier { position: relative; display: grid; max-width: 760px; }
.id-hier-row { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--bp-line); }
.id-hier-row:first-child { border-top: 0; }
@media (max-width: 600px) { .id-hier-row { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.id-rule { padding: 20px 24px; text-align: left; place-items: center start; }
/* type tester */
.id-tt { display: grid; gap: 18px; padding: clamp(18px, 3vw, 28px); border-radius: 12px; background: var(--bp-glow-soft); box-shadow: inset 0 0 0 1px var(--bp-line); }
.id-tt-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.id-tt-in { display: grid; gap: 6px; flex: 1 1 260px; }
.id-tt-in input { height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--bp-raise-2, #141416); box-shadow: inset 0 0 0 1px var(--bp-line-strong); color: var(--bp-white); font: 400 14px var(--sans); }
.id-tt-range { display: grid; gap: 6px; width: 150px; }
.id-tt-range output { color: var(--bp-white); }
.id-tt-range input { width: 100%; accent-color: #f5f5f7; }
.id-tt input:focus-visible, .id-tt button:focus-visible, .id-glow-seg button:focus-visible { outline: 2px solid var(--bp-blue); outline-offset: 2px; }
.id-tt-out { margin: 0; min-height: 1.1em; line-height: 1.05; color: var(--bp-white); overflow-wrap: anywhere; text-wrap: balance; }
.id-tt-out.is-mono { font-family: var(--mono); }
.id-tt-css { margin: 0; text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .id-tt-range { width: calc(50% - 9px); } }

/* ─── 05 voice ───────────────────────────────────────────────────────── */
.id-vc { display: grid; gap: 10px; align-content: start; padding: clamp(18px, 2.6vw, 26px); border-radius: 14px; background: var(--bp-raise); box-shadow: inset 0 0 0 1px var(--bp-line); }
.id-vc h4 { margin: 0; font-size: 26px; font-weight: 650; letter-spacing: -0.03em; }
.id-vc > p { margin: 0 0 4px; font-size: 14px; line-height: 1.55; color: var(--bp-grey); }
.id-say { display: grid; gap: 4px; padding: 12px 14px; border-radius: 10px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--bp-line); }
.id-say em { font: 500 10.5px var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--bp-white); }
.id-say p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--bp-white); }
.id-say.is-no { background: none; }
.id-say.is-no em { color: var(--bp-grey-quiet); }
.id-say.is-no p { color: var(--bp-grey-quiet); text-decoration: line-through; text-decoration-color: rgb(255 255 255 / .35); }

.id-name { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.035em; color: var(--bp-white); }
.is-dont .id-name { color: var(--bp-grey); }
.id-warn { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; margin: 0 0 16px; padding: 16px 18px; border-radius: 12px; background: var(--bp-raise); box-shadow: inset 0 0 0 1px var(--bp-line-strong), inset 2px 0 0 rgb(255 122 198 / .7); }
.id-warn-k { font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--bp-white); padding-top: 3px; }
.id-warn p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--bp-grey); }
.id-warn strong { color: var(--bp-white); }
.id-warn a { text-underline-offset: 3px; }
@media (max-width: 560px) { .id-warn { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

@media (prefers-reduced-motion: reduce) {
  .id-cx-draw { stroke-dashoffset: 0 !important; transition: none !important; }
  .id-hero .id-hero-mk { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .id-bal .id-bal-bar { clip-path: none !important; }
  .id-layer { transition: none; }
}
