/* ==========================================================================
   Innovation Depot · Brand Guide page
   Scoped to #id-brand so nothing leaks into the rest of the theme.
   Follows the site's light/dark switch (html.light-theme / html.dark-theme).
   ========================================================================== */

#id-brand {
	--ink: #1D191F;
	--yellow: #FFEA5A;
	--off: #F8F7F2;
	--char: #333333;

	/* dark (site default) */
	--bg: #1D191F;
	--fg: #FFFFFF;
	--muted: rgba(255, 255, 255, .64);
	--faint: rgba(255, 255, 255, .38);
	--line: rgba(255, 255, 255, .14);
	--line-strong: rgba(255, 255, 255, .28);
	--surface: #241F27;
	--surface-2: #2B262E;
	--grid: rgba(255, 255, 255, .05);

	--display: 'Vanguard CF Demi', 'Vanguard CF', 'Oswald', 'Arial Narrow', sans-serif;
	--display-ls: .05em; /* Vanguard is always tracked +50 */
	--text: 'Graphik', 'Helvetica Neue', Arial, sans-serif;
	--pad: clamp(20px, 7vw, 120px);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--ease-io: cubic-bezier(.7, 0, .2, 1);

	position: relative;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--text);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

.light-theme #id-brand {
	--bg: #FFFFFF;
	--fg: #1D191F;
	--muted: #5E5A61;
	--faint: #8F8B92;
	--line: #E7E5E4;
	--line-strong: #CFCBC8;
	--surface: #F8F6F2;
	--surface-2: #F1EEE8;
	--grid: rgba(29, 25, 31, .05);
}

/* ---------- resets against theme globals (dark-mode p/h colors, pill buttons) ---------- */
#id-brand *, #id-brand *::before, #id-brand *::after { box-sizing: border-box; }
#id-brand p, #id-brand h1, #id-brand h2, #id-brand h3, #id-brand h4,
#id-brand li, #id-brand dt, #id-brand dd, #id-brand blockquote, #id-brand figure, #id-brand figcaption {
	color: inherit; margin: 0; padding: 0; font-weight: inherit; line-height: inherit; letter-spacing: normal;
}
#id-brand h1, #id-brand h2, #id-brand h3, #id-brand h4 { font-size: inherit; font-family: inherit; }
#id-brand ol, #id-brand ul { list-style: none; margin: 0; padding: 0; }
#id-brand a { color: inherit; text-decoration: none; }
#id-brand img { max-width: 100%; height: auto; display: block; }
#id-brand button {
	all: unset; box-sizing: border-box; cursor: pointer; font: inherit; color: inherit;
	-webkit-tap-highlight-color: transparent;
}
#id-brand input { font: inherit; color: inherit; }
#id-brand :focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
#id-brand [id] { scroll-margin-top: 110px; }
html:has(#id-brand) { scroll-behavior: smooth; }

#id-brand .idb-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
#id-brand .idb-ico { width: 1.15em; height: 1.15em; flex: none; }
#id-brand .idb-wrap { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--pad); }
#id-brand .idb-n { font-variant-numeric: tabular-nums; font-size: 12px; letter-spacing: .16em; color: var(--faint); font-weight: 500; }
#id-brand .idb-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
#id-brand .idb-subhead {
	font-family: var(--text); font-weight: 600; font-size: 13px; letter-spacing: .18em;
	text-transform: uppercase; color: var(--muted); margin-bottom: 24px;
}
#id-brand .idb-subhead--spaced { margin-top: clamp(64px, 8vw, 112px); }
#id-brand .idb-empty { padding: 24px; border: 1px dashed var(--line-strong); color: var(--muted); }

/* ---------- buttons (site style: pill, 1px border, yellow primary) ---------- */
#id-brand .idb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
#id-brand .idb-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 26px; border-radius: 33px; border: 1px solid var(--fg);
	font-family: var(--text); font-size: 14px; font-weight: 500; line-height: 1;
	white-space: nowrap; color: var(--fg); background: transparent; cursor: pointer;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
	position: relative; overflow: hidden;
}
#id-brand .idb-btn .idb-ico { transition: transform .3s var(--ease); }
#id-brand .idb-btn:hover .idb-ico { transform: translateY(2px); }
#id-brand .idb-btn--ghost:hover { background: var(--fg); color: var(--bg); }
#id-brand .idb-btn--brand { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
#id-brand .idb-btn--brand:hover { background: #F2DA2E; border-color: #F2DA2E; }
#id-brand .idb-btn--brand::after {
	content: ""; position: absolute; inset: 0; transform: translateX(-110%);
	background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
	transition: transform .7s var(--ease);
}
#id-brand .idb-btn--brand:hover::after { transform: translateX(110%); }
#id-brand .idb-btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
#id-brand .idb-btn--ink:hover { background: #000; }
#id-brand .idb-btn--sm { padding: 11px 18px; font-size: 13px; }
#id-brand .idb-btn__meta { font-size: 11px; letter-spacing: .08em; opacity: .62; padding-left: 10px; border-left: 1px solid currentColor; }
#id-brand .idb-icon-btn {
	width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .3); color: #fff; transition: background .2s, color .2s;
}
#id-brand .idb-icon-btn:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

#id-brand .idb-pulse {
	display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow);
	box-shadow: 0 0 0 0 rgba(255, 234, 90, .6); animation: idbPulse 2s infinite; flex: none;
}
#id-brand .idb-caret {
	display: inline-block; width: .5em; height: 1.05em; margin-left: .12em; vertical-align: -.15em;
	background: var(--yellow); animation: idbBlink 1s steps(1) infinite;
}

