/* Brandkit — editorial UI. Brand-specific colours/fonts arrive as --b-* custom properties on #package. */

:root {
  --paper: #f3eee5;
  --paper-2: #ebe4d6;
  --card: #fbf8f2;
  --ink: #16130f;
  --ink-2: #3a342b;
  --muted: #6f675a;
  --line: rgba(22, 19, 15, 0.12);
  --line-2: rgba(22, 19, 15, 0.22);
  --accent: #c8461f;
  --accent-text: #b33d1a; /* the accent as small text: 4.5:1 on --paper, --paper-2 and --card (#c8461f is 4.2:1) */
  --accent-soft: #f1d9c9;
  --focus: #2a5bd7;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(22, 19, 15, 0.06), 0 8px 24px -8px rgba(22, 19, 15, 0.14);
  --shadow-lg: 0 2px 4px rgba(22, 19, 15, 0.06), 0 30px 60px -20px rgba(22, 19, 15, 0.32);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 0 0.05 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }
code { font-family: var(--mono); font-size: 0.86em; }
kbd {
  font: 500 11px/1 var(--mono);
  padding: 3px 6px 2px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--card);
}
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* ----------------------------------------------------------- shared bits */

.kicker {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: 500 15px/1 var(--sans); letter-spacing: -0.005em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn:hover { --bd: var(--ink); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.btn-primary { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn-primary:hover:not(:disabled) { --bg: #000; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.btn-ghost { --bg: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { --bg: var(--card); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn span[aria-hidden] { transition: transform 0.25s var(--ease); }
.btn:hover:not(:disabled) span[aria-hidden] { transform: translateX(3px); }
.btn[data-action="back"]:hover span[aria-hidden] { transform: translateX(-3px); }
.link-btn {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font: 500 13px/1.2 var(--sans); color: var(--ink-2);
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px;
}
.link-btn:hover { text-decoration-color: currentColor; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:active { transform: scale(0.94); }
.spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- topbar */

.topbar {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
}
.brandmark { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brandmark svg { width: 99px; height: 28px; } /* the lockup from public/brand/, trimmed to its ink */
.topbar-note { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.topbar-note strong { color: var(--ink); font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 0 3px var(--accent-soft); }
body[data-view="package"] .topbar { padding-bottom: 6px; }

/* --------------------------------------------------------------- landing */

#landing {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex; align-items: center;
}
#landing::before {
  content: ''; position: absolute; inset: -70px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 82% 30%, rgba(200, 70, 31, 0.13), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(42, 91, 215, 0.07), transparent 70%);
}
.hero {
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) var(--gutter) 64px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.hero-title {
  margin-top: 22px;
  font: 400 clamp(52px, 8.4vw, 124px)/0.92 var(--serif);
  letter-spacing: -0.025em;
}
.hero-title em { color: var(--accent); }
.hero-lede { margin-top: 28px; max-width: 34em; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-2); }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-meta { font-size: 13px; color: var(--muted); }
.hero-index {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(6, auto); gap: 0; justify-content: start;
  border-top: 1px solid var(--line);
}
.hero-index li {
  padding: 14px 22px 0 0; font-size: 13px; color: var(--ink-2);
  display: flex; flex-direction: column; gap: 6px;
}
.hero-index span { font: 500 11px/1 var(--mono); color: var(--muted); }
.hero-stage { margin: 0; position: relative; }
.stage-card {
  --stage-bg: #fff; --stage-ink: var(--ink);
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
  background: var(--stage-bg);
  box-shadow: var(--shadow-lg);
  transition: background-color 0.9s var(--ease);
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.stage-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.35), transparent 40%);
}
.stage-logo {
  position: absolute; inset: 14% 12%;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(10px) scale(0.98); filter: blur(4px);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease), filter 0.8s var(--ease);
}
.stage-logo.on { opacity: 1; transform: none; filter: none; }
.stage-logo svg { width: 100%; height: 100%; }
.stage-swatches { display: flex; gap: 6px; margin: 22px 0 0 6px; }
.stage-swatches span { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); transition: background-color 0.8s var(--ease); }
.stage-caption {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 14px 6px 0; font: 400 12px/1.4 var(--mono); color: var(--muted);
}
.stage-caption span:first-child { color: var(--ink); }

/* ---------------------------------------------------------------- wizard */

