/* blankfac3 v2 components (approved on the design canvas, 2026-11-03).
   Loaded after styles.css. Revert = remove the <link> to this file and run git revert on the port commit. */

/* ---------- icons ---------- */
.ico { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text);
  cursor: pointer; -webkit-appearance: none; appearance: none; transition: border-color .15s, background .15s, transform .12s;
}
.icon-btn:hover { border-color: var(--muted-2); }
.icon-btn:active { transform: scale(.96); }
.icon-btn[aria-expanded="true"] { border-color: var(--key); background: var(--active-tint); }
.theme-toggle.icon-btn { width: 44px; height: 44px; font-size: 0; }

/* ---------- header ---------- */
header.site-hd { background: transparent; border-bottom: 0; padding: 12px 0 0; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: 100; }
.site-hd .nav {
  position: relative; height: 64px; padding: 0 10px 0 22px; gap: 12px; flex-wrap: nowrap;
  background: color-mix(in srgb, var(--surface) 86%, transparent); border: 1px solid var(--border); border-radius: 14px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
[data-theme="light"] .site-hd .nav { box-shadow: 0 10px 28px rgba(20,20,28,.08); }
.site-hd .brand { flex: 1 1 0; font-size: 1.3rem; letter-spacing: -.01em; }
.site-hd .nav-links { flex: none; flex-wrap: nowrap; gap: 2px; align-items: center; }
.site-hd .nav-links > a, .nav-dd-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px;
  font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: .9375rem; font-weight: 500; color: var(--muted);
  background: transparent; border: 0; cursor: pointer; text-transform: none; letter-spacing: normal;
}
.site-hd .nav-links > a:hover, .nav-dd-btn:hover, .site-hd .nav-links > a.active, .nav-dd-btn.active,
.nav-dd-btn[aria-expanded="true"] { color: var(--text); background: var(--active-tint); }
.nav-dd-btn .ico { width: 16px; height: 16px; transition: transform .18s ease; }
.nav-dd-btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.site-hd .nav-tools { flex: 1 1 0; justify-content: flex-end; gap: 8px; }
.site-hd .nav-burger { display: none; }

/* commissions menu */
.nav-dd { position: static; }
.com-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 130;
  width: min(800px, calc(100vw - 48px)); box-sizing: border-box; padding: 8px;
  display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.com-menu[hidden] { display: none; }
[data-theme="light"] .com-menu { box-shadow: 0 20px 50px rgba(20,20,28,.14); }
.com-list { display: flex; flex-direction: column; gap: 2px; }
.nav-links .com-menu a.cm-row {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; height: auto;
  color: var(--text); font-size: 1rem; text-decoration: none; background: transparent;
}
.nav-links .com-menu a.cm-row:hover, .nav-links .com-menu a.cm-row:focus-visible { background: var(--active-tint); }
.cm-ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--alt); border: 1px solid var(--border); }
.cm-txt { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; line-height: 1.35; }
.cm-name { font-size: 1rem; font-weight: 600; color: var(--text); }
.cm-desc { font-size: .875rem; color: var(--muted); }
.cm-stat { font-size: .875rem; font-weight: 600; white-space: nowrap; color: var(--muted); }
.cm-stat:empty { display: none; }
.cm-stat.is-open { color: var(--open); }
.cm-stat.is-soon { color: #8FA9EE; }
.cm-stat.is-closed { color: var(--closed); }
[data-theme="light"] .cm-stat.is-soon { color: #3559B5; }
[data-theme="light"] .cm-stat.is-open { color: #2E7D4A; }
.com-est { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 10px; background: var(--alt); border: 1px solid var(--border); }
.com-est-ico .ico { width: 24px; height: 24px; }
.com-est-h { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.375rem; font-weight: 700; line-height: 1.15; color: var(--text); }
.com-est-p { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.nav-links .com-est .btn { margin-top: auto; justify-content: center; height: auto; padding: 12px 16px; font-size: .9375rem; color: var(--bg); }

/* account menu */
.acct-dd { position: relative; }
.acct-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 130; width: 264px; box-sizing: border-box; padding: 8px;
  display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.45);
}
.acct-menu[hidden] { display: none; }
[data-theme="light"] .acct-menu { box-shadow: 0 16px 40px rgba(20,20,28,.14); }
.am-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.am-avatar { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; flex: none; background: var(--alt); border: 1px solid var(--border); color: var(--muted); }
.am-who { min-width: 0; line-height: 1.3; }
.am-name { font-size: .9375rem; font-weight: 600; color: var(--text); }
.am-mail { font-size: .875rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu a, .acct-menu button.am-item {
  display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 8px;
  font: 500 .9375rem/1.3 "Hanken Grotesk", system-ui, sans-serif; color: var(--text); text-decoration: none;
  background: transparent; border: 0; cursor: pointer; text-align: left;
}
.acct-menu a:hover, .acct-menu button.am-item:hover { background: var(--active-tint); }
.acct-menu .am-muted { color: var(--muted); }
.am-sep { height: 1px; margin: 6px 4px; background: var(--border); }
.am-note { padding: 10px 12px 6px; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.acct-menu a.am-cta { justify-content: center; margin: 6px 4px 4px; width: auto; padding: 12px; border-radius: 10px; font-weight: 600; background: var(--text); color: var(--bg); }
.acct-menu a.am-cta:hover { background: var(--text); filter: brightness(1.1); }

@media (max-width: 860px) {
  .site-hd .nav-links > a, .nav-dd-btn { padding: 0 10px; }
  .site-hd .brand { flex: none; }
}
@media (max-width: 680px) {
  header.site-hd { padding: 8px 0 0; }
  .site-hd .nav { height: 60px; padding: 0 8px 0 16px; }
  .site-hd .nav-burger { display: inline-flex; }
  .site-hd .nav-tools { flex: 1 1 auto; gap: 6px; }
  .site-hd .icon-btn { width: 44px; height: 44px; }
  .site-hd .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: 0 18px 44px rgba(0,0,0,.4); z-index: 120;
  }
  .site-hd .nav.open .nav-links { display: flex; }
  .site-hd .nav-links > a, .nav-dd-btn { width: 100%; height: 48px; justify-content: space-between; padding: 0 14px; font-size: 1rem; }
  .com-menu { position: static; transform: none; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 6px; background: transparent; }
  .com-est { display: none; }
  .nav-links .com-menu a.cm-row { padding: 10px 14px; }
  .cm-desc { display: none; }
  .cm-ico { width: 36px; height: 36px; }
  .acct-menu { position: fixed; top: 76px; right: 12px; left: 12px; width: auto; }
}

/* ---------- footer ---------- */
footer.site-foot {
  display: block; position: relative; margin-top: clamp(40px, 6vw, 72px); padding: 0; border-top: 1px solid var(--border);
  background: var(--bg); color: var(--muted); font-size: .9375rem; text-align: left;
}
.sf-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 32px; padding-top: clamp(48px, 7vw, 72px); padding-bottom: clamp(36px, 5vw, 56px); }
/* the call to order is for clients: not on Studio or on the owner's dashboard (html.bf3-owner from assets/v2.js) */
body.studio .sf-cta, html.bf3-owner body.account .sf-cta { display: none; }
/* without the call to order the link columns are the footer's first row: they keep the same distance from the
   footer's divider as on every public page (the CTA's top padding), instead of sitting flush under it */
body.studio .sf-cols, html.bf3-owner body.account .sf-cols { padding-top: clamp(48px, 7vw, 72px); }
.sf-cta-copy { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.site-foot .sf-cta h2 { margin: 0; font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; color: var(--text); }
.site-foot .sf-cta p { margin: 0; font-size: 1.0625rem; color: var(--muted); }
.sf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-foot .sf-actions .btn { font-size: 1rem; padding: 14px 22px; }
.site-foot .sf-actions .btn.primary { color: var(--bg); }
.site-foot .sf-actions .btn.ghost { color: var(--text); }
.sf-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; padding-bottom: 48px; }
.site-foot .sf-h { margin: 0 0 12px; font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--text); letter-spacing: normal; }
.sf-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-foot .sf-col a { font-size: .9375rem; color: var(--muted); text-decoration: none; }
.site-foot .sf-col a:hover { color: var(--text); }
.sf-social-col:has(ul:empty) { display: none; }
.sf-bar { border-top: 1px solid var(--border); }
.sf-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding-bottom: env(safe-area-inset-bottom); }
.site-foot .sf-bar span { font-size: .9375rem; color: var(--muted-2); }
.site-foot a.sf-top { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--muted); text-decoration: none; }
.site-foot a.sf-top:hover { color: var(--text); }
.sf-top .ico { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .sf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-actions { width: 100%; }
  .sf-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 680px) {
  footer.site-foot { margin-top: 64px; padding: 0; text-align: left; font-size: .9375rem; }
}