/* ==========================================================================
   HERO (always dark, like the homepage hero)
   ========================================================================== */
#id-brand .idb-hero {
	--bg: #1D191F; --fg: #fff; --muted: rgba(255, 255, 255, .68); --faint: rgba(255, 255, 255, .4); --line: rgba(255, 255, 255, .14);
	position: relative; isolation: isolate; overflow: hidden;
	background: #1D191F; color: #fff;
	min-height: max(640px, calc(100vh - 140px));
	display: flex; flex-direction: column; justify-content: center;
	padding-top: clamp(40px, 5vw, 76px);
}
#id-brand .idb-hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
#id-brand .idb-hero__glow {
	position: absolute; z-index: -3; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px;
	background: radial-gradient(closest-side, rgba(255, 234, 90, .22), rgba(255, 234, 90, .06) 55%, transparent 75%);
	filter: blur(10px); animation: idbGlow 9s ease-in-out infinite alternate;
}
#id-brand .idb-hero__scan {
	position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
	background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px);
	mask-image: linear-gradient(180deg, #000, transparent 85%);
}
#id-brand .idb-hero__inner {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: center; gap: clamp(32px, 5vw, 96px); flex: 1;
}
#id-brand .idb-eyebrow {
	display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
	font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #fff;
	opacity: 0; animation: idbFade .8s var(--ease) .1s forwards;
}
#id-brand .idb-eyebrow__meta { color: var(--faint); padding-left: 12px; border-left: 1px solid var(--line); }
#id-brand .idb-hero__title {
	font-family: var(--display); font-weight: 600; text-transform: uppercase;
	font-size: clamp(44px, 6.3vw, 108px); line-height: .92; letter-spacing: var(--display-ls);
	margin: 28px 0 0;
}
#id-brand .idb-hero__line { display: block; overflow: hidden; white-space: nowrap; padding: .2em .06em .24em; margin: -.2em -.06em -.24em; } /* roomy mask so no letter is cropped */
#id-brand .idb-hero__line-in {
	display: inline-block; transform: translateY(140%);
	animation: idbRise 1s var(--ease) forwards; animation-delay: calc(var(--i) * .13s + .2s);
}
#id-brand .idb-hero__line:last-child .idb-hero__line-in { color: var(--yellow); }
#id-brand .idb-hero__for {
	margin-top: 26px; font-size: clamp(17px, 1.5vw, 21px); color: var(--muted);
	opacity: 0; animation: idbFade .8s var(--ease) .75s forwards;
}
#id-brand .idb-cycle { color: #fff; font-weight: 500; border-bottom: 1px solid var(--yellow); padding-bottom: 2px; }
#id-brand .idb-hero__for .idb-caret { height: .9em; width: .42em; }
#id-brand .idb-hero__lede {
	max-width: 54ch; margin-top: 18px; font-size: clamp(16px, 1.2vw, 18px); color: var(--muted); line-height: 1.6;
	opacity: 0; animation: idbFade .8s var(--ease) .9s forwards;
}
#id-brand .idb-hero .idb-actions { opacity: 0; animation: idbFade .8s var(--ease) 1.05s forwards; }
#id-brand .idb-hero .idb-btn--ghost { border-color: rgba(255, 255, 255, .5); }

/* logomark */
#id-brand .idb-hero__visual { display: grid; place-items: center; }
#id-brand .idb-mark {
	position: relative; width: min(100%, 560px); aspect-ratio: 1; display: grid; place-items: center;
}
#id-brand .idb-mark__orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: idbSpin 70s linear infinite; }
#id-brand .idb-mark__orbit text { font-family: var(--text); font-size: 15px; font-weight: 600; letter-spacing: .3em; fill: rgba(255, 255, 255, .55); }
#id-brand .idb-mark__ring { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
#id-brand .idb-mark__ring--dash { stroke: rgba(255, 234, 90, .45); stroke-dasharray: 2 10; }
#id-brand .idb-mark__svg { width: 62%; height: auto; overflow: visible; fill: #fff; position: relative; z-index: 1; }

/* hero index */
#id-brand .idb-index { margin-top: clamp(36px, 4vw, 56px); position: relative; z-index: 2; }
#id-brand .idb-index ol { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
#id-brand .idb-index a {
	display: flex; gap: 12px; align-items: baseline; padding: 22px 0 28px; position: relative;
	font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .78); transition: color .25s;
}
#id-brand .idb-index a::before {
	content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--yellow);
	transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
#id-brand .idb-index a:hover { color: #fff; }
#id-brand .idb-index a:hover::before { transform: scaleX(1); }
#id-brand .idb-index__n { font-size: 11px; letter-spacing: .16em; color: var(--yellow); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
#id-brand .idb-marquee {
	background: var(--yellow); color: var(--ink); overflow: hidden; position: relative; z-index: 2;
	border-block: 1px solid var(--ink);
}
#id-brand .idb-marquee__track { display: flex; width: max-content; will-change: transform; }
#id-brand .idb-marquee__set { display: flex; align-items: center; gap: .45em; padding: .32em .225em; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: var(--display-ls); font-size: clamp(30px, 4.2vw, 60px); line-height: 1; white-space: nowrap; }
#id-brand .idb-marquee__mark { width: .62em; height: .62em; fill: var(--ink); flex: none; margin: 0 .15em; }

/* ==========================================================================
   RAIL
   ========================================================================== */