.wiz {
  max-width: 1320px; margin: 0 auto;
  padding: clamp(16px, 4vw, 48px) var(--gutter) 80px;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 96px); align-items: start;
}
.wiz-bars { display: flex; gap: 6px; }
.wiz-bars span { flex: 1; height: 3px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.wiz-bars span::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.wiz-bars span.done::after, .wiz-bars span.now::after { transform: scaleX(1); }
.wiz-bars span.now::after { background: var(--accent); }
.wiz-form { margin-top: clamp(28px, 6vh, 64px); }
.wiz-form.enter > * { animation: rise 0.6s var(--ease) both; }
.wiz-form.enter > *:nth-child(2) { animation-delay: 0.04s; }
.wiz-form.enter > *:nth-child(3) { animation-delay: 0.09s; }
.wiz-form.enter > *:nth-child(4) { animation-delay: 0.13s; }
.wiz-form.enter > *:nth-child(5) { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.q-step { display: flex; align-items: baseline; gap: 14px; font: 500 13px/1 var(--mono); color: var(--muted); }
.q-num { font: 400 15px/1 var(--mono); color: var(--accent-text); }
.q-label {
  margin-top: 18px; max-width: 14em;
  font: 400 clamp(40px, 6vw, 80px)/1 var(--serif); letter-spacing: -0.02em;
}
.field { margin-top: clamp(28px, 5vh, 48px); max-width: 760px; }
.q-input {
  width: 100%; padding: 6px 0 14px;
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent;
  font: 400 clamp(24px, 3vw, 34px)/1.2 var(--sans); letter-spacing: -0.015em; color: var(--ink);
  transition: border-color 0.2s;
}
.q-input-xl { font: 400 clamp(40px, 6vw, 72px)/1.1 var(--serif); letter-spacing: -0.02em; }
.q-input::placeholder { color: rgba(22, 19, 15, 0.22); }
.q-input:focus { outline: none; border-bottom-color: var(--accent); }
.q-input:focus-visible { outline: none; }
.field-foot { margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.count { font: 400 12px/1.6 var(--mono); }

.choices {
  margin-top: clamp(28px, 5vh, 44px);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px;
  max-width: 820px;
}
.choices-dense { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.choice {
  position: relative; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px; justify-content: flex-start;
  padding: 16px 44px 16px 16px; min-height: 76px;
  border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.45);
  transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.choice:hover { border-color: var(--ink); background: var(--card); transform: translateY(-2px); box-shadow: var(--shadow); }
.choice[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.choice-key {
  position: absolute; right: 14px; top: 16px;
  font: 500 11px/1 var(--mono); color: var(--muted);
  width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; border: 1px solid var(--line-2);
  transition: opacity 0.2s;
}
.choice-key:empty { display: none; }
.choice[aria-pressed="true"] .choice-key { opacity: 0; }
.choice[aria-pressed="true"] .choice-key { color: var(--paper); border-color: rgba(255, 255, 255, 0.3); }
.choice-label { font: 500 17px/1.25 var(--sans); letter-spacing: -0.01em; }
.choice-hint { font-size: 13px; line-height: 1.4; color: var(--muted); }
.choice[aria-pressed="true"] .choice-hint { color: rgba(243, 238, 229, 0.7); }
.choice-tick {
  position: absolute; right: 14px; top: 16px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff;
  opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.3s var(--ease);
}
.choice-tick svg { width: 13px; height: 13px; }
.choice[aria-pressed="true"] .choice-tick { opacity: 1; transform: none; }
.shake { animation: shake 0.35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.wiz-nav { margin-top: clamp(32px, 6vh, 56px); display: flex; justify-content: space-between; gap: 12px; max-width: 820px; }

.wiz-aside { position: sticky; top: 24px; }
.sketch {
  --sk-bg: var(--card); --sk-ink: var(--ink);
  border-radius: var(--r-lg); background: var(--sk-bg); box-shadow: var(--shadow-lg);
  transition: background-color 0.6s var(--ease); overflow: hidden;
  transform: rotate(1deg);
}
.sketch-logo { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 14% 12%; }
.sketch-logo svg { width: 100%; height: 100%; animation: fadein 0.5s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: scale(0.97); } }
.sketch-empty { font: italic 400 28px/1.1 var(--serif); color: rgba(22, 19, 15, 0.3); text-align: center; }
.sketch.empty .sketch-logo { background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(22, 19, 15, 0.025) 10px 11px); }
.sketch-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; border-top: 1px solid rgba(0, 0, 0, 0.07); background: rgba(255, 255, 255, 0.4);
}
.sketch-dots { display: flex; gap: 4px; }
.sketch-dots span { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.sketch-note { font: 400 11px/1.3 var(--mono); color: rgba(22, 19, 15, 0.64); text-align: right; white-space: nowrap; }

/* --------------------------------------------------------------- loading */

#loading { min-height: calc(100vh - 70px); display: grid; place-items: center; }
.load { width: 100%; max-width: 760px; padding: 24px var(--gutter) 80px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: 0.45; } }
.load-title { margin-top: 20px; font: 400 clamp(36px, 5vw, 64px)/1.02 var(--serif); letter-spacing: -0.02em; }
.load-title em { color: var(--accent); }
.load-title:focus { outline: none; }
.load-rows { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.load-row {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) 90px 44px; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.lr-fam { font: 500 12px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.lr-pick { font: 400 24px/1.1 var(--serif); color: rgba(22, 19, 15, 0.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; filter: blur(0.6px); }
.locked .lr-pick { color: var(--ink); filter: none; animation: lock 0.5s var(--ease); }
@keyframes lock { from { transform: translateY(6px); opacity: 0; } }
.lr-bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.lr-bar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width 0.8s var(--ease); }
.lr-conf { font: 400 12px/1 var(--mono); color: var(--muted); text-align: right; }
.load-note { margin-top: 22px; min-height: 1.5em; font-size: 14px; color: var(--muted); }
#load-continue { margin-top: 16px; }

/* --------------------------------------------------------------- package */

#package {
  --b-primary: #222; --b-secondary: #888; --b-accent: #c8461f; --b-ink: #111; --b-paper: #fff; --b-muted: #999;
  --b-display: var(--serif); --b-text: var(--sans); --b-dw: 400; --b-tw: 400; --b-track: normal;
  padding-bottom: 40px;
}
.pkg-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter);
  background: rgba(243, 238, 229, 0.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.pkg-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pkg-nav::-webkit-scrollbar { display: none; }
.pkg-nav a {
  flex: none; padding: 8px 12px; border-radius: 999px;
  font: 500 13px/1 var(--sans); color: var(--ink-2); text-decoration: none;
}
.pkg-nav a:hover { background: var(--paper-2); color: var(--ink); }
.pkg-actions { display: flex; gap: 8px; flex: none; }

.pkg-hero {
  margin: 20px var(--gutter) 0; border-radius: 28px;
  background: var(--b-paper); color: var(--b-ink);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
  container-type: inline-size;
}
.pkg-hero::before {
  content: ''; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--b-secondary) 30%, transparent), transparent);
  pointer-events: none;
}
.pkg-hero-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.pkg-hero .kicker { color: color-mix(in srgb, var(--b-ink) 60%, transparent); }
.pkg-title {
  margin-top: 12px;
  font-family: var(--b-display); font-weight: var(--b-dw); letter-spacing: var(--b-track);
  font-size: min(clamp(36px, 5vw, 64px), calc(86cqw / var(--word-em, 6)));
  line-height: 1.02; overflow-wrap: break-word;
}
.pkg-title:focus, .pkg-sec[tabindex="-1"]:focus { outline: none; }
.pkg-title.is-quiet { font: 500 13px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.pkg-tagline { margin-top: 12px; max-width: 34em; font: var(--b-tw) clamp(16px, 1.4vw, 19px)/1.5 var(--b-text); color: color-mix(in srgb, var(--b-ink) 75%, transparent); }
.pkg-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.jev-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  font: 400 12px/1.2 var(--mono); background: rgba(255, 255, 255, 0.55); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
/* Demo mode: Jev's internal numbers stay visible but are marked as such (owner, 2026-10-04). */
.demo-tag { display: inline-block; margin-left: 0.5em; padding: 0.05em 0.45em; border: 1px dashed currentColor; border-radius: 999px; font-size: 0.72em; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; vertical-align: 0.1em; line-height: 1.4; }
.demo-val { border-bottom: 1px dashed currentColor; opacity: 0.8; }
.jev-chip .dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(200, 70, 31, 0.18); }
.jev-chip.quiet .dot { background: #8a8f98; box-shadow: 0 0 0 3px rgba(138, 143, 152, 0.2); }
.pkg-meta .link-btn { color: var(--b-ink); }
.hero-logo {
  position: relative;
  margin: clamp(24px, 5vw, 56px) auto clamp(12px, 3vw, 32px);
  width: min(100%, 760px);
  display: grid; place-items: center;
}
.hero-logo svg { width: 100%; height: auto; max-height: clamp(160px, 30vw, 360px); }
.hero-logo-cap { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font: 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: color-mix(in srgb, var(--b-ink) 55%, transparent); }

.pkg-sec { max-width: 1320px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 0; }
.sec-head {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 24px; align-items: baseline;
  padding-top: 20px; border-top: 1px solid var(--ink); margin-bottom: clamp(24px, 4vw, 40px);
}
.sec-num { font: 400 13px/1 var(--mono); color: var(--accent-text); }
.sec-head h2 { font: 400 clamp(36px, 4.4vw, 56px)/1 var(--serif); letter-spacing: -0.02em; }
.sec-lede { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 36em; }

/* lockups */
.lockups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lockup { margin: 0; border-radius: var(--r-lg); background: var(--tile); color: var(--tile-fg); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07); }
.lockup-art { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 6%; }
.lockup-art > svg { width: 56%; height: 56%; }
.lockup.sq .lockup-art > svg { width: 36%; height: 36%; }
.icon-sizes { display: flex; align-items: flex-end; gap: 22px; }
.icon-sizes span { display: block; flex: none; }
.icon-sizes svg { width: 100%; height: 100%; }
.lockup.small .lockup-art { padding: 10%; }
.lockup figcaption {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px;
  font: 400 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.06em;
  border-top: 1px solid color-mix(in srgb, var(--tile-fg) 14%, transparent);
}
.lockup figcaption span:last-child { opacity: 0.6; }

/* tune */
.tune-list { border-top: 1px solid var(--line); }
.tune-row {
  display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 12px 24px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.tune-label { display: flex; flex-direction: column; gap: 6px; }
.tune-fam { font: 500 15px/1.2 var(--sans); }
.tune-tag { font: 400 11px/1.2 var(--mono); color: var(--accent-text); }
.tune-tag.mine { color: var(--muted); }
.tune-current { display: flex; align-items: center; gap: 16px; min-width: 0; }
.tune-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tune-text strong { font: 400 24px/1.1 var(--serif); letter-spacing: -0.01em; }
.tune-text span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.tune-ctrl { display: flex; align-items: center; gap: 8px; }
.tune-pos { font: 400 11px/1 var(--mono); color: var(--muted); min-width: 34px; text-align: center; }
.picker { grid-column: 1 / -1; animation: rise 0.4s var(--ease); }
.picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; padding: 4px 0 8px; }
.picker-grid.wide { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.pick {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: left; cursor: pointer;
  padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.4);
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.pick:hover { border-color: var(--ink); background: var(--card); transform: translateY(-1px); }
.pick[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--card); }
.pick-label { font: 500 13px/1.25 var(--sans); padding: 0 4px 2px; }
.pick-label em { display: block; font: 400 10px/1.4 var(--mono); font-style: normal; color: var(--accent-text); }
.thumb {
  flex: none; display: grid; place-items: center; overflow: hidden;
  height: 64px; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.thumb.big { width: 104px; height: 64px; }
.th-logo { padding: 8px 10px; }
.th-logo svg { width: 100%; height: 100%; }
.th-dir { position: relative; padding-bottom: 12px; }
.th-dir i { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; }
.th-pal { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 0; padding: 0; }
.th-pal i { display: block; height: 100%; }
.th-pal { place-items: stretch; }
.th-type { font-size: 34px; line-height: 1; }
.th-voice { font: italic 400 17px/1.1 var(--serif); padding: 0 6px; text-align: center; color: var(--ink-2); overflow-wrap: normal; white-space: nowrap; overflow: hidden; }
.thumb.big.th-voice { font-size: clamp(13px, 1.4vw, 17px); }
@media (max-width: 640px) { .th-voice { font-size: 13px; padding: 0 3px; } }

/* colour */
.ratio { display: flex; height: 18px; border-radius: 999px; overflow: hidden; margin-bottom: 20px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.ratio span { display: block; }
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.swatch {
  display: flex; flex-direction: column; text-align: left; cursor: pointer; padding: 0;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.swatch:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sw-chip { position: relative; height: 150px; display: flex; align-items: flex-end; justify-content: space-between; padding: 14px 16px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06); }
.sw-aa { font-size: 44px; line-height: 0.9; }
.sw-copy { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; opacity: 0; transition: opacity 0.2s; }
.swatch:hover .sw-copy, .swatch:focus-visible .sw-copy { opacity: 0.85; }
.sw-body { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px 16px; }
.sw-role { font: 500 15px/1.2 var(--sans); text-transform: capitalize; }
.sw-hex { font: 500 13px/1.2 var(--mono); text-align: right; }
.sw-rgb { grid-column: 2; grid-row: 2; font: 400 11px/1.3 var(--mono); color: var(--muted); text-align: right; }
.sw-note { grid-column: 1; grid-row: 2; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.sw-contrast { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font: 400 11px/1.5 var(--mono); }
.sw-contrast em { font-style: normal; color: var(--muted); }
.sw-contrast b { font-weight: 500; padding: 1px 6px; border-radius: 4px; margin-left: 2px; }
.g-aaa, .g-aa { background: #dcebdc; color: #1d5b2a; }
.g-aa { background: #e5eedb; color: #3b5a1c; }
.g-decorative { background: #efe6dc; color: #7a5a3a; }

/* type */
.spec { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); }
.spec-hero { display: flex; flex-direction: column; gap: 24px; container-type: inline-size; }
.spec-aa {
  /* wide display faces (Dela Gothic, Unbounded) keep "Aa" inside its tile: capped by the tile width / the pair's width in em */
  font-size: min(clamp(120px, 16vw, 240px), calc((100cqw - 56px) / var(--aa-em, 1.3))); line-height: 0.85; color: var(--b-primary); overflow: hidden;
  padding: 24px; border-radius: var(--r-lg); background: var(--b-paper); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.spec-meta { margin: 0; display: grid; gap: 12px; }
.spec-meta div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.spec-meta dt { font: 400 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.spec-meta dd { margin: 0; font-weight: 500; text-align: right; }
.spec-meta dd span { font: 400 12px var(--mono); color: var(--muted); margin-left: 6px; }
.spec-scale { display: flex; flex-direction: column; min-width: 0; container-type: inline-size; }
.spec-scale .spec-name { font-size: min(clamp(40px, 7vw, 72px), calc((100cqw - 56px) / var(--word-em, 6))) !important; }
.spec-line { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec-line:first-child { padding-top: 0; }
.spec-line p { overflow-wrap: break-word; color: var(--ink); }
.spec-size { font: 400 11px/1 var(--mono); color: var(--muted); }
.spec-body { font-size: var(--b-body); line-height: 1.6; max-width: var(--b-measure); word-spacing: var(--b-tws); }
.spec-code { grid-column: 1 / -1; border-radius: var(--r); background: var(--ink); color: #e9e3d6; padding: 14px 18px 18px; }
.spec-code > summary { list-style: none; cursor: pointer; margin: 0; }
.spec-code > summary::-webkit-details-marker { display: none; }
.spec-code[open] > summary { margin-bottom: 12px; }
.code-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font: 400 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: #a69d8d; }
.spec-code .link-btn { color: #e9e3d6; text-decoration-color: rgba(233, 227, 214, 0.35); }
.spec-code code { display: block; font-size: 12.5px; line-height: 1.6; word-break: break-all; }

/* voice */
.voice { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }
.voice-quote {
  grid-row: span 2; margin: 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg);
  background: var(--b-primary); color: var(--b-on-primary);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 280px;
}
.voice-quote { container-type: inline-size; }
.voice-quote p { font-family: var(--b-display); font-weight: var(--b-dw); letter-spacing: var(--b-track); font-size: clamp(22px, var(--q-size, 6cqw), 9cqw); line-height: 1.08; overflow-wrap: break-word; }
.vq-lines p + p { margin-top: 0.45em; } /* two lines in one voice: one block, not two cards */
.voice-quote p::before { content: '“'; }
.voice-quote p::after { content: '”'; }
.voice-quote footer { font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.voice-traits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.voice-traits li { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font: 400 clamp(28px, 3vw, 38px)/1.1 var(--serif); }
.voice-traits span { font: 400 11px/1 var(--mono); color: var(--accent-text); }
.do-note { margin-top: 10px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.voice-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.voice-dos > div { padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.voice-dos h3 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.do h3 span { color: #2f7a40; }
.dont h3 span { color: var(--accent); }
.voice-dos ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; line-height: 1.4; }
.tone { grid-column: 1 / -1; }
.tone .sub-h { margin-top: 12px; }
.dial { display: grid; grid-template-columns: 110px 80px minmax(0, 1fr) 80px; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dial-l { font-weight: 600; font-size: 14px; }
.dial-lo, .dial-hi { font: 400 11px/1.2 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.dial-lo { text-align: right; }
.dial-bar { position: relative; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--line), var(--line-2)); }
.dial-bar i { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--b-primary); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line-2); }
.tone-note { margin-top: 14px; max-width: 46em; font-size: 13.5px; color: var(--ink-2); }
.dont li { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(200, 70, 31, 0.5); }

/* --------------------------------------------------------- guideline system */

.sub-h { margin: clamp(40px, 5vw, 64px) 0 16px; font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); display: flex; align-items: center; gap: 12px; }
.sub-h::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.sub-lede { margin: -4px 0 18px; max-width: 46em; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* cover band */
.pkg-hero::before { z-index: 0; }

/* tune */
.tune-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; margin-bottom: 18px; }
.tune-head h2 { font: 400 clamp(26px, 2.6vw, 34px)/1.1 var(--serif); letter-spacing: -0.015em; }
.tune-head p { font-size: 14px; color: var(--ink-2); max-width: 44em; }
.pkg-sec.tune { padding-top: clamp(40px, 5vw, 64px); }
.tune-toggle { display: none; }
.nav-tune { color: var(--accent-text) !important; }

/* essence */
.essence { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.ess-idea { grid-column: 1 / -1; max-width: 22em; font: 400 clamp(30px, 4vw, 54px)/1.08 var(--serif); letter-spacing: -0.02em; }
.ess-idea em { color: var(--accent); }
.ess-words { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ess-words li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ess-words span { font: 400 11px/1 var(--mono); color: var(--accent-text); }
.ess-words b { font: var(--b-dw) clamp(30px, 3.6vw, 46px)/1 var(--b-display); letter-spacing: var(--b-track-m); word-spacing: var(--b-dws); color: var(--b-primary); }
.ess-words i { grid-column: 2; font-style: normal; font-size: 13px; color: var(--muted); }
.ess-why .sub-h { margin-top: 0; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.why li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 2px 14px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.why-fam { font: 400 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.why b { font-weight: 600; font-size: 14.5px; }
.why-d { grid-column: 2; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.why-p { grid-row: 1; grid-column: 3; font: 400 11px/1 var(--mono); color: var(--accent-text); }

/* construction */
.construct { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.cs, .ms { margin: 0; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.cs-art { padding: clamp(18px, 3vw, 36px); background: var(--b-paper); display: grid; place-items: center; flex: 1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; }
.cs-art svg { width: 100%; height: auto; max-height: 300px; }
.cs figcaption, .ms figcaption { padding: 14px 18px 16px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); border-top: 1px solid var(--line); }
.cs figcaption b, .ms figcaption b { color: var(--ink); }
.ms-art { flex: 1; padding: clamp(18px, 3vw, 32px); background: var(--b-paper); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.ms-row { display: flex; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.ms-row:not(.ms-icons) { flex-wrap: nowrap; justify-content: flex-start; }
@media (max-width: 640px) { .ms-row:not(.ms-icons) { flex-wrap: wrap; } }
.spec-abc span { display: block; overflow-wrap: anywhere; }
.ms-item { display: flex; flex-direction: column; gap: 8px; flex: none; max-width: 100%; }
.ms-fig { display: block; }
.ms-fig svg { display: block; width: 100%; height: auto; } /* the logo at its true width; the caption may be wider */
.ms-item em, .ms-ic em { display: block; min-width: 6ch; margin-top: 2px; font: 400 10px/1 var(--mono); font-style: normal; color: color-mix(in srgb, var(--b-ink) 80%, var(--b-paper)); /* sits on the brand paper, which can be dark */ white-space: nowrap; }
.ms-icons { gap: 18px; }
.ms-ic { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; }
.ms-ic svg { width: 100%; height: 100%; }
.ms-ic { height: auto !important; }

/* motion */
.motion { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.motion-art { aspect-ratio: 16 / 9; border-radius: var(--r); background: var(--b-paper); display: grid; place-items: center; overflow: hidden; }
.motion-art svg { width: 62%; height: 62%; }
.motion p { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.motion code { font-size: 12px; }
.reveal-wipe > svg { animation: kit-wipe var(--m-ms, 900ms) var(--m-ease, cubic-bezier(0.2, 0, 0, 1)) 0.15s both; }
.reveal-settle > svg { animation: kit-settle var(--m-ms, 1000ms) var(--m-ease, cubic-bezier(0.05, 0.7, 0.1, 1)) 0.15s both; }
@keyframes kit-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes kit-settle { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }

/* misuse */
.misuse { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mis { margin: 0; }
.mis-art { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07); }
.mis-in { width: 52%; height: 52%; display: grid; place-items: center; }
.mis-in > svg, .mis-in > div, .mis-in > div > svg { width: 100%; height: 100%; }
.mis-stretch { transform: scale(1.55, 0.8); }
.mis-rotate { transform: rotate(-11deg); }
.mis-fx { filter: drop-shadow(3px 4px 3px rgba(0, 0, 0, 0.35)); }
.mis figcaption { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--ink-2); }
.mis-x { color: #c8281e; font-weight: 700; font-size: 12px; }

/* colour */
.ratio-cap { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: -10px 0 22px; font: 400 11px/1.4 var(--mono); color: var(--muted); }
.ramps { display: grid; gap: 14px; }
.ramp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.ramp-head b { font-weight: 600; font-size: 14px; }
.ramp-head span { font: 400 11px/1.3 var(--mono); color: var(--muted); }
.ramp-row { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.rstep { position: relative; border: 0; padding: 30px 8px 9px; min-width: 0; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px; font: 400 10px/1.2 var(--mono); transition: transform 0.2s var(--ease); }
.rstep span:first-child { font-weight: 500; font-size: 11px; }
.rstep span:last-child { opacity: 1; overflow: hidden; text-overflow: ellipsis; }
.rstep:hover { transform: translateY(-3px); z-index: 1; }
.rstep.seed::before { content: ''; position: absolute; top: 9px; left: 8px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ramp-guide { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ramp-guide div { padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 2px; }
.ramp-guide b { font: 500 12px/1.2 var(--mono); }
.ramp-guide span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pair { border-radius: var(--r); padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; min-height: 104px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.pair-aa { grid-row: span 2; font: var(--b-dw) 46px/1 var(--b-display); letter-spacing: var(--b-track); }
.pair-l { font: 500 14px/1.3 var(--b-text); }
.pair-l small { font: 400 11px/1.3 var(--mono); opacity: 0.75; }
.pair-c { font: 500 11px/1.2 var(--mono); }

/* type */
.hier { grid-column: 1 / -1; min-width: 0; overflow-x: auto; }
.hier .sub-h { margin-top: 8px; }
.hier-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.hier-t th { text-align: left; font: 400 10.5px/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 0 12px 10px 0; border-bottom: 1px solid var(--ink); }
.hier-t td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hier-t td:first-child { color: var(--ink); }
.tb-wrap { margin-top: 24px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--card); }
.tb-wrap > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-size: 15px; }
.tb-wrap > summary::-webkit-details-marker { display: none; }
.tb-sum-ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-size: 18px; transition: transform 0.3s var(--ease); }
.tb-wrap[open] .tb-sum-ic { transform: rotate(45deg); }
.tb-wrap .tb { padding: 0 22px 22px; }
.tb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.5); border-radius: 999px; padding: 7px 13px; font: 500 13px/1 var(--sans); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: background 0.2s, border-color 0.2s; }
.chip span { font: 400 11px/1 var(--mono); color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: rgba(243, 238, 229, 0.65); }
.tb-hint { margin: 14px 0 16px; font-size: 13px; color: var(--muted); }
.tb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tb-card {
  display: flex; flex-direction: column; gap: 10px; text-align: left; cursor: pointer; min-width: 0; container-type: inline-size;
  padding: 18px 18px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--b-paper); color: var(--b-ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.2s;
}
.tb-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.tb-card.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tb-spec { font-size: min(34px, calc(135cqw / var(--len, 10))); line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-text { font-size: 13.5px; line-height: 1.45; opacity: 0.78; }
.tb-meta { margin-top: auto; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--b-ink) 12%, transparent); font: 400 11px/1.4 var(--mono); color: color-mix(in srgb, var(--b-ink) 65%, transparent); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.tb-meta b { font-weight: 500; color: var(--b-ink); }
.tb-meta em { margin-left: auto; font-style: normal; color: var(--accent-text); }
.picker .tb { padding: 6px 0 10px; }

/* pattern, icons, materials */
.patterns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pat { margin: 0; display: flex; flex-direction: column; }
.pat-lg { grid-column: 1 / -1; }
.patterns.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pat-art { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.pat-lg .pat-art { aspect-ratio: 21 / 8; }
.pat-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pat figcaption { margin-top: 10px; display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.pat figcaption b { color: var(--ink); font-weight: 600; font-size: 14px; }
.icons { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.icon-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 18px 6px; padding: clamp(16px, 2.4vw, 26px); border-radius: var(--r-lg); background: var(--b-paper); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.icon-cell { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.icon-cell svg { width: 32px; height: 32px; }
.icon-cell em { font: 400 10px/1.2 var(--mono); font-style: normal; color: color-mix(in srgb, var(--b-ink) 60%, transparent); }
.icon-note { padding: 18px 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); display: grid; gap: 8px; }
.icon-note b { color: var(--ink); }
.materials { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mat { margin: 0; }
.mat-art { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center;
  background-color: var(--tone); background-image: var(--tex); background-size: 300px; background-blend-mode: multiply; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.mat-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 50%, rgba(0, 0, 0, 0.08)); }
.mat-mark { width: 32%; aspect-ratio: 1; mix-blend-mode: multiply; }
.mat-mark.is-deboss { mix-blend-mode: normal; opacity: 0.92; filter: drop-shadow(0.6px 0.8px 0 rgba(255, 255, 255, 0.75)) drop-shadow(-0.5px -0.6px 0 rgba(0, 0, 0, 0.22)); }
.mat-mark.is-screen { opacity: 0.9; }
.mat-mark svg { width: 100%; height: 100%; }
.mat figcaption { margin-top: 10px; display: grid; gap: 2px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.mat figcaption b { color: var(--ink); font-size: 13.5px; font-weight: 600; }

/* ---------------------------------------------------------------- mockups */
/* Scenes are procedural: CC0 textures (textures/) tinted with background-blend-mode, light from the
   top left, layered contact shadows, feTurbulence grain. Sizes inside a scene are in cqw. */

.mocks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.mock { margin: 0; grid-column: span 12; display: flex; flex-direction: column; min-width: 0; container-type: inline-size; }
.mock.m-7 { grid-column: span 7; }
.mock.m-6 { grid-column: span 6; }
.mock.m-hero { grid-column: 2 / span 10; }
@media (max-width: 920px) { .mock.m-6, .mock.m-hero { grid-column: span 12; } }
.m-slide.m-6 .sc-slide, .m-slide.m-hero .sc-slide { aspect-ratio: 3 / 2; }
/* photoreal plates: the canvas is the picture; no CSS light or grain on top */
.sc-plate { aspect-ratio: 3 / 2; background: #ece8e1; }
.sc-plate::before, .sc-plate::after { display: none; }
.sc-plate canvas, .sc-plate .plate-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; animation: fadein 0.6s var(--ease); }
.plate-wait { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(110deg, #ece8e1 30%, #f4f1ec 50%, #ece8e1 70%) 0 0 / 300% 100%; animation: plate-wait 1.6s linear infinite; }
.plate-wait span { font: 400 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #9a9184; }
@keyframes plate-wait { to { background-position: -300% 0; } }
.mock.m-5 { grid-column: span 5; }
.mock figcaption {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px;
  font: 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
}
.mock figcaption span:first-child { color: var(--ink); }

.scene {
  --tone: #e7e1d6; --tex: none; --tex-size: 420px;
  --sh: 0 0.08cqw 0.16cqw rgba(20, 14, 8, 0.2), 0.5cqw 0.9cqw 1.3cqw -0.3cqw rgba(30, 20, 10, 0.26), 1.8cqw 3.4cqw 4.6cqw -1.4cqw rgba(30, 20, 10, 0.32);
  position: relative; overflow: hidden; isolation: isolate; container-type: inline-size;
  flex: 1; border-radius: 18px;
  background-color: var(--tone); background-image: var(--tex); background-size: var(--tex-size); background-blend-mode: multiply;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
/* light: a warm key from the top left, falloff to the bottom right */
.scene::before {
  content: ''; position: absolute; inset: 0; z-index: 20; pointer-events: none;
  background:
    radial-gradient(110% 80% at 12% -5%, rgba(255, 250, 240, 0.34), transparent 58%),
    radial-gradient(90% 90% at 105% 110%, rgba(20, 12, 4, 0.26), transparent 62%);
}
/* grain */
.scene::after {
  content: ''; position: absolute; inset: 0; z-index: 21; pointer-events: none; opacity: 0.55; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* window light falling across the set */
.scene .light {
  position: absolute; inset: -10%; z-index: 19; pointer-events: none; mix-blend-mode: multiply; opacity: 0.7;
  background: linear-gradient(118deg, transparent 0 46%, rgba(40, 28, 12, 0.1) 46.5% 58%, transparent 58.5% 61%, rgba(40, 28, 12, 0.1) 61.5% 73%, transparent 73.5%);
  filter: blur(14px);
}
.obj { position: absolute; box-shadow: var(--sh); }
.sheet, .bc, .st-env {
  background-color: var(--b-paper); background-image: url(textures/paper.jpg); background-size: 560px; background-blend-mode: multiply;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(0, 0, 0, 0.08), var(--sh);
}
.st-letter { background-position: 40% 12%; } .st-env { background-position: 77% 60%; } .st-front { background-position: 13% 85%; }
/* logo boxes sized from the lockup's own aspect (kit-mockups logoBox); --u scales with the scene */
.scene { --u: 1cqw; }
.logo-box { display: flex; flex: none; width: calc(var(--lw) * var(--u)); height: calc(var(--lh) * var(--u)); }
.logo-box svg { width: 100%; height: 100%; overflow: visible; }
.sheet::after, .bc::after, .st-env::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0.05));
}
.scene svg { display: block; }

/* stationery */
.sc-station { aspect-ratio: 16 / 9; }
.st-letter {
  left: 9cqw; top: 3.4cqw; width: 33cqw; aspect-ratio: 1 / 1.414; transform: rotate(-3.5deg);
  padding: 3.2cqw 3.4cqw 2.4cqw; display: flex; flex-direction: column; color: var(--b-ink); font-family: var(--b-text);
}
.lt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 2cqw; }
.lt-addr { font-size: 0.62cqw; line-height: 1.55; text-align: right; opacity: 0.68; }
.lt-date { margin-top: 3.4cqw; font-size: 0.66cqw; opacity: 0.6; }
.lt-to { margin-top: 1.4cqw; font-size: 0.74cqw; }
.lt-p { margin-top: 0.9cqw; font-size: 0.72cqw; line-height: 1.6; }
.lt-sign { margin-top: 1.6cqw; font-size: 0.7cqw; line-height: 1.6; }
.lt-sign b { font-family: var(--b-small); font-weight: var(--b-small-w); letter-spacing: var(--b-track-s); font-size: 0.86cqw; }
.lt-sign span { opacity: 0.7; }
.lt-foot { margin-top: auto; display: flex; align-items: center; gap: 1cqw; font-size: 0.56cqw; opacity: 0.75; }
.lt-foot i { flex: 1; height: 0.28cqw; background: linear-gradient(90deg, var(--b-primary) 0 70%, var(--b-secondary) 70% 90%, var(--b-accent) 90%); }
.st-env {
  left: 40cqw; top: 35cqw; width: 39cqw; aspect-ratio: 2 / 1; transform: rotate(2.5deg); z-index: 1;
  background-color: color-mix(in srgb, var(--b-paper) 92%, var(--b-ink));
}
.env-flap { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.env-logo { position: absolute; left: 6%; top: 62%; }
.env-to { position: absolute; left: 56%; top: 58%; font: var(--b-tw) 0.82cqw/1.55 var(--b-text); color: var(--b-ink); }
.env-stamp {
  position: absolute; right: 5%; top: 9%; width: 9%; aspect-ratio: 0.82;
  background: var(--b-secondary); outline: 0.35cqw dotted color-mix(in srgb, var(--b-paper) 90%, var(--b-ink)); outline-offset: -0.18cqw;
}
.bc { width: 25cqw; aspect-ratio: 85 / 55; border-radius: 0.35cqw; overflow: hidden; z-index: 2; }
.st-back { left: 66cqw; top: 2cqw; transform: rotate(7deg); background: var(--b-rev, var(--b-primary)); }
.st-back::after { background: linear-gradient(125deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.12)); }
.bc-pat, .bc-pat svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-front { left: 54cqw; top: 19cqw; transform: rotate(-5deg); padding: 2.2cqw 2.4cqw; display: flex; flex-direction: column; justify-content: space-between; color: var(--b-ink); z-index: 3; }
.bc-info { display: grid; gap: 0.1cqw; font: var(--b-tw) 0.74cqw/1.45 var(--b-text); }
.bc-info b { font-weight: 600; font-size: 0.92cqw; }
.bc-info span { opacity: 0.72; }

/* email */
.sc-email { --tone: color-mix(in srgb, var(--b-paper) 70%, var(--b-secondary)); padding: clamp(16px, 5cqw, 40px); display: grid; place-items: center; }
.mail { position: relative; z-index: 1; width: 100%; max-width: 760px; background: #fff; border-radius: 12px; overflow: hidden; color: #1f2328; font: 400 13px/1.55 system-ui, -apple-system, 'Segoe UI', sans-serif; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 24px 50px -24px rgba(20, 14, 8, 0.45); }
.mail-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f4f3f0; border-bottom: 1px solid #e8e6e1; }
.mail-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6d2ca; }
.mail-bar span { margin-left: 10px; font-weight: 600; font-size: 12px; color: #3a3f45; }
.mail-shell { display: grid; grid-template-columns: 132px 1fr; }
.mail-side { background: #f6f5f2; border-right: 1px solid #e8e6e1; padding: 12px 10px; display: grid; align-content: start; gap: 2px; font-size: 11.5px; color: #57606a; }
.mail-side span { padding: 5px 8px; border-radius: 6px; display: flex; justify-content: space-between; }
.mail-side span.on { background: #e9e7e2; color: #1f2328; font-weight: 600; }
.mail-tools { display: flex; gap: 6px; padding: 8px 18px; border-bottom: 1px solid #efede9; }
.mail-tools i { width: 54px; height: 18px; border-radius: 5px; background: #f1f0ec; }
.mail-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 10px 18px; border-bottom: 1px solid #efede9; font-size: 12px; color: #57606a; }
.mail-meta em { font-style: normal; color: #8c959f; margin-right: 4px; }
.mail-body { padding: 16px 18px 20px; }
.mail-body > p + p { margin-top: 8px; }
.sig { margin-top: 18px; padding-top: 14px; border-top: 1px solid #ecebe7; display: grid; grid-template-columns: 52px auto 1fr; gap: 4px 14px; align-items: center; }
.sig-ic { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.sig-ic svg { width: 100%; height: 100%; }
.sig-id { display: grid; padding-right: 14px; border-right: 2px solid var(--b-primary); }
.sig-id b { font: 600 15px/1.3 system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; color: var(--b-ink); }
.sig-id span { font-size: 12px; color: #57606a; }
.sig-rows { display: grid; gap: 2px; font-size: 12px; color: #3a3f45; min-width: 0; }
.es-row { display: flex; align-items: center; gap: 7px; min-width: 0; }
.es-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-row svg { flex: none; }
.es-row em { flex: none; width: 12px; font: 600 10px/1 var(--mono); font-style: normal; color: var(--b-primary); }
.sig-banner { position: relative; margin-top: 14px; height: 60px; border-radius: 8px; overflow: hidden; }
.sig-banner svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sig-banner span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); max-width: 70%; padding: 4px 10px; border-radius: 6px; background: var(--b-paper); color: var(--b-ink); font: var(--b-dw) 13px/1.3 var(--b-display); letter-spacing: var(--b-track); }

/* presentation */
.sc-slide { aspect-ratio: 4 / 3; }
.sl-screen {
  position: absolute; left: 8cqw; top: 7cqw; width: 84cqw; height: calc(84cqw * 9 / 16 + 1.8cqw); padding: 0.9cqw; border-radius: 1.4cqw;
  background: linear-gradient(160deg, #2b2a28, #121110); box-shadow: 0 0.2cqw 0.3cqw rgba(0, 0, 0, 0.25), 1.6cqw 3.4cqw 5cqw -1.4cqw rgba(0, 0, 0, 0.45);
}
.sl-desk { position: absolute; left: 0; right: 0; bottom: 0; height: 13%; background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.sl-neck { position: absolute; left: 47cqw; top: calc(7cqw + 84cqw * 9 / 16); width: 6cqw; bottom: calc(13% + 0.9cqw); border-radius: 0 0 0.4cqw 0.4cqw; background: linear-gradient(90deg, #2a2927, #3d3b37 55%, #2a2927); }
.sl-foot-base { position: absolute; left: 38cqw; width: 24cqw; height: 1cqw; bottom: 13%; border-radius: 0.5cqw; background: linear-gradient(180deg, #46433e, #2a2927); box-shadow: 0 0.15cqw 0.2cqw rgba(0, 0, 0, 0.55), 0 0.6cqw 1.2cqw rgba(0, 0, 0, 0.38), 1.5cqw 2.6cqw 4cqw -0.6cqw rgba(0, 0, 0, 0.32); }
.sl-desk::after { content: ''; position: absolute; left: 30%; right: 26%; top: 0; height: 40%; background: radial-gradient(50% 60% at 50% 0%, rgba(0, 0, 0, 0.22), transparent 70%); }
.slide { position: relative; height: 100%; border-radius: 0.6cqw; overflow: hidden; display: grid; grid-template-columns: 40% 1fr; background: var(--b-paper); color: var(--b-ink); }
.slide::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 32%), linear-gradient(200deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.07));
  box-shadow: inset 0 0 1.4cqw rgba(0, 0, 0, 0.18); }
.sl-art { position: relative; overflow: hidden; }
.sl-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sl-copy { display: flex; flex-direction: column; padding: 4cqw 4cqw 3cqw; min-width: 0; }
.sl-kick { margin-top: auto; font: 500 1.05cqw/1.2 var(--b-text); text-transform: uppercase; letter-spacing: 0.14em; color: var(--b-primary); }
.sl-title { margin-top: 1.2cqw; font-family: var(--b-display); font-weight: var(--b-dw); letter-spacing: var(--b-track); font-size: calc(4cqw * var(--tag-fit, 1) + 1cqw); line-height: 1.04; overflow-wrap: break-word; }
.sl-foot { margin-top: auto; padding-top: 2cqw; display: flex; justify-content: space-between; font: 400 1.5cqw/1 var(--b-text); opacity: 0.6; border-top: 0.1cqw solid currentColor; }

/* website */
.sc-site, .sc-social, .sc-phone { --tone: color-mix(in srgb, var(--b-paper) 80%, var(--b-secondary)); padding: clamp(16px, 5cqw, 44px); display: grid; place-items: center; }
.sc-site { --tone: color-mix(in srgb, var(--b-paper) 85%, var(--b-ink)); }
.browser { position: relative; z-index: 1; width: 100%; border-radius: 12px; overflow: hidden; background: var(--b-paper); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 30px 60px -28px rgba(20, 14, 8, 0.55); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #ece9e3; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d1cbc1; }
.browser-bar .url { margin-left: 12px; flex: 1; max-width: 240px; padding: 4px 10px; border-radius: 6px; background: #fff; font: 400 10px/1.3 var(--mono); color: #6b655c; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site { color: var(--b-ink); font-family: var(--b-text); }
.site-nav { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--b-line); }
.site-links { display: flex; gap: 14px; margin-left: auto; font-size: 11px; opacity: 0.75; }
.site-cta { font-size: 10.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--b-ink); color: var(--b-paper); white-space: nowrap; }
.site-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; padding: 30px 18px 26px; align-items: center; }
.site-kick { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--b-primary); font-weight: 600; }
.site-hero h3 { margin-top: 10px; font-family: var(--b-display); font-weight: var(--b-dw); letter-spacing: var(--b-track-m); word-spacing: var(--b-dws); font-size: clamp(20px, 2.3vw, 32px); line-height: 1.04; overflow-wrap: break-word; }
.site-sub { margin-top: 10px; font-size: 12px; line-height: 1.5; opacity: 0.72; }
.site-btns { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.site-btns span { font-size: 10.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.sb-1 { background: var(--b-accent); color: var(--b-on-accent); }
.sb-2 { box-shadow: inset 0 0 0 1px var(--b-line); }
.site-art { aspect-ratio: 1; border-radius: 14px; overflow: hidden; position: relative; }
.site-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.site-feats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--b-line); }
.site-feats span { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; padding: 12px 18px; font-size: 11px; }
.site-feats small { grid-column: 2; font-size: 10px; opacity: 0.65; }
.site-feats span + span { border-left: 1px solid var(--b-line); }
.site-feats b { font-weight: 600; }
.site-feats i { font: 500 10px/1 var(--mono); font-style: normal; color: var(--b-primary); }

/* social */
.profile { position: relative; z-index: 1; width: 100%; max-width: 440px; border-radius: 14px; overflow: hidden; background: #fff; color: #14171a; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 30px 60px -28px rgba(20, 14, 8, 0.55); }
.banner { position: relative; aspect-ratio: 3 / 1; background: var(--b-rev, var(--b-primary)); overflow: hidden; }
.banner-pat, .banner-pat svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner-logo { position: absolute; inset: 24% 20% 24% 30%; display: grid; place-items: center; }
.banner-logo svg { width: 100%; height: 100%; }
.profile-row { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 16px; margin-top: -34px; position: relative; }
.avatar { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; background: var(--b-paper); }
.avatar svg { width: 100%; height: 100%; }
.follow { font: 600 12px/1 var(--sans); padding: 9px 16px; border-radius: 999px; background: #14171a; color: #fff; }
.profile-text { padding: 10px 16px 18px; display: grid; gap: 2px; font-family: var(--sans); }
.profile-text strong { font-size: 16px; }
.profile-text span { font-size: 13px; color: #6b7280; }
.profile-text p { margin-top: 8px; font-size: 13.5px; line-height: 1.4; }

/* phone */
.phone { position: relative; z-index: 1; width: min(100%, 230px); aspect-ratio: 9 / 19; border-radius: 34px; padding: 8px; background: #1b1a18; box-shadow: 0 0 0 1px #3a3833, 0 30px 50px -20px rgba(0, 0, 0, 0.55); }
.phone-screen { height: 100%; border-radius: 27px; overflow: hidden; position: relative; background: linear-gradient(170deg, color-mix(in srgb, var(--b-secondary) 55%, #fff), color-mix(in srgb, color-mix(in srgb, var(--b-primary) 75%, var(--b-ink)) 75%, #8a8a8a)); display: flex; flex-direction: column; padding: 10px 7%; }
.phone-status .island { width: 28%; height: 11px; border-radius: 8px; background: #0b0b0b; }
.phone-status { display: flex; justify-content: space-between; align-items: center; font: 600 10px/1 var(--sans); color: #fff; padding: 2px 6px 0; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.ps-r { display: flex; gap: 3px; }
.ps-r i { width: 10px; height: 6px; border-radius: 2px; background: #fff; }
.phone-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 7%; padding: 0 2%; }
.app { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.app-ic { width: 100%; aspect-ratio: 1; border-radius: 22.37%; display: grid; place-items: center; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
.app-ic svg { width: 54%; height: 54%; }
.app.brand .app-ic svg { width: 100%; height: 100%; }
.app.brand .app-ic { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 6px 14px rgba(0, 0, 0, 0.3); }
.app-blank { background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); backdrop-filter: blur(4px); }
.app-name { font: 500 8.5px/1.1 var(--sans); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.phone-dock { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 8px; border-radius: 20px; background: rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); }

/* narrow scenes: re-stage the flat lays so objects stay legible */
@container (max-width: 620px) {
  .sc-station { aspect-ratio: auto; height: 132cqw; flex: none; }
  .st-letter { left: 6cqw; top: 5cqw; width: 62cqw; padding: 5.6cqw 6cqw 4cqw; }
  .sc-station { --u: 1.85cqw; }
  .lt-addr { font-size: 1.15cqw; } .lt-date { margin-top: 8cqw; font-size: 1.2cqw; } .lt-to { font-size: 1.35cqw; }
  .lt-p { font-size: 1.28cqw; } .lt-sign { font-size: 1.28cqw; } .lt-sign b { font-size: 1.6cqw; } .lt-foot { font-size: 1cqw; } .lt-foot i { height: 0.5cqw; }
  .st-env { left: 22cqw; top: 88cqw; width: 72cqw; }
  .env-to { font-size: 1.5cqw; }
  .bc { width: 46cqw; border-radius: 0.6cqw; }
  .st-back { left: 52cqw; top: 44cqw; }
  .st-front { left: 44cqw; top: 66cqw; padding: 4cqw 4.4cqw; }
  .bc-info { font-size: 1.4cqw; } .bc-info b { font-size: 1.7cqw; }
}

/* ---------------------------------------------------------------- export */

.exports { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.exp { border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.exp-art { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 14% 12%; border-bottom: 1px solid var(--line); }
.exp-art svg { width: 100%; height: 100%; }
.exp-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 10px 10px 16px; font-weight: 500; }
.exp-btns { display: flex; gap: 6px; }
.kit {
  margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--ink); color: var(--paper);
}
.kit h3 { font: 400 clamp(28px, 3vw, 40px)/1.05 var(--serif); }
.kit p { margin-top: 8px; max-width: 40em; font-size: 14.5px; color: #c9c1b2; }
.kit code { color: var(--paper); }
.kit-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.kit .btn-primary { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.kit .btn-primary:hover:not(:disabled) { --bg: #fff; }
.kit .btn-ghost { --bg: transparent; --fg: var(--paper); --bd: rgba(243, 238, 229, 0.3); }
.kit .btn-ghost:hover { --bd: var(--paper); }

.pkg-foot {
  max-width: 1320px; margin: 72px auto 0; padding: 24px var(--gutter) 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}

/* ------------------------------------------------------------ directions */

.dirs { max-width: 1440px; margin: 0 auto; padding: clamp(16px, 3vw, 40px) var(--gutter) 80px; }
.dirs-head { max-width: 900px; }
.dirs-title { margin-top: 18px; font: 400 clamp(36px, 5vw, 68px)/1.02 var(--serif); letter-spacing: -0.02em; }
.dirs-title em { color: var(--accent); }
.dirs-title:focus { outline: none; }
.dirs-lede { margin-top: 18px; max-width: 40em; font-size: 16px; color: var(--ink-2); }
.dirs-grid { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.dir {
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--card);
  box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s;
  animation: rise 0.7s var(--ease) both;
}
.dir:nth-child(2) { animation-delay: 0.08s; } .dir:nth-child(3) { animation-delay: 0.16s; } .dir:nth-child(4) { animation-delay: 0.24s; }
.dir:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dir-top { display: flex; justify-content: space-between; align-items: center; min-height: 66px; padding: 14px 18px; background: var(--d-paper); color: var(--d-ink); }
.dir-id { font: 400 34px/1 var(--serif); }
.dir-conf { font: 400 11px/1.3 var(--mono); letter-spacing: 0.02em; opacity: 0.75; text-align: right; max-width: 70%; }
.dir-role { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.dir.no-enter { animation: none; }
.dir-logo > svg { transition: opacity 0.5s var(--ease); }
.dir.is-building .dir-logo > svg { opacity: 0.12; filter: blur(1px); }
.dir-wait { position: absolute; inset: auto 0 18px; display: flex; justify-content: center; align-items: center; gap: 8px; font: 400 11px/1 var(--mono); letter-spacing: 0.04em; color: var(--d-ink); opacity: 0.75; }
.dir-kit { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dir-sym { flex: none; width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.dir-sym svg { width: 64%; height: 64%; }
.dir-aa { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dir-aa b { font-size: 40px; line-height: 1; color: var(--ink); }
.dir-aa span { font: 400 11px/1.45 var(--mono); color: var(--muted); }
/* fixed art box so three routes line up (palette strips at one height) whatever each logo's aspect */
.dir-logo { position: relative; aspect-ratio: 4 / 3; background: var(--d-paper); overflow: hidden; }
.dir-logo svg { position: absolute; left: 12%; top: 12%; width: 76%; height: 76%; }
.dir-strip { display: flex; height: 14px; }
.dir-strip i { flex: 1; }
.dir-strip i:first-child { flex: 2.4; }
.dir-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; }
.dir-label { font: 400 clamp(24px, 2.2vw, 30px)/1.1 var(--serif); letter-spacing: -0.01em; }
.dir-why { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.dir-type { margin-top: 4px; font-size: 26px; line-height: 1.1; color: var(--d-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-specs { display: flex; flex-wrap: wrap; gap: 4px 10px; font: 400 11px/1.5 var(--mono); color: var(--muted); }
.dir-specs span + span::before { content: '·'; margin-right: 10px; }
.dir-go { margin-top: auto; align-self: flex-start; }
.dir-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); font: 400 11px/1 var(--mono); color: var(--ink-2); }
.dir-switch > span { padding: 0 6px 0 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.dir-switch button[data-dir] { width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; font: 500 13px/1 var(--sans); }
.dir-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.dir-switch .link-btn { margin: 0 8px 0 4px; font-size: 12px; }
.dir-note { font: 400 11px/1.3 var(--mono); color: color-mix(in srgb, var(--b-ink) 60%, transparent); }
@media (max-width: 1080px) { .dirs-grid { grid-template-columns: repeat(min(var(--n, 3), 3), minmax(0, 1fr)); } }
@media (max-width: 900px) and (min-width: 641px) { .dirs-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; } }
@media (max-width: 640px) {
  .dirs-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scrollbar-width: none; }
  .dirs-grid::-webkit-scrollbar { display: none; }
  .dir { flex: 0 0 84%; scroll-snap-align: center; }
}

/* ----------------------------------------------------------------- toast */

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font: 500 14px/1.2 var(--sans); box-shadow: var(--shadow-lg);
  transition: opacity 0.25s, transform 0.35s var(--ease);
  max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript { padding: 24px var(--gutter); }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .misuse, .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .materials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .mock.m-7, .mock.m-5 { grid-column: span 12; }
  .essence, .construct, .motion, .icons { grid-template-columns: 1fr; }
  .patterns { grid-template-columns: 1fr 1fr; }
  .ramp-guide { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-stage { max-width: 560px; }
  .wiz { grid-template-columns: 1fr; }
  .wiz-aside { order: -1; position: static; }
  .sketch { display: grid; grid-template-columns: 150px 1fr; transform: none; box-shadow: var(--shadow); }
  .sketch-logo { padding: 14px; }
  .sketch-meta { border-top: 0; border-left: 1px solid rgba(0, 0, 0, 0.07); flex-direction: column; align-items: flex-start; justify-content: center; }
  .sketch-note { text-align: left; }
  .sketch-empty { font-size: 18px; }
  .sec-head { grid-template-columns: 48px 1fr; }
  .sec-lede { grid-column: 2; }
  .lockups, .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec, .voice { grid-template-columns: minmax(0, 1fr); }
  .spec-hero { flex-direction: row; align-items: stretch; }
  .spec-aa { flex: none; }
  .spec-meta { flex: 1; align-content: center; }
  .voice-quote { grid-row: auto; min-height: 220px; }
  .tune-row { grid-template-columns: 1fr auto; }
  .tune-label { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 12px; }
}
@media (max-width: 640px) {
  .patterns, .patterns.is-two { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pairs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pair { grid-template-columns: 1fr; padding: 12px 14px; min-height: 0; }
  .pair-aa { grid-row: auto; font-size: 34px; }
  .misuse { gap: 10px; }
  .mis figcaption { font-size: 12px; }
  .ramp-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rstep { padding-top: 22px; }
  .pat-lg .pat-art { aspect-ratio: 4 / 3; }
  .hier-t th:nth-child(4), .hier-t td:nth-child(4), .hier-t th:nth-child(6), .hier-t td:nth-child(6) { display: none; }
  .hier-t td[colspan] { white-space: normal; }
  /* phones: style names on one line at a phone-sized step, size never splits from its unit */
  .hier-t td:first-child span { font-size: min(var(--hs, 30px), 22px) !important; white-space: nowrap; }
  .hier-t td:nth-child(3) { white-space: nowrap; }
  /* the caps line fits the column in this face (its width in em, measured): no orphaned Z */
  .spec-abc { font-size: min(18px, calc((100cqw - 72px) / (var(--abc-em, 18) * 1.12))) !important; }
  .why li { grid-template-columns: 74px minmax(0, 1fr) auto; }
  .site-hero { grid-template-columns: 1fr; }
  .site-art { max-width: 200px; }
  .site-feats span { padding: 10px; font-size: 10px; }
  .sig { grid-template-columns: 44px 1fr; }
  .sig-ic { width: 44px; height: 44px; }
  .sig-id { border-right: 0; padding-right: 0; }
  .sig-rows { grid-column: 1 / -1; }
  .mail-shell { grid-template-columns: 1fr; }
  .mail-side { display: none; }
  .tb-grid { grid-template-columns: 1fr; }
  .tb-wrap > summary, .tb-wrap .tb { padding-left: 16px; padding-right: 16px; }
  .topbar-note { display: none; }
  .hero-index { grid-template-columns: repeat(3, auto); row-gap: 14px; }
  .pkg-actions .btn-ghost { display: none; }
  .pkg-nav { -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); padding-right: 24px; }
  .pkg-hero { margin: 12px 12px 0; border-radius: 22px; }
  .pkg-meta { align-items: flex-start; }
  .swatches { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sw-chip { height: 88px; padding: 10px 12px; }
  .sw-aa { font-size: 34px; }
  .sw-body { grid-template-columns: 1fr; padding: 10px 12px 12px; }
  .sw-hex, .sw-rgb { text-align: left; grid-column: 1; grid-row: auto; }
  .sw-note { grid-row: auto; }
  .sw-contrast { flex-direction: column; gap: 4px; }
  .lockups { grid-template-columns: 1fr 1fr; gap: 10px; }
  /* 2-up, the 56% box set a long name at ~7 px: a scale floor of about 4% of the tile per character (--chars, app.js
     lockupTile) grows the box for long names only; short names keep the 56% box */
  .lockup:not(.sq) .lockup-art { padding: 4%; }
  .lockup:not(.sq) .lockup-art > svg { width: clamp(56%, calc(var(--chars, 0) * 4%), 92%); height: clamp(56%, calc(var(--chars, 0) * 3%), 78%); }
  .lockup figcaption { flex-direction: column; gap: 2px; padding: 10px 12px; }
  .icon-sizes { gap: 10px; }
  .icon-sizes span:first-child { width: 48px !important; height: 48px !important; }
  .spec-hero { flex-direction: column; }
  .voice-dos { grid-template-columns: 1fr; }
  .dial { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .dial-l { grid-column: 1 / -1; }
  .dial-lo { display: none; }
  .dial-bar { grid-column: 1; }
  .load-row { grid-template-columns: 92px minmax(0, 1fr) 40px; }
  .lr-bar { display: none; }
  .lr-pick { font-size: 20px; }
  .site-links { display: none; }
  .site-hero { grid-template-columns: 1fr; }
  .exports { gap: 10px; }
  .exp-row { flex-direction: column; align-items: flex-start; padding: 10px; }
  .kit-btns, .kit-btns .btn { width: 100%; }
  .wiz-nav .btn { flex: 1; }
  /* the twelve word cards push Continue below a phone's fold: the nav rides the bottom edge until the form ends */
  .wiz-nav {
    position: sticky; bottom: 0; z-index: 5;
    margin-inline: calc(-1 * var(--gutter)); padding: 20px var(--gutter) max(14px, env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, rgba(243, 238, 229, 0), var(--paper) 20px);
  }
  /* Tune folds to one bar on a phone so the kit follows the cover; the whole bar opens it (app.js setTuneOpen) */
  .tune-head { position: relative; flex-wrap: nowrap; align-items: center; margin-bottom: 0; padding: 14px 0; border-block: 1px solid var(--line); }
  .tune-head h2 { font-size: 22px; }
  .tune-toggle { display: grid; flex: none; }
  .tune-toggle::after { content: ''; position: absolute; inset: 0; }
  .tune-toggle svg { transition: transform 0.3s var(--ease); }
  .tune:not(.is-open) .tune-head p, .tune:not(.is-open) .tune-list { display: none; }
  .tune.is-open .tune-head { flex-wrap: wrap; border-bottom: 0; }
  .tune.is-open .tune-toggle svg { transform: rotate(180deg); }
  .tune.is-open .tune-toggle::after { content: none; } /* open, the lede's editor link must stay clickable */
  .tune.is-open .tune-head p { order: 3; flex-basis: 100%; }
  /* the description gets the full width; the controls sit on their own line under it */
  .tune-row { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .tune-ctrl { justify-content: flex-start; }
  .tune-ctrl .btn { margin-left: auto; }
  .thumb.big { width: 76px; height: 52px; }
  .tune-text strong { font-size: 20px; }
  .choices, .choices-dense { grid-template-columns: 1fr 1fr; gap: 8px; }
  .choice { padding: 13px 34px 13px 12px; min-height: 64px; }
  .choice-tick, .choice-key { right: 10px; top: 12px; }
  .choice-label { font-size: 15px; }
  .choice-hint { font-size: 12px; }
}
@media (max-width: 420px) {
  .hier-t th:nth-child(5), .hier-t td:nth-child(5) { display: none; }
}
@media (max-width: 400px) {
  .tune-ctrl .btn { padding: 0 10px; }
  .tune-current { gap: 10px; }
  .thumb.big { width: 64px; }
  .choice-key { display: none; }
}

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

/* ------------------------------------------------------------ guide export */

.guide-toc { max-width: 1320px; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0 var(--gutter); }
.guide-toc h2 { font: 400 clamp(32px, 4vw, 48px)/1 var(--serif); letter-spacing: -0.02em; padding-top: 20px; border-top: 1px solid var(--ink); }
.guide-toc ol { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.guide-toc a { display: grid; grid-template-columns: 40px auto 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.guide-toc span { font: 400 12px/1 var(--mono); color: var(--accent-text); }
.guide-toc b { font-weight: 600; }
.guide-toc i { font-style: normal; font-size: 13px; color: var(--muted); }
.share-url { font: 400 11px/1.4 var(--mono); word-break: break-all; }
@media (max-width: 640px) { .guide-toc ol { grid-template-columns: 1fr; } }

@page { size: A4; margin: 14mm; }
@media print {
  body::before, .pkg-bar, .toast, .topbar, .tune, .tb-wrap, #s-export, .link-btn, .dir-switch, .jev-chip { display: none !important; }
  body { background: #fff; }
  .pkg-sec { padding-top: 10mm; break-before: page; }
  figure, .lockup, .mis, .mat, .mock, .swatch, .pair, .ramp, .pat, .dial, .hier-t tr { break-inside: avoid; }
  .scene::before, .scene::after { display: none; }
  .pkg-hero { box-shadow: none; }
}

/* slide scene at 3:2 (beside the plates): raise the screen so the stand shows */
.m-slide.m-6 .sl-screen, .m-slide.m-hero .sl-screen { top: 3.5cqw; }
.m-slide.m-6 .sl-neck, .m-slide.m-hero .sl-neck { top: calc(3.5cqw + 84cqw * 9 / 16 + 1.8cqw); }

/* cover: a composed page for every logo type (reverse logo on the plate, display-face tagline, lead device) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pkg-hero.cover {
  background: var(--b-rev); color: var(--b-on-rev);
  padding: 0; display: grid; grid-template-rows: auto 1fr auto;
  min-height: clamp(520px, 52vw, 780px);
}
.pkg-hero.cover::before { display: none; }
.cover .cv-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding: clamp(20px, 3vw, 36px) clamp(20px, 4vw, 48px) 0; }
.cover .cv-kick { display: flex; gap: 22px; font: 500 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--b-on-rev) 72%, transparent); padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--b-on-rev) 40%, transparent); }
.cover-meta { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 16px; margin: 12px var(--gutter) 0; }
.cover-meta .link-btn { color: var(--ink); }
.cover .cv-grid { display: grid; grid-template-columns: minmax(0, 56%); min-height: 0; }
.cover .cv-main { align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 3vw, 40px); padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 48px); min-width: 0; }
.cover .cv-logo { margin: 0; width: min(100%, 560px); place-items: center start; }
/* a centred lockup (stacked, badge) reads as centred: the column centres with it */
.cover .cv-main.is-centred { align-items: center; text-align: center; }
.cover .cv-main.is-centred .cv-logo { width: auto; }
.cover .cv-logo { display: block; }
.cover .cv-logo svg { display: block; width: auto; max-width: 100%; height: clamp(110px, 15vw, 220px); }
/* a badge carries the name inside it: it needs a lockup's size, not an icon's */
.cover .cv-logo.is-badge svg { height: clamp(150px, 21vw, 300px); }
.cover .cv-logo.is-wide svg { width: 100%; height: auto; max-height: clamp(110px, 15vw, 220px); }
.cover .cv-tag {
  max-width: 17em; margin: 0;
  font-family: var(--b-display); font-weight: var(--b-dw); letter-spacing: var(--b-track);
  font-size: clamp(19px, 1.9vw, 28px); line-height: 1.18; color: var(--b-on-rev); text-wrap: balance;
}
.cover .cv-art { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; overflow: hidden; z-index: 0; }
.cover .cv-main, .cover .hero-logo-cap { position: relative; z-index: 1; }
.cover .cv-top .cv-kick { visibility: visible; }
.cover .cv-art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cover .cv-art-m { display: none; }
.cover .hero-logo-cap { justify-content: flex-start; padding: 14px clamp(20px, 4vw, 48px) clamp(18px, 2.5vw, 28px); color: color-mix(in srgb, var(--b-on-rev) 60%, transparent); }
@media (max-width: 760px) {
  .cover .cv-grid { grid-template-columns: 1fr; }
  .cover { grid-template-rows: auto auto auto auto; }
  .cover .cv-art { display: none; }
  .cover .cv-art.cv-art-m { display: block; position: relative; width: auto; height: auto; aspect-ratio: 780 / 480; }
  .cover .cv-kick { gap: 12px; }
}
/* the cover reads as a printed board: a faint uncoated-paper grain over plate and device */
.pkg-hero.cover::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: url(textures/paper.jpg) center / 700px; mix-blend-mode: multiply; opacity: 0.32; }

/* posters on a wall: three A2 sheets mounted 1 cm off the plaster */
.sc-posters { aspect-ratio: 16 / 9; }
.poster {
  inset: 0; overflow: hidden; z-index: 2;
  background-color: var(--b-paper);
  --sh: 0 0.06cqw 0.1cqw rgba(20, 14, 8, 0.3), 0.35cqw 0.6cqw 0.7cqw -0.1cqw rgba(30, 20, 10, 0.28), 1.2cqw 2.2cqw 3cqw -0.8cqw rgba(30, 20, 10, 0.3);
}
.poster::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 5; background: url(textures/paper.jpg) 30% 20% / 520px; mix-blend-mode: multiply; opacity: 0.45; }
.poster::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 6;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.07) 18%, rgba(0, 0, 0, 0.03) 42%, rgba(255, 255, 255, 0.06) 66%, rgba(0, 0, 0, 0.06)),
    linear-gradient(125deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.08));
  box-shadow: inset 0.08cqw 0.08cqw 0 rgba(255, 255, 255, 0.35), inset -0.06cqw -0.06cqw 0 rgba(0, 0, 0, 0.12); }
.pw { position: absolute; top: 5.5cqw; width: 26cqw; aspect-ratio: 1 / 1.414; z-index: 2; }
.ps-1 { left: 7cqw; transform: rotate(-0.6deg); } .ps-2 { left: 37cqw; transform: rotate(0.4deg); } .ps-3 { left: 67cqw; transform: rotate(-0.3deg); }
/* masking tape: translucent paper strips across the top corners */
.tape { position: absolute; top: -0.9cqw; width: 5.2cqw; height: 1.8cqw; z-index: 8; pointer-events: none;
  background-color: rgba(236, 228, 208, 0.78); background-image: url(textures/paper.jpg); background-size: 300px; background-blend-mode: multiply;
  box-shadow: 0 0.05cqw 0.12cqw rgba(0, 0, 0, 0.18); clip-path: polygon(2% 8%, 98% 0, 100% 92%, 0 100%); }
.tape.tl { left: -1.6cqw; transform: rotate(-38deg); } .tape.tr { right: -1.6cqw; transform: rotate(38deg); }
.ps-2 .tape.tl { transform: rotate(-31deg); width: 4.6cqw; left: -1.2cqw; } .ps-2 .tape.tr { transform: rotate(44deg); width: 5.6cqw; }
.ps-3 .tape.tl { transform: rotate(-45deg); width: 5.8cqw; } .ps-3 .tape.tr { transform: rotate(33deg); top: -0.7cqw; }
/* the unsecured bottom corners lift a little off the wall */
.pw::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; z-index: 7; pointer-events: none;
  background: radial-gradient(40% 70% at 0% 100%, rgba(255, 255, 255, 0.16), transparent 70%), radial-gradient(40% 70% at 100% 100%, rgba(0, 0, 0, 0.1), transparent 70%); }
.ps-art, .ps-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ps-1 .ps-logo { position: absolute; left: 1.6cqw; top: 1.6cqw; z-index: 2; }
.ps-type { padding: 1.8cqw 1.7cqw; display: flex; flex-direction: column; justify-content: space-between; color: var(--b-ink); }
.ps-head { font-family: var(--b-display); font-weight: var(--b-dw); letter-spacing: var(--b-track); font-size: 3.1cqw; line-height: 1.04; text-wrap: balance; }
.ps-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1cqw; font: var(--b-tw) 0.75cqw/1.3 var(--b-text); }
.ps-foot span { opacity: 0.85; }
.ps-label { position: absolute; left: 1.4cqw; bottom: 1.4cqw; z-index: 2; padding: 0.9cqw 1.1cqw; background: var(--b-paper); }
.ps-solid > .ps-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* sticker sheet on the desk */
.sc-stickers { aspect-ratio: 16 / 9; }
.sk-sheet {
  left: 20cqw; top: 5cqw; width: 50cqw; height: 46cqw; transform: rotate(-3deg); border-radius: 0.6cqw;
  background-color: color-mix(in srgb, #f4f2ed 88%, var(--b-paper)); background-image: url(textures/paper.jpg); background-size: 520px; background-blend-mode: multiply;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.7), var(--sh);
}
.sk { position: absolute; display: block; filter: drop-shadow(0.05cqw 0.09cqw 0.05cqw rgba(0, 0, 0, 0.38)) drop-shadow(0.3cqw 0.55cqw 0.6cqw rgba(30, 20, 10, 0.2)); }
.sk::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, 0.16) 80%, rgba(255, 255, 255, 0)); mix-blend-mode: screen; box-shadow: inset 0.06cqw 0.06cqw 0.04cqw rgba(255, 255, 255, 0.7), inset -0.06cqw -0.08cqw 0.06cqw rgba(0, 0, 0, 0.18); }
.sk-seal::after, .sk-mark::after, .sk-seal2::after { border-radius: 50%; }
.sk svg { width: 100%; height: 100%; display: block; }
.sk-seal { left: 4cqw; top: 4cqw; width: 19cqw; height: 19cqw; }
.sk-mark { left: 29cqw; top: 5.5cqw; width: 15cqw; height: 15cqw; }
.sk-seal2 { left: 30cqw; top: 26cqw; width: 14cqw; height: 14cqw; }
.sk-logo { left: 4cqw; top: 26.5cqw; }
.sk-pill { display: flex; align-items: center; justify-content: center; padding: 1.5cqw 2.2cqw; border-radius: 99cqw; background: var(--b-paper); box-shadow: 0 0 0 0.7cqw #fff, 0 0 0 0.76cqw rgba(0, 0, 0, 0.1); }
.sk-crop { left: 4.5cqw; top: 36.5cqw; }
.sk-pill, .sk-rect { position: relative; }
.sk-rect { display: block; width: 19cqw; height: 8cqw; border-radius: 1cqw; overflow: hidden; box-shadow: 0 0 0 0.7cqw #fff, 0 0 0 0.76cqw rgba(0, 0, 0, 0.1); }
.sk-rect svg { width: 100%; height: 100%; }
.sk-loose { left: 74cqw; top: 26cqw; width: 15cqw; height: 15cqw; transform: rotate(14deg); border-radius: 50%; box-shadow: none; filter: drop-shadow(0.05cqw 0.1cqw 0.05cqw rgba(0, 0, 0, 0.42)) drop-shadow(0.5cqw 0.9cqw 0.9cqw rgba(30, 20, 10, 0.32)); }
.sk-loose svg { width: 100%; height: 100%; display: block; }

/* the brand book open on the desk */
.sc-book { aspect-ratio: 16 / 9; }
.bk { left: 14cqw; top: 4cqw; width: 72cqw; height: 50.8cqw; transform: rotate(-1.5deg); will-change: transform; /* rasterise then rotate: small type keeps its shapes */ display: grid; grid-template-columns: 1fr 1fr; border-radius: 0.3cqw;
  --sh: 0 0.08cqw 0.1cqw rgba(20, 14, 8, 0.35), 0.4cqw 0.7cqw 0.8cqw -0.1cqw rgba(30, 20, 10, 0.3), 1.6cqw 3cqw 4cqw -1cqw rgba(30, 20, 10, 0.34);
  box-shadow: 0 0.18cqw 0 -0.02cqw color-mix(in srgb, var(--b-paper) 80%, #000), 0 0.34cqw 0 -0.04cqw color-mix(in srgb, var(--b-paper) 70%, #000), var(--sh); }
.bk-page { position: relative; overflow: hidden; background-color: var(--b-paper); background-image: url(textures/paper.jpg); background-size: 560px; background-blend-mode: multiply; }
.bk-l { background-position: 20% 30%; border-radius: 0.3cqw 0 0 0.3cqw; } .bk-r { background-position: 70% 60%; border-radius: 0 0.3cqw 0.3cqw 0; }
.bk-l .bk-art::after { content: ''; position: absolute; inset: 0; background: url(textures/paper.jpg) 40% 40% / 560px; mix-blend-mode: multiply; opacity: 0.5; }
.bk-art, .bk-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bk-r { padding: 3.4cqw 3.2cqw 2.4cqw; display: flex; flex-direction: column; color: var(--b-ink); font-family: var(--b-text); }
.bk-num { font-family: var(--b-display); font-weight: var(--b-dw); font-size: 5.2cqw; line-height: 0.9; color: var(--b-primary); }
.bk-h { margin-top: 1cqw; font-family: var(--b-display); font-weight: var(--b-dw); letter-spacing: var(--b-track); word-spacing: max(0.1em, var(--b-dws)); font-size: 1.9cqw; line-height: 1.1; }
.bk-logo { margin: auto 0; display: flex; justify-content: center; padding: 3cqw 0; border-top: 0.08cqw solid color-mix(in srgb, var(--b-ink) 25%, transparent); border-bottom: 0.08cqw solid color-mix(in srgb, var(--b-ink) 25%, transparent); }
.bk-p { font-size: 0.92cqw; line-height: 1.55; max-width: 24em; opacity: 0.9; }
.bk-folio { margin-top: 2cqw; display: flex; justify-content: space-between; font-size: 0.58cqw; opacity: 0.6; }
.bk-gutter { position: absolute; left: calc(50% - 4cqw); top: 0; bottom: 0; width: 8cqw; pointer-events: none; z-index: 3;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.38) 49.6%, rgba(0, 0, 0, 0.3) 50.4%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0) 100%); }
.bk::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4; background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.14) 14%, rgba(255, 255, 255, 0.04) 32%, rgba(0, 0, 0, 0.05) 46%, rgba(0, 0, 0, 0.04) 54%, rgba(255, 255, 255, 0.12) 70%, rgba(255, 255, 255, 0.04) 88%, rgba(0, 0, 0, 0.1)), linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.05)); }

/* website on the desktop display (same set as the slide) */
.sc-web { aspect-ratio: 4 / 3; }
.web { position: relative; height: 100%; border-radius: 0.6cqw; overflow: hidden; display: flex; flex-direction: column; background: var(--b-paper); color: var(--b-ink); }
.web::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 32%), linear-gradient(200deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.07));
  box-shadow: inset 0 0 1.4cqw rgba(0, 0, 0, 0.16); }
.web-tab { flex: none; display: flex; align-items: center; gap: 0.45cqw; height: 2.2cqw; padding: 0 1cqw; background: color-mix(in srgb, var(--b-paper) 90%, var(--b-ink)); font: 400 0.8cqw/1 var(--sans); color: color-mix(in srgb, var(--b-ink) 60%, transparent); }
.web-tab i { width: 0.6cqw; height: 0.6cqw; border-radius: 50%; background: color-mix(in srgb, var(--b-ink) 22%, transparent); }
.web-tab span { margin-left: 1.2cqw; padding: 0.3cqw 1.2cqw; border-radius: 0.4cqw; background: var(--b-paper); }
.web-page { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.web-nav { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 1.5cqw 2.6cqw; }
.web-links { display: flex; align-items: center; gap: 2cqw; font: var(--b-tw) 0.95cqw/1 var(--b-text); }
.web-links b { font-weight: 600; padding: 0.7cqw 1.2cqw; border-radius: 99cqw; background: var(--b-ink); color: var(--b-paper); }
.web-hero { flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 0; }
.web-copy { display: flex; flex-direction: column; justify-content: flex-end; gap: 1.4cqw; padding: 2cqw 2.6cqw 3.4cqw; min-width: 0; }
.web-kick { font: 500 0.9cqw/1.2 var(--b-text); text-transform: uppercase; letter-spacing: 0.14em; color: var(--b-primary); }
.web-h { font-family: var(--b-display); font-weight: var(--b-dw); letter-spacing: var(--b-track); font-size: calc(3.4cqw * var(--tag-fit, 1) + 0.9cqw); line-height: 1.02; text-wrap: balance; }
.web-btns { display: flex; gap: 0.8cqw; font: 600 0.95cqw/1 var(--b-text); }
.web-btns b, .web-btns span { padding: 0.9cqw 1.5cqw; border-radius: 99cqw; }
.web-btns b { background: var(--b-primary); color: var(--b-on-primary); }
.web-btns span { box-shadow: inset 0 0 0 0.1cqw color-mix(in srgb, var(--b-ink) 35%, transparent); }
.web-art { position: relative; overflow: hidden; }
.web-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.web::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0) 0 52%, rgba(255, 255, 255, 0.09) 52.5% 66%, rgba(255, 255, 255, 0) 66.5%), radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, 0.08), transparent 60%); }
.sc-web .sl-foot-base { box-shadow: 0 0.12cqw 0.08cqw rgba(0, 0, 0, 0.7), 0 0.4cqw 0.6cqw rgba(0, 0, 0, 0.45), 1.2cqw 2cqw 3cqw -0.4cqw rgba(0, 0, 0, 0.35); }
.sc-web .sl-desk::after { left: 32%; right: 30%; height: 30%; background: radial-gradient(50% 55% at 50% 0%, rgba(0, 0, 0, 0.42), transparent 72%); }
.sc-web .sl-screen { box-shadow: 0 0.2cqw 0.3cqw rgba(0, 0, 0, 0.3), 0 0 0 0.08cqw rgba(255, 255, 255, 0.06) inset, 1.6cqw 3.4cqw 5cqw -1.4cqw rgba(0, 0, 0, 0.5); }

/* wayfinding on a plaster wall: a directory panel and a room plate on standoffs */
.sc-way { aspect-ratio: 16 / 9; }
.wf-panel { left: 22cqw; top: 4cqw; width: 30cqw; height: 46cqw; border-radius: var(--wf-r, 0); padding: 3cqw 2.8cqw 2.4cqw; display: flex; flex-direction: column; gap: 2.4cqw;
  --sh: 0 0.1cqw 0.12cqw rgba(0, 0, 0, 0.3), 0.6cqw 1cqw 1.2cqw -0.2cqw rgba(30, 20, 10, 0.32), 2cqw 3.4cqw 4cqw -1.4cqw rgba(30, 20, 10, 0.32);
  box-shadow: inset 0.1cqw 0.1cqw 0 rgba(255, 255, 255, 0.14), inset -0.1cqw -0.1cqw 0 rgba(0, 0, 0, 0.2), var(--sh); }
.wf-panel::after, .wf-plate::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.1)); }
.wf-rows { margin-top: auto; display: grid; }
.wf-row { display: flex; align-items: center; justify-content: space-between; gap: 1cqw; padding: 1.4cqw 0; border-top: 0.12cqw solid color-mix(in srgb, currentColor 35%, transparent); font-family: var(--b-display); font-weight: var(--b-dw); letter-spacing: var(--b-track); font-size: 2.2cqw; line-height: 1; }
.wf-ar { display: block; width: 2.6cqw; height: 2.6cqw; flex: none; }
.wf-ar svg { width: 100%; height: 100%; }
.wf-foot { font: var(--b-tw) 0.8cqw/1.2 var(--b-text); opacity: 0.7; letter-spacing: 0.08em; text-transform: uppercase; }
.wf-plate { left: 62cqw; top: 18cqw; width: 14cqw; height: 14cqw; border-radius: var(--wf-r, 0); padding: 2.2cqw; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--b-paper); color: var(--b-ink);
  --sh: 0 0.08cqw 0.1cqw rgba(0, 0, 0, 0.28), 0.4cqw 0.7cqw 0.8cqw -0.1cqw rgba(30, 20, 10, 0.3), 1.4cqw 2.4cqw 3cqw -1cqw rgba(30, 20, 10, 0.3);
  box-shadow: inset 0.08cqw 0.08cqw 0 rgba(255, 255, 255, 0.5), inset -0.08cqw -0.08cqw 0 rgba(0, 0, 0, 0.12), var(--sh); }
.wf-pnum { font-family: var(--b-display); font-weight: var(--b-dw); font-size: 4.6cqw; line-height: 0.9; color: var(--b-primary); }
.wf-pname { font: 600 1.1cqw/1.1 var(--b-text); }
.wf-bolt { position: absolute; width: 0.9cqw; height: 0.9cqw; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4f1ea, #b9b3a8 55%, #8a857c); box-shadow: 0.1cqw 0.15cqw 0.2cqw rgba(0, 0, 0, 0.35); z-index: 2; }
.wf-panel .wf-bolt:nth-child(1) { left: 1cqw; top: 1cqw; } .wf-panel .wf-bolt:nth-child(2) { right: 1cqw; top: 1cqw; }
.wf-panel .wf-bolt:nth-child(3) { left: 1cqw; bottom: 1cqw; } .wf-panel .wf-bolt:nth-child(4) { right: 1cqw; bottom: 1cqw; }
/* four standoffs, like the panel: two on one edge read as a plate hanging off its hinges */
.wf-plate .wf-bolt:nth-child(1) { left: 0.8cqw; top: 0.8cqw; } .wf-plate .wf-bolt:nth-child(2) { right: 0.8cqw; top: 0.8cqw; }
.wf-plate .wf-bolt:nth-child(3) { left: 0.8cqw; bottom: 0.8cqw; } .wf-plate .wf-bolt:nth-child(4) { right: 0.8cqw; bottom: 0.8cqw; }

/* touch screens have no Enter or number keys: drop the keyboard hints and key badges */
@media (hover: none) and (pointer: coarse) {
  .kbd-hint, .choice-key { display: none; }
}

/* cover: the spec caption stays in the text column, clear of the supergraphic on the right (it ran under VOIDROOM's V) */
@media (min-width: 761px) {
  .cover .hero-logo-cap { max-width: 58%; flex-wrap: wrap; row-gap: 6px; }
}

/* logo suite (kit-suite.js): one logo of each kind on the brand's paper, a click from being the primary */
.suite { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.st {
  all: unset; box-sizing: border-box; position: relative; display: flex; flex-direction: column; min-width: 0;
  border-radius: var(--r-lg); background: var(--st-paper); color: var(--st-ink); overflow: hidden;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--st-ink) 10%, transparent);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
button.st { cursor: pointer; }
button.st:not(.is-primary):hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--st-ink) 22%, transparent), var(--shadow); }
button.st:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.st.is-primary { box-shadow: inset 0 0 0 1.5px var(--st-ink); }
.st-art { position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; }
.st-art > svg { display: block; width: 46%; height: 46%; }
.st-wordmark .st-art > svg { width: 76%; height: 34%; }
.st-badge .st-art > svg { width: 56%; height: 56%; }
.st.is-building .st-art > svg { opacity: 0.25; }
.st-wait { position: absolute; inset: auto 0 14px; display: flex; justify-content: center; align-items: center; gap: 8px; font: 400 11px/1 var(--mono); letter-spacing: 0.04em; opacity: 0.75; }
.st figcaption, .st > .st-cap, .st > .st-note, .st > .st-act { display: block; }
.st-cap { display: flex !important; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 16px 0; border-top: 1px solid color-mix(in srgb, var(--st-ink) 12%, transparent); }
.st-kind { font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.st-n { margin-right: 8px; opacity: 0.5; }
.st-tpl { font: 400 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.6; text-align: right; }
.st-note { padding: 6px 16px 0; font: 400 13px/1.45 var(--sans); opacity: 0.75; }
.st-act { padding: 12px 16px 14px; margin-top: auto; font: 500 12.5px/1.2 var(--sans); }
.st-use { opacity: 0.7; transition: opacity 0.2s; }
button.st:hover .st-use { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.st-chip { display: inline-flex; align-items: center; gap: 7px; }
.st-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st figcaption { padding-bottom: 14px; }
@media (max-width: 1080px) { .suite { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .suite { gap: 10px; }
  .st-cap { flex-direction: column; gap: 2px; padding: 10px 12px 0; }
  .st-tpl { text-align: left; }
  .st-note { display: none !important; }
  .st-act { padding: 10px 12px 12px; font-size: 12px; }
  .st figcaption { padding-bottom: 12px; }
}