/* ---------- home: discipline cards ---------- */
.work-tile.dept-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 5; padding: 22px; color: var(--text); text-decoration: none; isolation: isolate; }
.dept-card .wt-media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; background-size: cover; }
.dept-card .wt-media::after { box-shadow: none; background: linear-gradient(to top, rgba(8,8,11,.94) 0%, rgba(8,8,11,.6) 34%, rgba(8,8,11,0) 62%); }
.dept-card .wt-media:not([style]) { background: linear-gradient(155deg, #1A1A22, #0E0E12); }
.dc-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(11,11,14,.55); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #ECECEF; }
.dc-icon .ico { width: 24px; height: 24px; }
.dept-card .dc-meta { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0; }
.dept-card .dc-meta h3 { margin: 0; font-size: clamp(1.75rem, 2.4vw, 2.125rem); font-weight: 800; letter-spacing: -.015em; line-height: 1; color: #ECECEF; }
.dept-card .dc-meta p { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: #C9C9D2; max-width: 32ch; }
.dc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; min-height: 44px; }
.dc-count { font-size: .9375rem; font-weight: 500; color: #A9A9B4; }
.dc-go { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); color: #ECECEF; transition: background .18s, color .18s; }
.dept-card:hover .dc-go { background: #ECECEF; color: #0B0B0E; }

/* ---------- home: projects ---------- */
.proj-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.proj-head h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.proj-filter { display: flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); overflow-x: auto; }
.proj-filter button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 0; border-radius: 9px; font: 500 .9375rem "Hanken Grotesk", system-ui, sans-serif; color: var(--muted); background: transparent; cursor: pointer; white-space: nowrap; }
.proj-filter button[aria-selected="true"] { color: var(--text); background: var(--active-tint); }
.proj-filter .pf-n { color: var(--muted-2); }
.proj-wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.proj-list { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--border); margin: 0; padding: 0; list-style: none; }
.proj-row { display: flex; align-items: center; gap: 16px; padding: 20px 16px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--muted); transition: background .15s, color .15s; }
.proj-row.is-active, .proj-row:hover, .proj-row:focus-visible { background: var(--active-tint); color: var(--text); }
.pr-txt { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; gap: 4px; }
.pr-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1.15; color: inherit; }
.pr-meta { font-size: .9375rem; color: var(--muted); }
.pr-thumb { display: none; }
.proj-preview { flex: 1 1 560px; min-width: 0; position: relative; display: block; min-height: 560px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: linear-gradient(155deg, var(--alt), var(--surface)); color: #ECECEF; text-decoration: none; }
.proj-preview .pp-media { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
.proj-preview .pp-media.is-active { opacity: 1; }
.proj-preview .pp-media img, .proj-preview .pp-media video { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.pp-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px; background: linear-gradient(to top, rgba(8,8,11,.9), rgba(8,8,11,0)); }
.pp-title { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.pp-meta { display: block; font-size: .9375rem; color: #C9C9D2; }
.pp-go { flex: none; display: inline-flex; align-items: center; padding: 13px 20px; border-radius: var(--rs); background: #ECECEF; color: #0B0B0E; font-weight: 600; font-size: .9375rem; }
.proj-wrap.is-single .proj-list { display: none; }
@media (max-width: 760px) {
  .proj-preview { display: none; }
  .proj-wrap.is-single .proj-list { display: flex; }
  .pr-thumb { display: block; width: 72px; height: 72px; flex: none; border-radius: 10px; overflow: hidden; background: var(--surface); }
  .pr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .proj-row { padding: 14px 4px; color: var(--text); }
  .pr-title { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .proj-preview .pp-media { transition: none; } }

/* ---------- commissions: type switch as text tabs ---------- */
#paths { padding-bottom: 0; }
.cm-tabs { gap: 4px 24px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.cm-tab {
  flex: none; min-width: 0; padding: 14px 0; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  background: transparent; color: var(--muted); font-size: 1rem; font-weight: 500; letter-spacing: normal; line-height: 1.2; text-align: left;
}
.cm-tab:hover { color: var(--text); background: transparent; }
.cm-tab.active { color: var(--text); background: transparent; border-bottom-color: var(--text); font-weight: 600; }
@media (max-width: 760px) {
  .cm-tabs { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 20px; scrollbar-width: none; }
  .cm-tabs::-webkit-scrollbar { display: none; }
  .cm-tab { flex: none; white-space: nowrap; min-height: 44px; }
}

/* ---------- commissions: draggable step rail ---------- */
.cm-rail { display: flex; flex-direction: column; gap: 10px; margin: 0 0 28px; padding: 24px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); scroll-margin-top: 96px; }
.cm-rail-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.cm-rail .cm-progress-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.cm-rail .cm-progress-meta span { font-size: .9375rem !important; font-weight: 500; color: var(--muted); }
.cm-rail .cm-progress-meta strong { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1.15; color: var(--text); }
.cm-rail-actions { display: flex; gap: 10px; }
.cm-rail-actions .btn { min-height: 44px; font-size: .9375rem; }
.cm-rail .cm-step-reset { border-radius: var(--rs); padding: 9px 15px; color: var(--text); }
.cm-rail .cm-step-reset .ico { width: 18px; height: 18px; }
.cm-rail .cm-progress-track {
  position: relative; height: 48px; margin: 6px 12.5% 0; background: none; border-radius: 0; cursor: pointer; touch-action: none;
  -webkit-user-select: none; user-select: none; outline-offset: 4px;
}
.cm-rail .cm-progress-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--border); }
.cm-rail .cm-progress-fill { position: absolute; left: 0; top: 50%; bottom: auto; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--text); transition: width .28s ease; }
.cm-stop { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; box-sizing: border-box; transform: translate(-50%, -50%); background: var(--surface); border: 2px solid var(--muted-2); pointer-events: none; }
.cm-stop.done { background: var(--text); border-color: var(--text); }
.cm-rail .cm-progress-dot {
  width: 44px; height: 44px; border: 2px solid var(--text); background: var(--surface); color: var(--text); font-size: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.45); cursor: grab; transition: left .28s ease; z-index: 1;
}
[data-theme="light"] .cm-rail .cm-progress-dot { box-shadow: 0 6px 16px rgba(20,20,28,.16); }
.cm-rail .cm-progress-dot .ico { width: 20px; height: 20px; }
.cm-rail .cm-progress-track.dragging { cursor: grabbing; }
.cm-rail .cm-progress-track.dragging .cm-progress-dot { cursor: grabbing; transition: none; transform: translate(-50%, -50%) scale(1.06); }
.cm-rail .cm-progress-track.dragging .cm-progress-fill { transition: none; }
.cm-rail .cm-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 0; }
.cm-rail .cm-step-tab {
  justify-content: center; text-align: center; min-height: 44px; padding: 6px 4px; border: 0; border-radius: var(--rs);
  background: transparent; color: var(--muted); font-size: .9375rem; font-weight: 500; line-height: 1.25;
}
.cm-rail .cm-step-tab:hover { color: var(--text); background: var(--active-tint); }
.cm-rail .cm-step-tab.active { color: var(--text); font-weight: 600; background: transparent; }
.cm-rail .cm-step-tab.done, .cm-rail .cm-step-tab.available { color: var(--muted); border: 0; }
.cm-rail .cm-step-n { display: none; }
@media (max-width: 600px) {
  .cm-rail { padding: 18px 14px; }
  .cm-rail-actions { width: 100%; }
  .cm-rail-actions .btn { flex: 1 1 auto; justify-content: center; }
  .cm-rail .cm-step-tab { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) { .cm-rail .cm-progress-dot, .cm-rail .cm-progress-fill { transition: none; } }

/* ---------- info: one page with contents ---------- */
.info-layout { display: flex; flex-wrap: wrap; gap: 48px; padding-top: clamp(32px, 5vw, 56px); }
.info-toc { flex: 1 1 200px; max-width: 240px; display: flex; flex-direction: column; gap: 4px; align-self: flex-start; position: sticky; top: 96px; }
.info-toc a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 10px; font-size: 1rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.info-toc a:hover { color: var(--text); background: var(--active-tint); }
.info-toc a[aria-current="true"] { color: var(--text); font-weight: 600; background: var(--active-tint); }
.info-main { flex: 999 1 640px; min-width: 0; }
.info-main .info-panel { display: block; scroll-margin-top: 96px; }
.info-main .info-panel + .info-panel { border-top: 1px solid var(--border); }
.info-main .info-panel > section { padding: 0 0 56px; }
.info-main .info-panel + .info-panel > section { padding-top: 56px; }
.info-main .wrap { max-width: none; padding: 0; }
@media (max-width: 760px) {
  .info-layout { gap: 20px; }
  .info-toc { position: static; max-width: none; flex: 1 1 100%; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .info-toc a { flex: none; min-height: 44px; border: 1px solid var(--border); }
}

/* ---------- account: sign in ---------- */
.acct.acct-signin-page { max-width: var(--maxw); width: 100%; min-width: 0; box-sizing: border-box; }
.acct-signin { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 6vw, 64px); padding-top: clamp(16px, 4vw, 40px); }
.as-form { flex: 1 1 380px; max-width: 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.as-form h1, .acct .as-form h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1; }
.acct .as-form .as-lede { margin: 12px 0 0; font-size: 1.125rem; color: var(--muted); max-width: 40ch; }
.acct .as-form .acct-form { max-width: none; gap: 14px; }
.acct .as-form label { font-size: .9375rem; font-weight: 600; }
.acct .as-form input[type=email] { height: 56px; padding: 0 18px; font-size: 1.0625rem; border-radius: 10px; }
.acct .as-form .acct-btn { justify-self: stretch; width: 100%; min-height: 56px; font-size: 1.0625rem; border-radius: 10px; }
.as-notes { display: flex; flex-direction: column; gap: 10px; }
.as-notes span { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--muted); }
.as-notes .ico { width: 18px; height: 18px; }
.as-sent-ico { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.as-sent-ico .ico { width: 30px; height: 30px; }
.as-row { display: flex; flex-wrap: wrap; gap: 10px; }
.acct .as-row .acct-btn { width: auto; min-height: 48px; justify-self: auto; }
.as-link { font: inherit; font-size: .9375rem; color: var(--muted); background: none; border: 0; padding: 0 8px; min-height: 48px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.as-preview { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r); border: 1px solid var(--border); background: var(--alt); }
.acct .as-preview .as-cap { margin: 0; font-size: .9375rem; color: var(--muted); }
.as-order { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); }
.as-order-head { display: flex; align-items: center; gap: 16px; }
.as-thumb { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; flex: none; border-radius: 10px; border: 1px solid var(--border); background: linear-gradient(155deg, var(--alt), var(--surface)); color: var(--muted-2); }
.as-thumb .ico { width: 28px; height: 28px; }
.as-ot { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.as-ot strong { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.375rem; font-weight: 700; line-height: 1.2; color: var(--text); }
.as-ot span, .as-state { font-size: .9375rem; color: var(--muted); }
.as-state { font-weight: 600; color: var(--text); white-space: nowrap; }
.as-stages { display: flex; flex-direction: column; gap: 8px; }
.as-bars, .as-labels { display: flex; gap: 6px; }
.as-bars i { flex: 1 1 0; height: 6px; border-radius: 3px; background: var(--border); }
.as-bars i.done { background: var(--text); }
.as-bars i.now { background: var(--muted-2); }
.as-labels span { flex: 1 1 0; font-size: .875rem; color: var(--muted); }
.as-labels span.now { color: var(--text); font-weight: 600; }
.as-msg { display: flex; gap: 12px; padding: 16px; border-radius: 10px; background: var(--alt); border: 1px solid var(--border); font-size: .9375rem; }
.as-msg strong { display: block; color: var(--text); }
.as-msg span { color: var(--muted); }
.as-points { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 4px 0 0; list-style: none; }
.as-points li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: var(--text); }
.as-points .ico { color: var(--muted); }
@media (max-width: 560px) {
  .as-labels span { font-size: .75rem; }
  .as-order { padding: 18px; }
  .as-order-head { flex-wrap: wrap; }
  .as-state { order: 3; flex-basis: 100%; }
  .as-ot { flex: 1 1 0; }
  .as-ot strong { font-size: 1.2rem; }
}

/* =====================================================================================================
   System pass (2026-11-03b): one set of scales and motion tokens for the header, menus, cabinet, waitlist,
   report, info and commissions. New and redesigned components read only these tokens.
   ===================================================================================================== */
:root {
  /* type */
  --fs-title: clamp(2.25rem, 4.2vw, 3rem);   /* page title (h1) */
  --fs-h2: 1.375rem;                          /* panel and section headings */
  --fs-h3: 1.125rem;                          /* card titles */
  --fs-body: 1rem;
  --fs-sm: .9375rem;
  --fs-xs: .875rem;                           /* the smallest text anywhere: 14px (Pasha's rule; was 13px until 12.11) */
  /* space: 4-based */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  /* radius: inner wells, cards inside panels, panels, controls */
  --rad-s: 12px; --rad-m: 18px; --rad-l: 24px; --rad-pill: 999px;
  /* control heights */
  --ctl: 44px; --ctl-sm: 36px; --ctl-lg: 52px;
  /* motion: durations */
  --t-press: 120ms;     /* press feedback */
  --t-hover: 160ms;     /* colour and hover */
  --t-ui: 220ms;        /* menus, chips, small state changes */
  --t-panel: 320ms;     /* tab panels, disclosures, view switches */
  --t-reveal: 620ms;    /* the one page-load sequence */
  --t-exit: 150ms;      /* anything leaving: about 70% of its entrance */
  --stagger: 70ms;
  /* motion: curves */
  --ease-out: cubic-bezier(.22, 1, .36, 1);        /* arrivals and UI under 600 ms */
  --ease-expo: cubic-bezier(.16, 1, .3, 1);        /* the page-load reveal */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);     /* things that travel while visible */
  --ease-exit: cubic-bezier(.4, 0, 1, 1);          /* leaving for good */
  /* status tones: --*-ink is the text colour of that tone on the current ground (AA on both themes) */
  --go: var(--open); --go-ink: #6FD08F;
  --wait: var(--waitlist); --wait-ink: #EDB458;
  --bad: var(--closed); --bad-ink: #F07466;
  --info: #8FA9EE; --info-ink: #A9BEF5;
  --well: rgba(255, 255, 255, .045);
  --well-2: rgba(255, 255, 255, .08);
  --hair: rgba(255, 255, 255, .08);
}
[data-theme="light"] {
  --go: #2E9A57; --go-ink: #1D6E3B;
  --wait: #C98516; --wait-ink: #7F5200;
  --bad: #C9473A; --bad-ink: #A3301F;
  --info: #3559B5; --info-ink: #2B4A99;
  --well: rgba(20, 20, 28, .045);
  --well-2: rgba(20, 20, 28, .08);
  --hair: rgba(20, 20, 28, .09);
}