#id-brand .idb-rail {
	position: fixed; right: 22px; top: 50%; transform: translate(12px, -50%); z-index: 50;
	opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease);
	mix-blend-mode: difference; color: #fff;
}
#id-brand .idb-rail.is-visible { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
#id-brand .idb-rail ol { display: grid; gap: 4px; }
#id-brand .idb-rail a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 6px 0; }
#id-brand .idb-rail__tick { display: block; width: 16px; height: 2px; background: currentColor; opacity: .45; transition: width .35s var(--ease), opacity .35s; }
#id-brand .idb-rail__label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; }
#id-brand .idb-rail a:hover .idb-rail__label, #id-brand .idb-rail a:focus-visible .idb-rail__label, #id-brand .idb-rail:hover a.is-active .idb-rail__label { opacity: 1; transform: none; }
#id-brand .idb-rail a.is-active .idb-rail__tick { width: 36px; opacity: 1; }
@media (max-width: 1359px) { #id-brand .idb-rail { display: none; } }

/* ==========================================================================
   SECTIONS + HEADS
   ========================================================================== */
#id-brand .idb-section { padding-block: clamp(88px, 11vw, 176px); border-top: 1px solid var(--line); position: relative; }
#id-brand .idb-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; column-gap: 48px; row-gap: 20px; margin-bottom: clamp(48px, 6vw, 88px); }
#id-brand .idb-head__num {
	flex: 0 0 100%; display: flex; align-items: center; gap: 16px; margin-bottom: 18px;
	font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums;
}
#id-brand .idb-head__num > span:first-child { color: var(--yellow); }
.light-theme #id-brand .idb-head__num > span:first-child { color: var(--fg); }
#id-brand .idb-head__rule { flex: 1; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .1s; }
#id-brand .idb-head.is-in .idb-head__rule { transform: scaleX(1); }
#id-brand .idb-head__title {
	font-family: var(--display); font-weight: 600; text-transform: uppercase; line-height: .86;
	font-size: clamp(56px, 9.4vw, 168px); letter-spacing: var(--display-ls);
}
#id-brand .idb-head__title { flex: 0 1 auto; max-width: 100%; }
#id-brand .idb-head__desc { flex: 0 1 46ch; min-width: min(100%, 34ch); color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; padding-bottom: .6em; }

/* split-letter reveal */
#id-brand [data-split] .idb-w { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; padding: .2em .06em .24em; margin: -.2em -.06em -.24em; } /* roomy mask so no letter is cropped */
#id-brand [data-split] .idb-ch {
	display: inline-block; transform: translateY(140%) skewY(6deg); opacity: 0;
	transition: transform .9s var(--ease), opacity .6s var(--ease);
	transition-delay: calc(var(--d) * 34ms);
}
#id-brand .is-in [data-split] .idb-ch, #id-brand [data-split].is-in .idb-ch { transform: none; opacity: 1; }

/* generic reveal */
#id-brand [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
#id-brand [data-reveal].is-in { opacity: 1; transform: none; }
#id-brand .idb-head[data-reveal] { opacity: 1; transform: none; }

/* ==========================================================================
   01 LOGOS
   ========================================================================== */
#id-brand .idb-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(16px, 2vw, 28px); }
#id-brand .idb-logo { border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
#id-brand .idb-logo__stage {
	--mx: 50%; --my: 50%;
	position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden;
	transition: background-color .5s var(--ease);
}
#id-brand .idb-logo--compact .idb-logo__stage { aspect-ratio: 16 / 8; }
#id-brand .idb-logo__stage.is-dark { background-color: #1D191F; --gl: rgba(255, 255, 255, .06); --fgs: #fff; }
#id-brand .idb-logo__stage.is-light { background-color: #F8F7F2; --gl: rgba(29, 25, 31, .07); --fgs: #1D191F; }
#id-brand .idb-logo__stage::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 234, 90, .16), transparent 60%);
}
#id-brand .idb-logo__stage:hover::before { opacity: 1; }
#id-brand .idb-logo__stage::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -30%; width: 30%; pointer-events: none;
	background: linear-gradient(90deg, transparent, rgba(255, 234, 90, .55), transparent);
	transform: translateX(0); opacity: 0;
}
#id-brand .idb-logo__stage.is-scan::after { animation: idbScan .7s var(--ease-io); }
#id-brand .idb-logo__grid {
	position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(var(--gl) 1px, transparent 1px), linear-gradient(90deg, var(--gl) 1px, transparent 1px);
	background-size: 32px 32px; background-position: center center;
	mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
#id-brand .idb-logo__cross { position: absolute; inset: 0; pointer-events: none; }
#id-brand .idb-logo__cross::before, #id-brand .idb-logo__cross::after { content: ""; position: absolute; background: var(--gl); }
#id-brand .idb-logo__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
#id-brand .idb-logo__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
#id-brand .idb-logo__img {
	grid-area: 1 / 1; position: relative; z-index: 1; width: auto; max-width: 66%; max-height: 34%;
	transition: opacity .45s var(--ease), transform .6s var(--ease), filter .45s;
}
#id-brand .idb-logo--mark .idb-logo__img { max-height: 46%; max-width: 46%; }
#id-brand .idb-logo--compact .idb-logo__img { max-height: 30%; max-width: 62%; }
#id-brand .idb-logo__stage.is-dark .idb-logo__img--light, #id-brand .idb-logo__stage.is-light .idb-logo__img--dark { opacity: 0; transform: scale(.96); filter: blur(4px); }
#id-brand .idb-logo__stage:hover .idb-logo__img { transform: scale(1.03); }
#id-brand .idb-logo__idx {
	position: absolute; left: 16px; top: 14px; z-index: 2; font-size: 11px; letter-spacing: .16em; color: var(--fgs); opacity: .5; font-variant-numeric: tabular-nums;
}
#id-brand .idb-toggle {
	position: absolute; right: 12px; top: 12px; z-index: 2; display: flex; padding: 3px; border-radius: 33px;
	background: rgba(127, 127, 127, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
#id-brand .idb-toggle button {
	font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 33px;
	color: var(--fgs); opacity: .7; transition: background .25s, color .25s, opacity .25s;
}
#id-brand .idb-toggle button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); opacity: 1; }
#id-brand .idb-logo__body { padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
#id-brand .idb-logo__name { font-size: clamp(20px, 1.6vw, 24px); font-weight: 500; line-height: 1.2; }
#id-brand .idb-logo__use { color: var(--muted); font-size: 15px; max-width: 58ch; }
#id-brand .idb-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: auto; padding-top: 14px; }
#id-brand .idb-file {
	display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
	padding: 12px 14px; border: 1px solid var(--line-strong); font-size: 13px; line-height: 1.2;
	transition: background .2s, color .2s, border-color .2s;
}
#id-brand .idb-file__fmt { font-weight: 600; letter-spacing: .08em; grid-row: 1; }
#id-brand .idb-file__label { grid-row: 1; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#id-brand .idb-file__size { grid-row: 2; grid-column: 1 / 3; font-size: 11px; color: var(--faint); margin-top: 4px; letter-spacing: .06em; }
#id-brand .idb-file .idb-ico { grid-row: 1 / 3; grid-column: 3; transition: transform .3s var(--ease); }
#id-brand .idb-file:hover, #id-brand .idb-file:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
#id-brand .idb-file:hover .idb-file__label, #id-brand .idb-file:hover .idb-file__size { color: rgba(29, 25, 31, .7); }
#id-brand .idb-file:hover .idb-ico { transform: translateY(3px); }

/* rules + misuse */
#id-brand .idb-rules { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(64px, 8vw, 112px); align-items: start; }
#id-brand .idb-rules__list ol { border-top: 1px solid var(--line); }
#id-brand .idb-rules__list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
#id-brand .idb-rules__list .idb-n { padding-top: 4px; }
#id-brand .idb-misuse { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#id-brand .idb-misuse__stage {
	position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
	background: #F8F7F2 center / cover no-repeat; color: #1D191F;
}
#id-brand .idb-misuse__stage img { width: 62%; max-height: 40%; object-fit: contain; }
#id-brand .is-dont .idb-misuse__stage::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background: linear-gradient(to top right, transparent calc(50% - 1px), #1D191F calc(50% - 1px), #1D191F calc(50% + 1px), transparent calc(50% + 1px));
}
#id-brand .is-stretch img { transform: scaleX(1.5) scaleY(.8); }
#id-brand .is-recolor img { filter: invert(30%) sepia(90%) saturate(3000%) hue-rotate(200deg) brightness(.95); }
#id-brand .is-effects img { filter: drop-shadow(5px 5px 0 #FFEA5A) drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
#id-brand .is-rotate img { transform: rotate(-14deg); }
#id-brand .is-busy .idb-misuse__stage::before { content: ""; position: absolute; inset: 0; background: rgba(60, 55, 50, .25); }
#id-brand .is-busy img { position: relative; z-index: 1; }
#id-brand .idb-misuse figcaption { display: flex; gap: 8px; align-items: flex-start; padding: 12px 2px 0; font-size: 14px; color: var(--muted); line-height: 1.35; }
#id-brand .idb-misuse figcaption .idb-ico { margin-top: 1px; color: var(--fg); }
#id-brand .is-do figcaption .idb-ico { color: var(--yellow); }
.light-theme #id-brand .is-do figcaption .idb-ico { color: #8A7A00; }
#id-brand .idb-clear { position: relative; display: block; padding: 7%; outline: 1px dashed rgba(29, 25, 31, .55); width: 46%; aspect-ratio: 1; }
#id-brand .idb-clear img { width: 100%; max-height: none; }
#id-brand .idb-clear::before { content: ""; position: absolute; inset: 7%; outline: 1px solid rgba(29, 25, 31, .2); }
#id-brand .idb-clear__x { position: absolute; font-size: 11px; font-style: italic; color: rgba(29, 25, 31, .7); line-height: 1; }
#id-brand .idb-clear__x--t { top: 1%; left: 50%; transform: translateX(-50%); }
#id-brand .idb-clear__x--b { bottom: 1%; left: 50%; transform: translateX(-50%); }
#id-brand .idb-clear__x--l { left: 1.5%; top: 50%; transform: translateY(-50%); }
#id-brand .idb-clear__x--r { right: 1.5%; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   02 COLOR
   ========================================================================== */
#id-brand .idb-ratio { display: flex; height: 72px; margin-bottom: 20px; border: 1px solid var(--line); overflow: hidden; }
#id-brand .idb-ratio__seg {
	flex: var(--w) 1 0; min-width: 0; background: var(--c); color: var(--on); position: relative;
	display: flex; align-items: flex-end; padding: 10px 12px; transform-origin: left; transform: scaleX(0);
	transition: transform 1.1s var(--ease-io); transition-delay: calc(var(--i) * 110ms);
}
#id-brand .idb-ratio.is-in .idb-ratio__seg { transform: none; }
#id-brand .idb-ratio__label { font-size: 12px; font-weight: 500; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#id-brand .idb-ratio__label em { font-style: normal; opacity: .65; }