/* ---------- layout stability: controls already have their glass shape before glass.js runs ---------- */
.site-hd .nav { border-radius: 999px; }
@media (max-width: 680px) { .site-hd .nav { border-radius: 30px; } }
.btn { border-radius: 999px; padding-left: 24px; padding-right: 24px; }
.btn.sm { padding-left: 18px; padding-right: 18px; }
.icon-btn, .acct-btn { border-radius: 999px; }
/* glass slabs look the same before and after their layer is injected */
:is(.acct-panel, .oc, .acct-tile, .acct-segc, .acct-seg, .wl-strip, .wl-me, .wl-slot, .wlx-card, .rp-done, .rp-card):not(.lg-host) {
  background: linear-gradient(180deg, var(--lg-slab-top, rgba(255,255,255,.075)), var(--lg-slab-bot, rgba(255,255,255,.02)));
  box-shadow: var(--lg-shadow, none), inset 0 1px 0 rgba(var(--lg-ink, 255,255,255), .10), inset 0 0 0 1px rgba(var(--lg-ink, 255,255,255), .08);
  border-color: transparent;
}

/* ---------- press feedback on every control that is not a glass host (glass hosts already give) ---------- */
@media (prefers-reduced-motion: no-preference) {
  :is(button, .btn, a.acct-btn, .icon-btn):not(.lg-host):not(:disabled):active { transform: scale(.97); transition: transform var(--t-press) var(--ease-out); }
}