#id-brand .idb-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
#id-brand .idb-swatch { display: flex; flex-direction: column; }
#id-brand .idb-swatch__chip {
	--x: 50%; --y: 50%;
	position: relative; display: flex; flex-direction: column; justify-content: space-between;
	min-height: clamp(260px, 26vw, 380px); padding: clamp(18px, 1.6vw, 24px);
	background: var(--c); color: var(--on); overflow: hidden; outline-offset: 4px;
	box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease);
}
#id-brand .idb-swatch__chip::before {
	content: ""; position: absolute; left: var(--x); top: var(--y); width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
	background: var(--on); opacity: 0; transform: scale(0); pointer-events: none;
}
#id-brand .idb-swatch__chip.is-copied::before { animation: idbRipple .9s var(--ease) forwards; }
#id-brand .idb-swatch__chip:hover { transform: translateY(-4px); }
#id-brand .idb-swatch__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; position: relative; z-index: 1; }
#id-brand .idb-swatch__name { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: var(--display-ls); font-size: clamp(28px, 2.3vw, 40px); line-height: .95; }
#id-brand .idb-swatch__role { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 5px 9px; border: 1px solid currentColor; border-radius: 33px; opacity: .8; white-space: nowrap; }
#id-brand .idb-swatch__hex { position: relative; z-index: 1; font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; line-height: 1; }
#id-brand .idb-swatch__hint {
	position: absolute; right: clamp(18px, 1.6vw, 24px); bottom: clamp(18px, 1.6vw, 24px); z-index: 1;
	display: inline-flex; gap: 6px; align-items: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
	opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
#id-brand .idb-swatch__chip:hover .idb-swatch__hint, #id-brand .idb-swatch__chip:focus-visible .idb-swatch__hint { opacity: .85; transform: none; }
#id-brand .idb-swatch__done {
	position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 8px;
	font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(32px, 3vw, 48px); letter-spacing: var(--display-ls);
	color: var(--c); opacity: 0; pointer-events: none; transition: opacity .25s;
}
#id-brand .idb-swatch__done .idb-ico { width: 40px; height: 40px; stroke-width: 2; }
#id-brand .idb-swatch__chip.is-copied .idb-swatch__done { opacity: 1; transition-delay: .18s; }
#id-brand .idb-swatch__chip.is-copied .idb-swatch__hint { opacity: 0; }
#id-brand .idb-swatch__vals { margin-top: 2px; border: 1px solid var(--line); border-top: 0; }
#id-brand .idb-swatch__vals > div { display: grid; grid-template-columns: 56px 1fr; align-items: stretch; border-top: 1px solid var(--line); }
#id-brand .idb-swatch__vals dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--faint); padding: 13px 0 13px 14px; }
#id-brand .idb-swatch__vals button {
	width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px;
	padding: 12px 14px 12px 0; font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
#id-brand .idb-swatch__vals button .idb-ico { opacity: .35; transition: opacity .2s, color .2s; }
#id-brand .idb-swatch__vals button:hover .idb-ico, #id-brand .idb-swatch__vals button:focus-visible .idb-ico { opacity: 1; color: var(--yellow); }
.light-theme #id-brand .idb-swatch__vals button:hover .idb-ico { color: var(--fg); }
#id-brand .idb-swatch__vals button:hover span { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; text-decoration-thickness: 2px; }
#id-brand .idb-swatch__use { margin-top: 12px; font-size: 14px; color: var(--muted); }

#id-brand .idb-contrast { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
#id-brand .idb-contrast .idb-subhead { margin: 0; padding-top: 22px; }
#id-brand .idb-contrast__note {
	display: flex; gap: 18px; align-items: center; padding: 20px 24px; border: 1px solid var(--line);
	border-left: 3px solid var(--yellow); background: var(--surface); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; max-width: 68ch;
}
#id-brand .idb-contrast__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; overflow: hidden; position: relative; }
#id-brand .idb-contrast__icon span { position: absolute; inset: 0 0 0 50%; background: currentColor; }

/* ==========================================================================
   03 TYPE
   ========================================================================== */
#id-brand .idb-fonts { display: grid; gap: clamp(16px, 2vw, 28px); }
#id-brand .idb-font { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border: 1px solid var(--line); background: var(--surface); }
#id-brand .idb-font__specimen {
	--mx: 50%; --my: 50%;
	position: relative; min-height: clamp(320px, 34vw, 520px); display: grid; place-items: center; overflow: hidden;
	border-right: 1px solid var(--line);
	background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 40px 40px;
}
#id-brand .idb-font__specimen::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 234, 90, .12), transparent 60%);
}
#id-brand .idb-font__aa {
	font-family: var(--ff); font-weight: 600; text-transform: none; letter-spacing: var(--ls); font-size: clamp(150px, 19vw, 320px); line-height: 1;
	position: relative; z-index: 1; transition: font-weight .2s;
}
#id-brand .idb-font__meta { position: absolute; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-variant-numeric: tabular-nums; z-index: 1; }
#id-brand .idb-font__meta b { color: var(--yellow); font-weight: 600; }
.light-theme #id-brand .idb-font__meta b { color: var(--fg); }
#id-brand .idb-font__meta--tl { left: 18px; top: 16px; }
#id-brand .idb-font__meta--br { right: 18px; bottom: 16px; }
#id-brand .idb-font__guide { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255, 234, 90, .35); }
#id-brand .idb-font__guide--a { top: 28%; }
#id-brand .idb-font__guide--b { bottom: 26%; }
#id-brand .idb-font__info { padding: clamp(24px, 3vw, 48px); display: flex; flex-direction: column; gap: 16px; }
#id-brand .idb-font__role { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
#id-brand .idb-font__name { font-family: var(--ff); text-transform: var(--tt); letter-spacing: var(--ls); font-size: clamp(40px, 4.4vw, 72px); line-height: .95; }
#id-brand .idb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#id-brand .idb-chips li { font-size: 12px; padding: 6px 11px; border: 1px solid var(--line-strong); border-radius: 33px; color: var(--muted); }
#id-brand .idb-font__sample { font-family: var(--ff); text-transform: var(--tt); letter-spacing: var(--ls); font-size: clamp(24px, 2.4vw, 38px); line-height: 1.05; }
#id-brand .idb-font__chars { font-family: var(--ff); font-size: 18px; line-height: 1.5; color: var(--muted); letter-spacing: .06em; word-break: break-all; }
#id-brand .idb-font__notes { font-size: 15px; color: var(--muted); max-width: 60ch; padding-top: 14px; border-top: 1px solid var(--line); }
#id-brand .idb-font__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: auto; padding-top: 8px; }
#id-brand .idb-font__alt { width: 100%; font-size: 14px; color: var(--muted); }
#id-brand .idb-font__alt a { color: var(--fg); border-bottom: 1px solid var(--yellow); display: inline-flex; align-items: center; gap: 2px; }
#id-brand .idb-font__alt .idb-ico { width: .95em; height: .95em; }