/* ---------- one page-load sequence per page: [data-load] parts rise in order (--load-i), nothing else ---------- */
@keyframes bf3-load { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html.bf3-painted [data-load] { animation: bf3-load var(--t-reveal) var(--ease-expo) both; animation-delay: calc(60ms + var(--load-i, 0) * var(--stagger)); }
}

/* menus: open/close motion lives in glass.css (it must come after the glass menu rules) */
/* menu text on the thick material */
.cm-desc, .am-mail, .am-note, .com-est-p { color: color-mix(in srgb, var(--text) 74%, transparent); }

/* ---------- the account count no longer covers the icon ---------- */
.acct-trigger .acct-dot { top: 1px !important; right: -1px !important; min-width: 16px !important; height: 16px !important; line-height: 16px !important; box-shadow: 0 0 0 2px var(--bg); }

/* ---------- eyebrows removed: the commissions step count follows its title; the outcome question is a heading ---------- */
.cm-rail .cm-progress-meta { flex-direction: row-reverse !important; align-items: baseline !important; justify-content: flex-end; gap: 12px !important; flex-wrap: wrap; }
.calc .fn-q-h { font-family: "Bricolage Grotesque", sans-serif !important; font-size: var(--fs-h3) !important; font-weight: 700; letter-spacing: -.005em !important; text-transform: none !important; color: var(--text) !important; margin-bottom: var(--sp-3); }

/* ---------- shared form fields (cabinet, waitlist, report): sentence-case labels, one height ---------- */
:is(.acct, .wl-form, .rp-form) :is(.field > label, .ff > label, .ff-label) {
  font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: var(--fs-sm); font-weight: 600; letter-spacing: normal; text-transform: none; color: var(--text);
}
:is(.wl-form, .rp-form) .field input:not([type=file]):not([type=checkbox]):not([type=radio]), :is(.wl-form, .rp-form) select {
  height: var(--ctl-lg); padding: 0 18px; border-radius: 999px; font-size: 1rem; color: var(--text);
  background: linear-gradient(180deg, rgba(var(--lg-ink, 255,255,255), .02), rgba(var(--lg-ink, 255,255,255), .06));
  border: 1px solid rgba(var(--lg-ink, 255,255,255), .12); box-shadow: inset 0 1px 2px rgba(0,0,0,.25);
  transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
:is(.wl-form, .rp-form) .field textarea {
  padding: 14px 18px; border-radius: 20px; font-size: 1rem; color: var(--text);
  background: linear-gradient(180deg, rgba(var(--lg-ink, 255,255,255), .02), rgba(var(--lg-ink, 255,255,255), .06));
  border: 1px solid rgba(var(--lg-ink, 255,255,255), .12); box-shadow: inset 0 1px 2px rgba(0,0,0,.25);
}
:is(.wl-form, .rp-form) :is(input, textarea, select):focus { outline: none; border-color: rgba(var(--lg-ink, 255,255,255), .45); box-shadow: inset 0 1px 2px rgba(0,0,0,.25), 0 0 0 3px rgba(var(--lg-ink, 255,255,255), .08); }
[data-theme="light"] :is(.wl-form, .rp-form) :is(.field input:not([type=file]):not([type=checkbox]):not([type=radio]), .field textarea, select) { background: #fff; border-color: rgba(0,0,0,.14); box-shadow: inset 0 1px 2px rgba(0,0,0,.06); }
[data-theme="light"] :is(.wl-form, .rp-form) :is(input, textarea, select):focus { border-color: rgba(0,0,0,.5); box-shadow: 0 0 0 3px rgba(0,0,0,.07); }

/* ---------- status chip (cabinet, waitlist): dot + label, tinted from its own tone ---------- */
.stc { display: inline-flex; align-items: center; gap: 7px; flex: none; height: 28px; padding: 0 12px; border-radius: 999px; white-space: nowrap;
  font: 600 var(--fs-xs)/1 "Hanken Grotesk", system-ui, sans-serif; color: var(--chip-ink, var(--muted)); background: color-mix(in srgb, var(--chip, var(--muted)) 14%, transparent); }
.stc::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--chip, var(--muted)); flex: none; }
.stc.go { --chip: var(--go); --chip-ink: var(--go-ink); }
.stc.wait { --chip: var(--wait); --chip-ink: var(--wait-ink); }
.stc.bad { --chip: var(--bad); --chip-ink: var(--bad-ink); }
.stc.info { --chip: var(--info); --chip-ink: var(--info-ink); }
.stc.done { --chip: var(--text); --chip-ink: var(--text); }
.stc.off { --chip: var(--muted-2); --chip-ink: var(--muted); }
.stc.plain::before, .stc:has(.ico)::before { display: none; }
.stc .ico { width: 14px; height: 14px; }

/* ---------- AA for small secondary labels in the estimator (muted-2 measured 4.2:1 on the dark card) ---------- */
.calc .from, .calc .promo-label { color: var(--muted) !important; }

/* ---------- skeleton (reserved space while data loads) ---------- */
.skel { display: block; border-radius: var(--rad-s); background: var(--well-2); }
@media (prefers-reduced-motion: no-preference) {
  .skel { background: linear-gradient(90deg, var(--well) 0%, var(--well-2) 40%, var(--well) 80%) 0 0 / 300% 100%; animation: skel 1.4s linear infinite; }
}
@keyframes skel { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* =====================================================================================================
   Shell pass (2026-11-03c): header actions, Info menu, page heads and panels for the public pages.
   Reads only the system-pass tokens above.
   ===================================================================================================== */

/* ---------- header: signed out = text actions, signed in = avatar ---------- */
html.bf3-authed [data-auth-out], html:not(.bf3-authed) [data-auth-in] { display: none !important; }
.acct-dd { display: flex; align-items: center; }
.nav-auth { display: inline-flex; align-items: center; gap: var(--sp-1); }
.nav-signin, .nav-signup {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--rad-pill); white-space: nowrap;
  font: 500 var(--fs-sm)/1 "Hanken Grotesk", system-ui, sans-serif; text-decoration: none;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.nav-signin { color: color-mix(in srgb, var(--text) 86%, transparent); }
.nav-signin:hover { color: var(--text); background: rgba(var(--lg-ink, 255,255,255), .08); }
[data-theme="light"] .nav-signin:hover { background: rgba(20, 20, 28, .06); }
.nav-signup { color: var(--bg); background: var(--text); font-weight: 600; }
.nav-signup:hover { color: var(--bg); background: color-mix(in srgb, var(--text) 86%, var(--bg)); }
.nav-signin:focus-visible, .nav-signup:focus-visible, .acct-trigger:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.acct-trigger {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--text); cursor: pointer; -webkit-appearance: none; appearance: none;
}
.acct-av {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none; border-radius: 50%; overflow: hidden;
  background: color-mix(in srgb, var(--text) 14%, var(--surface)); color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(var(--lg-ink, 255,255,255), .16);
  font: 700 .875rem/1 "Hanken Grotesk", system-ui, sans-serif; letter-spacing: 0; -webkit-user-select: none; user-select: none;
  transition: box-shadow var(--t-hover) ease;
}
[data-theme="light"] .acct-av { box-shadow: inset 0 0 0 1px rgba(20, 20, 28, .1); }
.acct-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acct-trigger:hover .acct-av, .acct-trigger[aria-expanded="true"] .acct-av { box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 40%, transparent); }
.am-head .am-avatar.acct-av { width: 40px; height: 40px; border: 0; font-size: 1rem; color: var(--text); }
.nav-auth-m { display: none; }

/* ---------- Info menu: the Commissions menu's material, one column, centred under its button ---------- */
/* same component as the Commissions menu (.com-menu, .com-list, a.cm-row, .cm-ico); only the list column, sized to its rows */
.com-menu.info-menu { width: max-content; max-width: min(560px, calc(100vw - 48px)); grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) { .site-hd .nav-signin, .site-hd .nav-signup { padding: 0 12px; } }
@media (max-width: 680px) {
  .site-hd .nav-signup { display: none; }
  .site-hd .nav-signin { padding: 0 16px; color: var(--text); background: rgba(var(--lg-ink, 255,255,255), .09); box-shadow: inset 0 0 0 1px rgba(var(--lg-ink, 255,255,255), .12); }
  [data-theme="light"] .site-hd .nav-signin { background: rgba(20, 20, 28, .05); box-shadow: inset 0 0 0 1px rgba(20, 20, 28, .1); }
  .com-menu.info-menu { width: auto; }
  .site-hd .nav-links .nav-auth-m { display: flex; padding: var(--sp-2) var(--sp-1) var(--sp-1); margin-top: var(--sp-1); border-top: 1px solid var(--hair); }
  .site-hd .nav-links .nav-auth-m .btn { flex: 1 1 auto; justify-content: center; min-height: var(--ctl); height: auto; padding: 0 18px; color: var(--text); }
}

/* ---------- page head (same as waitlist / report): title, lede; a back button sits on the title's row ---------- */
section.pg { padding-top: clamp(28px, 4vw, 48px); }
.pg-head { display: grid; gap: var(--sp-3); max-width: 760px; margin: 0 0 var(--sp-6); }
.pg-head h1, .info-main .pg-head h2 { margin: 0; font-family: "Bricolage Grotesque", sans-serif; font-size: var(--fs-title); font-weight: 800; letter-spacing: -.022em; line-height: 1.04; color: var(--text); }
.pg-head .lede { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.pg-head .lede:empty { display: none; }
.pg-head--back { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--sp-4); align-items: center; max-width: none; }
.pg-head--back > .back-link.lg-iconbtn, .pg-head--back > .label.back-link.lg-iconbtn { grid-column: 1; grid-row: 1; margin: 0 !important; }
.pg-head--back > h1 { grid-column: 2; grid-row: 1; }
.pg-head--back > .lede, .pg-head--back > .cat-crumbs { grid-column: 2; }
.pg-head--back > .cat-crumbs { grid-row: 2; margin: 0; font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: var(--fs-sm); }
.pg-head--back > .cat-crumbs:empty { display: none; }
.pg-head--back.work-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; }
.pg-head--back.work-head > .work-head-cta { grid-column: 3; grid-row: 1; }
.pg-head--back.work-head > .work-head-cta:empty { display: none; }
.pg-head--back.work-head > .lede { grid-column: 2 / -1; max-width: 62ch; }
@media (max-width: 600px) {
  .pg-head--back { column-gap: var(--sp-3); }
  .pg-head--back > .lede, .pg-head--back > .cat-crumbs { grid-column: 1 / -1; }
  .pg-head--back.work-head > .work-head-cta { grid-column: 1 / -1; grid-row: auto; }
  .pg-head--back.work-head > .work-head-cta .btn { width: 100%; justify-content: center; }
}
/* the inline top margin the grids used to carry is now the head's bottom margin */
.pg [data-char-root], .pg [data-grid], .pg [data-dept-page], .pg [data-category], .pg [data-nsfw] { margin-top: 0 !important; }
.pg .case-grid.case-work { margin-top: var(--sp-5); }

/* a plain glass panel on any page (the glass layer arrives from glass.js; same look before it does) */
.pg-panel { position: relative; display: block; border-radius: var(--rad-l); padding: var(--sp-5); color: var(--text); text-decoration: none; }
.pg-panel:not(.lg-host) { background: linear-gradient(180deg, var(--lg-slab-top, rgba(255,255,255,.075)), var(--lg-slab-bot, rgba(255,255,255,.02))); box-shadow: inset 0 0 0 1px rgba(var(--lg-ink, 255,255,255), .08); }

/* sentence-case section labels on the work, project and NSFW pages (no uppercase mono eyebrows) */
.pg :is(.stage-nav-title, .bd-title, .viewer-lbl, .pipeline-title, .nsfw-block > .label) {
  font-family: "Bricolage Grotesque", sans-serif !important; font-size: var(--fs-h3) !important; font-weight: 700 !important;
  letter-spacing: -.005em !important; text-transform: none !important; color: var(--text) !important; margin: 0 0 var(--sp-3) !important;
}
.pg .spec { gap: 2px; padding: 10px 16px; border-radius: var(--rad-s); border-color: var(--hair); background: var(--well); }
.pg .spec-k { font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: var(--fs-xs); font-weight: 500; letter-spacing: normal; text-transform: none; color: var(--muted); }
.pg .spec-v { font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: var(--fs-body); font-weight: 600; color: var(--text); }
.pg .tech-toggle { font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: var(--fs-body); font-weight: 600; letter-spacing: normal; text-transform: none; padding: 14px 20px; min-height: var(--ctl-lg); }
.pg .tech-toggle .tr-ico { color: var(--muted); }
.pg .tech-toggle .tr-count { font-size: var(--fs-sm); font-weight: 500; letter-spacing: normal; color: var(--muted); }
.pg .substage > .sub-head { font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: var(--fs-sm); letter-spacing: normal; text-transform: none; }