#id-brand .idb-tester { margin-top: clamp(16px, 2vw, 28px); border: 1px solid var(--line); }
#id-brand .idb-tester__bar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; border-bottom: 1px solid var(--line); }
#id-brand .idb-tester__field, #id-brand .idb-tester__size { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px; }
#id-brand .idb-tester__size { border-left: 1px solid var(--line); }
#id-brand .idb-tester__size output { color: var(--fg); margin-left: 6px; font-variant-numeric: tabular-nums; }
#id-brand .idb-tester input[type="text"] {
	appearance: none; border: 0; background: transparent; padding: 0; margin: 0; height: auto; border-radius: 0; box-shadow: none;
	font-size: 22px; color: var(--fg); outline: none; width: 100%;
}
#id-brand .idb-tester input[type="text"]:focus-visible { box-shadow: 0 2px 0 var(--yellow); }
#id-brand .idb-tester input[type="range"] { appearance: none; -webkit-appearance: none; width: 100%; height: 2px; background: var(--line-strong); margin: 14px 0 6px; border: 0; padding: 0; }
#id-brand .idb-tester input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); cursor: grab; }
#id-brand .idb-tester input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); cursor: grab; }
#id-brand .idb-tester__row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px; border-top: 1px solid var(--line); }
#id-brand .idb-tester__row:first-child { border-top: 0; }
#id-brand .idb-tester__tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
#id-brand .idb-tester__text { font-family: var(--ff); text-transform: var(--tt); letter-spacing: var(--ls); font-size: var(--size); line-height: 1.02; overflow-wrap: break-word; min-height: 1em; }

#id-brand .idb-scale { margin-top: clamp(64px, 8vw, 112px); }
#id-brand .idb-scale__row { display: grid; grid-template-columns: 160px minmax(0, 1fr) 280px; gap: 24px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); }
#id-brand .idb-scale__row:last-child { border-bottom: 1px solid var(--line); }
#id-brand .idb-scale__label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
#id-brand .idb-scale__spec { font-size: 13px; color: var(--faint); text-align: right; }
#id-brand .idb-scale__sample--display { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: var(--display-ls); font-size: clamp(38px, 4.6vw, 76px); line-height: .95; }
#id-brand .idb-scale__sample--headline { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: var(--display-ls); font-size: clamp(30px, 3vw, 48px); line-height: .95; }
#id-brand .idb-scale__sample--subhead { font-weight: 600; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; }
#id-brand .idb-scale__sample--body { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 60ch; }
#id-brand .idb-scale__sample--label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

/* ==========================================================================
   04 PHOTOGRAPHY
   ========================================================================== */
#id-brand .idb-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(48px, 6vw, 80px); }
#id-brand .idb-principles li { border-top: 1px solid var(--line-strong); padding-top: 18px; display: grid; gap: 10px; }
#id-brand .idb-principles h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 500; line-height: 1.2; }
#id-brand .idb-principles p { color: var(--muted); font-size: 15px; }

#id-brand .idb-gallery { columns: 3 300px; column-gap: 14px; }
#id-brand .idb-photo { break-inside: avoid; margin-bottom: 14px; position: relative; overflow: hidden; background: var(--surface); }
#id-brand .idb-photo[data-reveal] { opacity: 1; transform: none; }
#id-brand .idb-photo[data-reveal] .idb-photo__open { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-io); transition-delay: calc(var(--i) * 90ms); }
#id-brand .idb-photo[data-reveal].is-in .idb-photo__open { clip-path: inset(0 0 0 0); }
#id-brand .idb-photo__open { display: block; width: 100%; cursor: zoom-in; }
#id-brand .idb-photo img { width: 100%; height: auto; transform: scale(1.08); transition: transform 1.2s var(--ease); }
#id-brand .idb-photo.is-in img { transform: scale(1); }
#id-brand .idb-photo:hover img { transform: scale(1.04); }
#id-brand .idb-photo__cap {
	position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 12px;
	padding: 40px 14px 14px; color: #fff; font-size: 13px; line-height: 1.35;
	background: linear-gradient(transparent, rgba(16, 14, 18, .82));
	opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none;
}
#id-brand .idb-photo:hover .idb-photo__cap, #id-brand .idb-photo:focus-within .idb-photo__cap { opacity: 1; transform: none; }
#id-brand .idb-photo__num { font-size: 11px; letter-spacing: .16em; color: var(--yellow); font-variant-numeric: tabular-nums; padding-bottom: 2px; }
#id-brand .idb-photo__text { flex: 1; }
#id-brand .idb-photo__dl {
	pointer-events: auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
	background: var(--yellow); color: var(--ink); transition: transform .3s var(--ease);
}
#id-brand .idb-photo__dl:hover { transform: scale(1.1); }
@media (hover: none) { #id-brand .idb-photo__cap { opacity: 1; transform: none; } }
#id-brand .idb-gallery__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
#id-brand .idb-gallery__foot p { color: var(--muted); font-size: 14px; }

/* lightbox */
#id-brand .idb-lightbox {
	position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
	background: rgba(16, 14, 18, .96); color: #fff; display: none; grid-template-rows: 1fr auto; overflow: hidden;
}
#id-brand .idb-lightbox[open] { display: grid; animation: idbFade .35s ease; }
#id-brand .idb-lightbox::backdrop { background: rgba(16, 14, 18, .7); }
#id-brand .idb-lightbox__frame { display: grid; place-items: center; padding: clamp(16px, 4vw, 56px) clamp(16px, 4vw, 56px) 0; min-height: 0; }
#id-brand .idb-lightbox__frame img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; animation: idbZoom .45s var(--ease); }
#id-brand .idb-lightbox__bar { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 18px clamp(16px, 4vw, 56px) 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
#id-brand .idb-lightbox__count { font-size: 12px; letter-spacing: .16em; color: var(--yellow); font-variant-numeric: tabular-nums; }
#id-brand .idb-lightbox__cap { color: rgba(255, 255, 255, .78); font-size: 15px; }
#id-brand .idb-lightbox__ctrl { display: flex; gap: 8px; align-items: center; }
#id-brand .idb-lightbox .idb-btn--brand { color: var(--ink); }

/* ==========================================================================
   05 VOICE
   ========================================================================== */
#id-brand .idb-traits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(64px, 8vw, 112px); }
#id-brand .idb-trait { padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px) clamp(28px, 3vw, 44px); border-left: 1px solid var(--line); display: grid; gap: 14px; align-content: start; position: relative; cursor: default; outline-offset: -2px; }
#id-brand .idb-trait:first-child { border-left: 0; padding-left: 0; }
#id-brand .idb-trait::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
#id-brand .idb-trait:hover::after, #id-brand .idb-trait:focus-visible::after { transform: scaleX(1); }
#id-brand .idb-trait__word { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: var(--display-ls); font-size: clamp(40px, 4.4vw, 84px); line-height: .9; white-space: nowrap; }
#id-brand .idb-trait__dot { color: var(--yellow); }
.light-theme #id-brand .idb-trait__dot { color: #E0C620; }
#id-brand .idb-trait p { color: var(--muted); font-size: 15px; max-width: 30ch; }

#id-brand .idb-voice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
#id-brand .idb-voice__rules ol { border-top: 1px solid var(--line); }
#id-brand .idb-voice__rules li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
#id-brand .idb-voice__rules .idb-n { padding-top: 5px; }
#id-brand .idb-voice__rules h4 { font-size: 18px; font-weight: 500; line-height: 1.3; margin-bottom: 4px; }
#id-brand .idb-voice__rules p { color: var(--muted); font-size: 15px; }

#id-brand .idb-samples { position: sticky; top: 130px; }
#id-brand .idb-samples__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
#id-brand .idb-samples__tabs button { font-size: 13px; font-weight: 500; padding: 9px 15px; border-radius: 33px; border: 1px solid var(--line-strong); color: var(--muted); transition: all .25s; }
#id-brand .idb-samples__tabs button:hover { color: var(--fg); border-color: var(--fg); }
#id-brand .idb-samples__tabs button[aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
#id-brand .idb-samples__screen {
	--mx: 50%; --my: 50%;
	position: relative; border: 1px solid var(--line); background: var(--surface); padding: 0 0 22px; overflow: hidden;
}
#id-brand .idb-samples__screen::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 234, 90, .08), transparent 60%); }
#id-brand .idb-samples__chrome { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
#id-brand .idb-samples__len { margin-left: auto; color: var(--faint); font-variant-numeric: tabular-nums; }
#id-brand .idb-samples__text { padding: 28px 22px 24px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; min-height: 9.5em; position: relative; }
#id-brand .idb-samples__text .idb-caret { height: 1em; width: .45em; }
#id-brand .idb-samples__screen .idb-btn { margin-left: 22px; }

#id-brand .idb-boiler { margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line-strong); padding-top: 24px; }
#id-brand .idb-boiler__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
#id-brand .idb-boiler__head .idb-subhead { margin: 0; }
#id-brand .idb-boiler blockquote { font-size: clamp(22px, 2.2vw, 34px); line-height: 1.35; max-width: 42ch; }

/* ==========================================================================
   06 KIT (yellow band)
   ========================================================================== */