/* ---------- contact ---------- */
.ct-page .ct-sec { margin-top: var(--sp-7); }
.ct-page .ct-sec:first-of-type { margin-top: 0; }
.ct-page .ct-h { margin: 0 0 var(--sp-4); font-family: "Bricolage Grotesque", sans-serif; font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.ct-page .ct-lede { margin: calc(-1 * var(--sp-2)) 0 var(--sp-5); font-size: var(--fs-body); }
.ct-page .ct-lede a { color: var(--text); }
.ct-reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-4); }
.ct-routes { display: contents; }
.ct-page :is(.ct-mail, .cr-card) {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: var(--sp-3);
  padding: var(--sp-5); border: 0; border-radius: var(--rad-l); min-width: 0;
}
.ct-page :is(.ct-mail, .cr-card):not(.lg-host) { background: linear-gradient(180deg, var(--lg-slab-top, rgba(255,255,255,.075)), var(--lg-slab-bot, rgba(255,255,255,.02))); box-shadow: inset 0 0 0 1px rgba(var(--lg-ink, 255,255,255), .08); }
.ct-page :is(.ct-mail-h, .cr-card-h) { display: flex; align-items: center; gap: var(--sp-3); }
.ct-page :is(.ct-mail-h, .cr-card-h) .ico { color: var(--muted); }
.ct-page :is(.ct-mail-h, .cr-card-h) :is(h2, h3) { margin: 0; font-family: "Bricolage Grotesque", sans-serif; font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.005em; line-height: 1.25; }
.ct-page .cr-hint { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.ct-page .cr-btn { margin-top: auto; }
.ct-page .ct-email-row { display: flex; align-items: center; gap: var(--sp-2); margin: auto 0 0; flex-wrap: nowrap; width: 100%; min-width: 0; }
.ct-page .ct-email { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; padding: 0; border: 0;
  font: 600 var(--fs-body)/1.3 "Hanken Grotesk", system-ui, sans-serif; color: var(--text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--text) 30%, transparent); text-underline-offset: 4px; }
.ct-page .ct-email:hover { text-decoration-color: var(--text); }
.ct-page .ct-copy { flex: none; width: var(--ctl); min-width: var(--ctl); height: var(--ctl); aspect-ratio: auto; align-self: auto; border-radius: 50%; color: var(--text); }
/* platform directory: groups in rows, compact glass tiles */
.ct-page .ct-group { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--sp-4) var(--sp-5); align-items: start; margin: 0; padding: var(--sp-5) 0; border-top: 1px solid var(--hair); }
.ct-page .ct-group:first-child { border-top: 0; padding-top: 0; }
.ct-page .ct-cat { margin: 10px 0 0; padding: 0; border: 0; font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: var(--fs-body); font-weight: 600; letter-spacing: normal; text-transform: none; color: var(--text); }
.ct-page .ct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: var(--sp-2); }
.ct-page .ct-card { flex-direction: row; justify-content: flex-start; gap: var(--sp-3); height: 52px; padding: 0 var(--sp-4) 0 var(--sp-3); border: 0; border-radius: var(--rad-m); background: none; overflow: visible; }
.ct-page .ct-card::before { content: none; }
.ct-page .ct-card:not(.lg-host) { background: var(--well); box-shadow: inset 0 0 0 1px var(--hair); }
.ct-page .ct-card img, .ct-page .ct-card .ph { width: 26px; height: 26px; flex: none; border-radius: 7px; }
.ct-page .ct-card .ph { font: 700 .6875rem/1 "Hanken Grotesk", system-ui, sans-serif; letter-spacing: 0; text-transform: none; background: var(--well-2); color: var(--muted); }
.ct-page .ct-name { font-size: var(--fs-sm); font-weight: 500; color: var(--text); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-page .ct-card:hover .ct-name { color: var(--text); }
@media (max-width: 760px) {
  .ct-page .ct-group { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
  .ct-page .ct-cat { margin: 0; }
  .ct-page .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- info: about as a profile card and a reading column ---------- */
.info-main .about-grid { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.info-main .about-card { display: grid; gap: var(--sp-5); }
@media (min-width: 901px) { .info-main .about-card { position: sticky; top: 104px; } }
.info-main .about-id { display: flex; align-items: center; gap: var(--sp-4); }
.info-main .about-card .avatar { width: 72px; height: 72px; flex: none; border: 0; box-shadow: inset 0 0 0 1px var(--hair); }
.info-main .about-card .avatar::after { content: none; }
/* a page heading for assistive technology where the visible design has none (commissions, info, reviews) */
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* without a portrait (site.avatar unset or failing) the card shows the brand's first letter */
.about-card .avatar-mono { font: 800 1.75rem/1 "Bricolage Grotesque", sans-serif; color: var(--muted); }
.about-card .avatar img:not([hidden]) + .avatar-mono { display: none; }
.info-main .about-name { margin: 0; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.75rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.1; }
.info-main .about-facts { display: grid; gap: 0; margin: 0; }
.info-main .about-facts > div { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) 0; border-top: 1px solid var(--hair); }
.info-main .about-facts dt { font-size: var(--fs-sm); color: var(--muted); }
.info-main .about-facts dd { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--text); text-align: right; }
.info-main .about-card .about-links-row { justify-content: flex-start; margin: 0; gap: var(--sp-2); }
.info-main .about-card .bio-links { justify-content: flex-start; gap: var(--sp-2); margin: 0; }
.info-main .about-body { display: grid; gap: var(--sp-5); min-width: 0; }
.info-main .about-body [data-about-bio] { display: grid; gap: var(--sp-4); }
.info-main .about-body [data-about-bio] .lede { margin: 0; max-width: 64ch; font-size: 1.0625rem; line-height: 1.65; color: color-mix(in srgb, var(--text) 82%, transparent); }
.info-main .about-body .focus-line { margin: 0; text-align: left; max-width: none; font-family: "Bricolage Grotesque", sans-serif; font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; }
.info-main .about-h { margin: 0 0 var(--sp-4); font-family: "Bricolage Grotesque", sans-serif; font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.005em; text-transform: none; color: var(--text); }
.info-main .about-body .stack-strip { text-align: left; margin: 0; padding-top: var(--sp-5); border-top: 1px solid var(--hair); }
.info-main .about-body .stack-logos { justify-content: flex-start; gap: var(--sp-4); margin: 0; }
.info-main .about-body .stack-logos .stk img { width: 40px; height: 40px; }
.info-main .about-sections:not(:empty) { padding-top: var(--sp-5); border-top: 1px solid var(--hair); }
.info-main .about-sec { margin: 0 0 var(--sp-5); }
.info-main .about-sec-h { font-size: var(--fs-h3); margin: 0 0 var(--sp-2); }
.info-main .about-sec-b { font-size: var(--fs-body); color: var(--muted); }
@media (max-width: 900px) {
  .info-main .about-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
}
/* Info tabs on a phone: one row of the same segmented control (it used to stack into a narrow column) */
@media (max-width: 600px) {
  .info-wrap .info-tabs { display: flex; flex-direction: row; flex-wrap: nowrap; width: 100%; box-sizing: border-box; border-radius: 999px; margin-bottom: var(--sp-5); }
  .info-wrap .info-tabs .info-tab { flex: 1 1 auto; min-width: 0; padding: 10px 8px; font-size: var(--fs-sm); text-align: center; }
}
.info-main .info-panel .pg-head { margin-bottom: var(--sp-5); }

/* ---------- privacy page: glass sections with a two-column definition list ---------- */
.pv-list { display: grid; gap: var(--sp-4); max-width: 920px; }
.pv-page .acct-panel { margin: 0; padding: var(--sp-5) var(--sp-6); border: 0; border-radius: var(--rad-l); }
.pv-page .acct-panel h2 { margin: 0 0 var(--sp-3); font-family: "Bricolage Grotesque", sans-serif; font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.pv-page .acct-panel p { margin: 0 0 var(--sp-3); font-size: var(--fs-body); line-height: 1.62; color: var(--muted); max-width: 72ch; }
.pv-page .acct-panel p:last-child { margin-bottom: 0; }
.pv-page .acct-panel code { font-size: .9em; padding: 1px 6px; border-radius: 6px; background: var(--well-2); color: var(--text); }
.pv-page .acct-rows { display: grid; grid-template-columns: minmax(160px, 240px) minmax(0, 1fr); gap: 0 var(--sp-5); margin: 0 0 var(--sp-3); }
.pv-page .acct-rows:last-child { margin-bottom: 0; }
.pv-page .acct-rows dt, .pv-page .acct-rows dd { margin: 0; padding: var(--sp-3) 0; border-top: 1px solid var(--hair); font-size: var(--fs-sm); line-height: 1.55; }
.pv-page .acct-rows dt:first-of-type, .pv-page .acct-rows dt:first-of-type + dd { border-top: 0; }
.pv-page .acct-rows dt { font-weight: 600; color: var(--text); }
.pv-page .acct-rows dd { color: var(--muted); }
@media (max-width: 600px) {
  .pv-page .acct-panel { padding: var(--sp-5); }
  .pv-page .acct-rows { grid-template-columns: minmax(0, 1fr); }
  .pv-page .acct-rows dd { padding-top: 0; border-top: 0; }
}

/* ---------- 404 ---------- */
.nf-page .nf-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: calc(-1 * var(--sp-2)) 0 var(--sp-7); }
.nf-page .nf-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-4); }
.nf-page .nf-link { display: grid; gap: var(--sp-2); align-content: start; }
.nf-page .nf-link-h { display: flex; align-items: center; gap: var(--sp-3); font-family: "Bricolage Grotesque", sans-serif; font-size: var(--fs-h3); font-weight: 700; color: var(--text); }
.nf-page .nf-link-h .ico { color: var(--muted); }
.nf-page .nf-link-p { font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }

/* Info accordions (FAQ, Terms, Privacy): the markers are neutral, like the rest of the system */
.info-main :is(.tos-item, .tos-cat, .qa-item, .qa-cat) > summary::before { color: var(--muted) !important; font-family: "Hanken Grotesk", system-ui, sans-serif !important; font-weight: 500; }
.info-main :is(.tos-item, .tos-cat, .qa-item, .qa-cat) > summary:hover { color: var(--text) !important; }

/* SFW / NSFW split cards: the shade under the text is dark in both themes, so the text stays light (AA) */
.pg .split-card .split-meta h3 { color: #fff; }
.pg .split-card .split-meta p { color: rgba(255, 255, 255, .86); }
.pg .split-card .split-meta .wt-go { font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: var(--fs-sm); font-weight: 600; letter-spacing: normal; text-transform: none; color: #fff; }

/* portfolio grids: tag filters and sort read as the system's controls (sentence case, no mono) */
.pg .grid-chips .chip { height: var(--ctl-sm); display: inline-flex; align-items: center; padding: 0 16px; border: 0; border-radius: var(--rad-pill);
  font: 500 var(--fs-sm)/1 "Hanken Grotesk", system-ui, sans-serif; letter-spacing: normal; text-transform: none;
  color: var(--muted); background: var(--well); box-shadow: inset 0 0 0 1px var(--hair); transform: none; }
.pg .grid-chips .chip:hover { color: var(--text); background: var(--well-2); }
.pg .grid-chips .chip.active { color: var(--bg); background: var(--text); box-shadow: none; }
.pg .grid-sort select { height: var(--ctl-sm); padding: 0 14px; border-radius: var(--rad-pill); border-color: var(--hair); background: var(--well);
  font: 500 var(--fs-sm)/1 "Hanken Grotesk", system-ui, sans-serif; letter-spacing: normal; text-transform: none; }
.pg .rv-sort-lbl { font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: var(--fs-sm); letter-spacing: normal; text-transform: none; }

/* ---------- performance (2026-11-04): no full-screen backdrop blur behind overlays that are already near-opaque ---------- */
/* the lightbox scrim was .93 opaque with a 4px backdrop blur over the whole screen: the blur cost a full-screen pass
   every frame and was invisible; the Studio dialog scrim gets a little more tint instead of its blur */
.lightbox { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(4, 4, 7, .95) !important; }
.st-dialog::backdrop { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(6, 6, 10, .7) !important; }
.wl-project-dialog { -webkit-backdrop-filter: blur(20px) saturate(1.5) !important; backdrop-filter: blur(20px) saturate(1.5) !important; }

/* impeccable QA (2026-11-12): even line breaks. Paragraphs avoid a single word on the last line (straggler), headings
   wrap into lines of similar length (unbalanced-heading). Browsers without text-wrap keep their normal wrapping. */
p, li, dd, figcaption, blockquote, .lede { text-wrap: pretty; }
h1, h2, h3, h4, .pw-h2, .acct-title { text-wrap: balance; }

/* no-pink (2026-11-12): the v21 pink --edge accent is retired (Pasha: no pink / coloured accents). Everything that still
   read it (fold signs, focus rings, the estimator progress, copy "Copied" states, a primary button's hover without
   glass) now uses the text colour. Fold signs everywhere look like the FAQ's: muted, the body font. */
:root, [data-theme="light"] { --edge: var(--text); }
:is(.tos-item, .tos-cat, .qa-item, .qa-cat) > summary::before { color: var(--muted) !important; font-family: "Hanken Grotesk", system-ui, sans-serif !important; font-weight: 500; }
:is(.tos-item, .tos-cat, .qa-item, .qa-cat) > summary:hover { color: var(--text) !important; }
.btn.primary:not(.lg-host):hover { background-color: color-mix(in srgb, var(--text) 86%, var(--bg)); color: var(--bg); }

/* 12.11: no native "drag the link / picture" ghost anywhere (it looked home-made, and Esc during such a drag left a
   card stuck in its pressed state). Elements made draggable on purpose (draggable="true") keep it. */
a:not([draggable="true"]), img:not([draggable="true"]), svg { -webkit-user-drag: none; }

/* 12.11: the item a search result or link opened (#faq-…, #tos-…, #svc-…) is marked for a moment */
.bf-hit { animation: bf-hit 2s var(--ease-out, ease-out) both; border-radius: 16px; }
@keyframes bf-hit { 0%, 35% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 45%, transparent); } 100% { box-shadow: 0 0 0 2px transparent; } }
@media (prefers-reduced-motion: reduce) { .bf-hit { animation: none; } }

/* 12.11 (Pasha: no ghost placeholders): skeletons keep their place but are never drawn; the real content arrives in one
   piece with the view's own fade */