#id-brand .idb-kit {
	--fg: #1D191F; --muted: rgba(29, 25, 31, .72); --line: rgba(29, 25, 31, .22);
	background: var(--yellow); color: var(--ink); padding-block: clamp(88px, 11vw, 176px); position: relative; overflow: hidden;
}
#id-brand .idb-kit :focus-visible { outline-color: var(--ink); }
#id-brand .idb-kit__num { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
#id-brand .idb-kit__title { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: var(--display-ls); font-size: clamp(72px, 13.5vw, 236px); line-height: .86; margin: 18px 0 clamp(40px, 5vw, 72px); }
#id-brand .idb-kit__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
#id-brand .idb-kit__list { border-top: 1px solid var(--ink); }
#id-brand .idb-kit__list a {
	display: grid; grid-template-columns: minmax(140px, .7fr) minmax(0, 1.3fr) auto 28px; gap: 20px; align-items: center;
	padding: 22px 16px; border-bottom: 1px solid var(--ink); position: relative; isolation: isolate; transition: color .3s;
}
#id-brand .idb-kit__list a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); }
#id-brand .idb-kit__list a:hover, #id-brand .idb-kit__list a:focus-visible { color: var(--yellow); }
#id-brand .idb-kit__list a:hover::before, #id-brand .idb-kit__list a:focus-visible::before { transform: scaleY(1); }
#id-brand .idb-kit__name { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: var(--display-ls); font-size: clamp(24px, 2.2vw, 36px); line-height: 1; }
#id-brand .idb-kit__desc { font-size: 15px; opacity: .8; }
#id-brand .idb-kit__meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; white-space: nowrap; }
#id-brand .idb-kit__list .idb-ico { width: 24px; height: 24px; }
#id-brand .idb-kit__contact { border: 1px solid var(--ink); padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 14px; justify-items: start; }
#id-brand .idb-kit__contact h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.15; }
#id-brand .idb-kit__contact p { font-size: 16px; color: rgba(29, 25, 31, .78); }

/* toast */
#id-brand .idb-toast {
	position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
	display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 33px;
	background: #fff; color: #1D191F; font-size: 14px; font-weight: 500; box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
	transition: opacity .3s, transform .4s var(--ease);
}
#id-brand .idb-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
#id-brand .idb-toast__chip { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
#id-brand .idb-toast b { font-variant-numeric: tabular-nums; font-weight: 600; }

/* ==========================================================================
   KEYFRAMES
   ========================================================================== */
@keyframes idbRise { to { transform: translateY(0); } }
@keyframes idbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes idbSpin { to { transform: rotate(360deg); } }
@keyframes idbPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 234, 90, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 234, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 234, 90, 0); } }
@keyframes idbBlink { 50% { opacity: 0; } }
@keyframes idbGlow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6%, 8%) scale(1.12); } }
@keyframes idbScan { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 1; transform: translateX(430%); } }
@keyframes idbRipple { 0% { opacity: .9; transform: scale(0); } 100% { opacity: 1; transform: scale(60); } }
@keyframes idbZoom { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
	#id-brand .idb-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#id-brand .idb-traits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#id-brand .idb-trait:nth-child(3) { border-left: 0; padding-left: 0; }
	#id-brand .idb-trait:nth-child(n+3) { border-top: 1px solid var(--line); }
	#id-brand .idb-rules { grid-template-columns: 1fr; }
	#id-brand .idb-scale__row { grid-template-columns: 120px minmax(0, 1fr); }
	#id-brand .idb-scale__spec { grid-column: 2; text-align: left; }
}
@media (max-width: 900px) {
	#id-brand .idb-hero__inner { grid-template-columns: 1fr; }
	#id-brand .idb-hero__visual { order: -1; }
	#id-brand .idb-mark { width: min(70vw, 360px); }
	#id-brand .idb-index ol { grid-template-columns: repeat(3, 1fr); }
	#id-brand .idb-font { grid-template-columns: 1fr; }
	#id-brand .idb-font__specimen { border-right: 0; border-bottom: 1px solid var(--line); min-height: 280px; }
	#id-brand .idb-tester__bar { grid-template-columns: 1fr; }
	#id-brand .idb-tester__size { border-left: 0; border-top: 1px solid var(--line); }
	#id-brand .idb-tester__row { grid-template-columns: 1fr; gap: 8px; }
	#id-brand .idb-principles { grid-template-columns: 1fr; }
	#id-brand .idb-voice { grid-template-columns: 1fr; }
	#id-brand .idb-samples { position: static; }
	#id-brand .idb-contrast { grid-template-columns: 1fr; gap: 14px; }
	#id-brand .idb-contrast .idb-subhead { padding-top: 0; }
	#id-brand .idb-kit__grid { grid-template-columns: 1fr; }
	#id-brand .idb-kit__list a { grid-template-columns: 1fr auto 24px; }
	#id-brand .idb-kit__desc { grid-column: 1 / -1; grid-row: 2; }
	#id-brand .idb-lightbox__bar { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 600px) {
	#id-brand { font-size: 16px; }
	#id-brand .idb-hero { padding-top: 32px; }
	#id-brand .idb-hero__title { font-size: clamp(36px, 11.2vw, 60px); }
	#id-brand .idb-index ol { grid-template-columns: repeat(2, 1fr); }
	#id-brand .idb-index a { padding: 16px 0 18px; }
	#id-brand .idb-ratio__label em { display: none; }
	#id-brand .idb-swatches { grid-template-columns: 1fr; }
	#id-brand .idb-swatch__chip { min-height: 220px; }
	#id-brand .idb-misuse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#id-brand .idb-traits { grid-template-columns: 1fr; }
	#id-brand .idb-trait { border-left: 0; padding-left: 0; }
	#id-brand .idb-trait + .idb-trait { border-top: 1px solid var(--line); }
	#id-brand .idb-scale__row { grid-template-columns: 1fr; gap: 8px; }
	#id-brand .idb-scale__spec { grid-column: 1; }
	#id-brand .idb-files { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#id-brand .idb-actions .idb-btn { width: 100%; justify-content: center; }
	#id-brand .idb-boiler__head { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	#id-brand *, #id-brand *::before, #id-brand *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	#id-brand .idb-mark__orbit, #id-brand .idb-hero__glow { animation: none !important; }
	html:has(#id-brand) { scroll-behavior: auto; }
}