.skel, .is-skel, .is-skel-view, .acct-view-skel, .acct-panel.skel { visibility: hidden !important; animation: none !important; }

/* 12.11 manual pass: the line under a work card's title (year, process kinds) was 11-12px IBM Plex Mono; the site rule is
   no mono labels and no text under 14px */
.work-meta span, .work-grid .work-meta span, body:not(.home) .work-grid .work-meta span, .nsfw-page .work-grid .work-meta span {
  font: 500 var(--fs-xs, .875rem)/1.35 "Hanken Grotesk", system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--muted); }
/* phones: the Commissions tabs stay on one row and scroll sideways instead of wrapping into a two-row pill */
@media (max-width: 560px) {
  html .cm-tabs.lg-host { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cm-tabs.lg-host::-webkit-scrollbar { display: none; }
  html .cm-tabs.lg-host .cm-tab { flex: none; white-space: nowrap; }
}

/* 12.11: the waitlist table (assets/wl-table.js): the public sheet's columns, on waitlist.html and Commissions > Waitlist */
.wlt-wrap { overflow-x: auto; border-radius: 20px; background: var(--well); box-shadow: inset 0 0 0 1px var(--hair); -webkit-overflow-scrolling: touch; }
.wlt { width: 100%; min-width: 760px; border-collapse: collapse; font-size: var(--fs-sm); }
.wlt th, .wlt td { padding: 12px 16px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.wlt th { font: 600 var(--fs-sm)/1.3 "Hanken Grotesk", system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--muted); background: none; }
.wlt tbody tr:last-child td { border-bottom: 0; }
.wlt tbody tr { transition: background-color var(--t-hover, 160ms) ease; }
.wlt tbody tr:hover { background: color-mix(in srgb, var(--text) 4%, transparent); }
.wlt tbody tr.is-me { background: color-mix(in srgb, var(--text) 7%, transparent); }
.wlt .c-num { width: 1%; font-weight: 700; font-variant-numeric: tabular-nums; }
.wlt .c-alias { font-weight: 600; color: var(--text); }
.wlt .c-alias.is-private { color: var(--muted); font-weight: 500; }
.wlt .is-none { color: var(--muted); }
.wlt-you { margin-left: 8px; color: var(--muted); font-weight: 500; }
.wlt-st { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.wlt-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.wlt-st.is-active::before { background: var(--wait, #e2b54a); }
.wlt-st.is-contacted::before { background: var(--text); }
.wlt-st.is-done::before { background: var(--go, #3fb950); }
.wlt-st.is-hold { color: var(--muted); }
.wlt .c-prog { min-width: 130px; }
.wlt-bar { display: inline-block; width: 72px; height: 6px; margin-right: 8px; vertical-align: middle; border-radius: 3px; background: color-mix(in srgb, var(--text) 14%, transparent); overflow: hidden; }
.wlt-bar i { display: block; height: 100%; background: var(--wait, #e2b54a); }
.wlt-pct { font-variant-numeric: tabular-nums; color: var(--muted); }
.wlt .c-quote { font-weight: 600; }
.wlt .c-quote.q-paid { color: var(--muted); font-weight: 500; }
.wl-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

/* 12.11 (Pasha): the header menus no longer show Open / Closed beside Commissions and Free work (it distracted) */
[data-menu-status] { display: none !important; }
/* the avatar ring eases in: the resting state carries the same two shadows, transparent (an inset-only shadow cannot
   animate into an outer one, so the hover ring jumped) */
.acct-trigger .acct-av { box-shadow: inset 0 0 0 1px rgba(var(--lg-ink, 255,255,255), .16), 0 0 0 0 transparent; transition: box-shadow .22s var(--ease-out, ease), transform .22s var(--ease-out, ease); }
[data-theme="light"] .acct-trigger .acct-av { box-shadow: inset 0 0 0 1px rgba(20, 20, 28, .1), 0 0 0 0 transparent; }
.acct-trigger:hover .acct-av, .acct-trigger[aria-expanded="true"] .acct-av { box-shadow: inset 0 0 0 1px rgba(var(--lg-ink, 255,255,255), .16), 0 0 0 3px color-mix(in srgb, var(--text) 32%, transparent); transform: scale(1.04); }
[data-theme="light"] .acct-trigger:hover .acct-av, [data-theme="light"] .acct-trigger[aria-expanded="true"] .acct-av { box-shadow: inset 0 0 0 1px rgba(20, 20, 28, .1), 0 0 0 3px color-mix(in srgb, var(--text) 26%, transparent); }
.acct-trigger:active .acct-av { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .acct-trigger .acct-av { transition: none; } }

/* 12.11 (Pasha: "для кого этот отступ"): the header menus are as wide as their rows, not a fixed 800px with an empty
   strip left over from the removed Open/Closed statuses; the dropdown chevron's built-in whitespace is taken back, so
   the gap after Commissions / Info reads the same as between the plain links */
@media (min-width: 681px) {
  .com-menu { width: max-content; max-width: min(800px, calc(100vw - 48px)); grid-template-columns: minmax(0, max-content) 236px; }
  .com-menu:not(:has(.com-est)) { grid-template-columns: minmax(0, max-content); }
}
.nav-dd-btn { gap: 4px; }
.nav-dd-btn .ico { margin-right: -4px; }

/* 12.11 audit: one radius and one inner padding for boxes on the public pages (24px, --rad-l / --sp-5), as on the
   cards and panels; the hero picture sits on the grid (a <figure> brought the browser's 40px side margins) */
.wlt-wrap, .work-card, .p4a-frag { border-radius: var(--rad-l); }
.p4a-drive, .rp-card, .rv-page .rvc-empty { padding: var(--sp-5); }
.home .hero .hero-art { margin-left: 0; margin-right: 0; border-radius: var(--rad-l); }
@media (min-width: 900px) { .home .hero .hero-art { margin-top: 0; margin-bottom: 0; } }
.ct-page .ct-card .ph, .bio-links .sc-ph, .sc-ph { font-size: 14px !important; }
/* 12.11 audit: on phones the public queue table keeps Position, Alias, Status and Quote, so it fits without a sideways
   scroll that cut the status words in half; Type, Earliest start, Progress and Stage show from 641px */
@media (max-width: 640px) {
  .wlt:not(.wlq-table) th:nth-child(3), .wlt:not(.wlq-table) td:nth-child(3),
  .wlt:not(.wlq-table) th:nth-child(5), .wlt:not(.wlq-table) td:nth-child(5),
  .wlt:not(.wlq-table) th:nth-child(6), .wlt:not(.wlq-table) td:nth-child(6),
  .wlt:not(.wlq-table) th:nth-child(7), .wlt:not(.wlq-table) td:nth-child(7) { display: none; }
}
/* 12.11 audit, phones: the project list is plain rows between hairlines (the grey "active" band ran to the edges with
   4px of padding and no radius); the hero ends 48px above the cards, like the other section gaps */
@media (max-width: 760px) {
  .proj-row, .proj-row.is-active, .proj-row:hover { padding: 16px 0; background: transparent; }
  .pr-thumb { border-radius: var(--rad-s); }
}
@media (max-width: 899px) {
  .home .hero .hero-art { margin-bottom: 0; }
  .home .hero { padding-bottom: 28px; }
}
@media (max-width: 640px) { .wlt:not(.wlq-table) { min-width: 0; } }
@media (max-width: 640px) { .wlt:not(.wlq-table) :is(th, td) { padding-left: 10px; padding-right: 10px; } .wlt:not(.wlq-table) td.c-alias { overflow-wrap: anywhere; } }
