/* MVP layer (2026-10-24): small fixes on top of the earlier files. Loaded last. */
.set-acts { display: inline-flex; align-items: center; gap: 16px; }
.pacts .btn { white-space: nowrap; flex: 1 0 auto; padding: 0 22px; } /* never squeezed past its label; the row wraps instead */
#volume { width: min(260px, 60%); accent-color: var(--red-hi); }

/* ---------- Stats on the low-ticket plan: two numbers in the open, the rest behind frosted glass ---------- */
.metric-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--grain) 0 0 / 160px, var(--surface); box-shadow: var(--edge), var(--shadow-1); border-radius: var(--r-lg); }
.metric-hero .metric { padding: 30px 32px 28px; gap: 12px; }
.metric-hero .metric span { font: 600 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bone); }
.metric-hero .metric strong { font: 400 clamp(56px, 6vw, 96px)/.95 var(--display); color: #fff4e4; }
.metric-hero .metric small { font-size: 15px; color: var(--bone-2); }
.metric-strip.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.locked { position: relative; margin-top: 22px; border-radius: var(--r-lg); overflow: hidden; }
.locked-content { display: grid; gap: 22px; filter: blur(6px) saturate(.75); opacity: .9; pointer-events: none; user-select: none; }
.locked::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 50% 45%, rgba(7, 5, 6, .15), rgba(7, 5, 6, .6)); }
.unlock-card { position: absolute; z-index: 2; left: 50%; top: min(50%, 260px); transform: translate(-50%, -50%); width: min(500px, calc(100% - 32px)); display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: 30px 28px 28px; border-radius: var(--r-lg); background: var(--grain) 0 0 / 160px, var(--surface-solid); box-shadow: var(--edge-hi), var(--shadow-2); }
.unlock-card h2 { margin: 0; font: 400 clamp(24px, 2vw, 29px)/1.15 var(--display); color: #fff; }
.unlock-card p { margin: 0 0 6px; color: var(--bone-2); font-size: 15.5px; line-height: 1.55; }
.lock-mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t-titan) 60%, transparent); background: rgba(240, 200, 112, .08); }
.lock-mark::before { content: ""; width: 16px; height: 18px; background: var(--t-titan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Cpath d='M3 8V5.5a5 5 0 0 1 10 0V8h1.5v10h-13V8zm2 0h6V5.5a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Cpath d='M3 8V5.5a5 5 0 0 1 10 0V8h1.5v10h-13V8zm2 0h6V5.5a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 860px) {
  .metric-hero { grid-template-columns: 1fr; } .metric-hero .metric { padding: 22px 20px; border-right: 0; border-bottom: 1px solid var(--line); } .metric-hero .metric:last-child { border: 0; }
  .metric-strip.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .unlock-card { top: 200px; }
}

/* ---------- Artists: binder index tabs instead of the label + dropdown + count box (Joe: "the status box is messy") ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.binder-index { display: flex; align-items: flex-end; gap: 16px; margin: 0 0 -1px; position: relative; z-index: 2; max-width: 1140px; margin-inline: auto; }
.index-tabs { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.index-tabs button { flex: none; display: inline-flex; align-items: baseline; gap: 9px; padding: 12px 16px 11px; border: 1px solid #897259; border-bottom: 0; border-radius: var(--r-md) var(--r-md) 0 0;
  background: linear-gradient(180deg, #1c1614, #120e0d); color: var(--bone-2); font: 600 15px/1 var(--sans); letter-spacing: .02em; transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease, transform var(--dur) var(--ease); transform: translateY(4px); }
.index-tabs button em { font-style: normal; font-size: 13.5px; color: var(--bone-3); }
.index-tabs button:hover { color: #fff; transform: translateY(1px); }
.index-tabs button[aria-pressed="true"] { color: #fff; transform: none; background: linear-gradient(180deg, #6e0f16, #3d070b); border-color: #b2453f; }
.index-tabs button[aria-pressed="true"] em { color: #f3d3a3; }
.index-search { flex: none; width: min(280px, 34%); padding-bottom: 8px; }
.index-search input { width: 100%; min-height: 40px; padding: 9px 14px 9px 36px; border: 1px solid #5d4a45; border-radius: 999px; color: #f5e9d8; font: 400 15px/1.3 var(--sans);
  background: #120d10 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a99a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") 12px 50% / 16px no-repeat; }
.index-search input:focus { outline: none; border-color: var(--bone-2); }
.binder-index + .work-note, .binder-index ~ .collection-binder { margin-top: 0; }
@media (max-width: 860px) {
  .binder-index { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .index-search { width: 100%; padding: 0; }
  .index-tabs button { padding: 10px 12px 9px; font-size: 14px; }
}
.binder-index ~ .collection-binder { margin-top: 0; border-top-left-radius: 0; }
.work-head p .textlink { margin-left: 6px; }

/* ---------- phone pass ---------- */
@media (max-width: 860px) {
  .desk { grid-template-columns: minmax(0, 1fr); }          /* 1fr let the binder push the page wider than the phone */
  .workspace, .stagebox, .top, .side { min-width: 0; }
  .binder-index, .index-tabs { min-width: 0; max-width: 100%; }
  .collection-spread { min-width: 0; }
  .top { justify-content: flex-start; row-gap: 10px; }
  .work-head .btn { width: 100%; }
  .metric-hero .metric strong { font-size: 56px; }
  .unlock-card { top: 230px; padding: 24px 20px; }
  .opening-top { padding: 8px 4px; }
  .tear-pack, .big-card { height: min(58vh, 520px); }
}
@media (max-width: 600px) {
  .collection-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phead h2 { font-size: 38px; }
  .pmeta { flex-wrap: wrap; }
}

/* ---------- the back-office menu on the IRIS logo ---------- */
.side { position: relative; }
.brand-menu { position: absolute; z-index: 30; top: 150px; left: clamp(24px, 2.4vw, 46px); width: 300px; padding: 10px; border-radius: var(--r-lg); background: var(--surface-solid);
  box-shadow: var(--edge-hi), var(--shadow-3); isolation: isolate; transform-origin: top left; animation: menu-in var(--dur) var(--ease) both; text-shadow: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.brand-menu p { margin: 10px 10px 4px; font: 700 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-3); }
.brand-menu p:first-child { margin-top: 4px; }
.brand-menu [role=menuitem] { display: grid; gap: 3px; width: 100%; padding: 10px 12px; border: 0; border-radius: var(--r-md); background: none; text-align: left; text-decoration: none; color: var(--bone); transition: background-color var(--dur-fast) ease; }
.brand-menu [role=menuitem]:hover, .brand-menu [role=menuitem]:focus-visible { background: rgba(236, 228, 216, .08); outline: none; }
.brand-menu b { font: 400 18px/1.15 var(--serif); color: #fff; }
.brand-menu span { font-size: 12.5px; color: var(--bone-2); }
@media (max-width: 860px) { .brand-menu { top: 64px; left: 12px; width: min(300px, calc(100vw - 24px)); } }

/* Settings: a small note under a row's name (Motion: how many loops are ready) */
.set-row > span small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--bone-3); }

/* Who's here (hall.js): under the menu, quiet until someone's around */
.hall { margin-top: auto; margin-right: 18px; width: min(250px, calc(100% - 18px)); padding: 14px 16px; border-radius: var(--r-lg); font: 500 14px/1.4 var(--sans); color: var(--bone-2);
  background: linear-gradient(180deg, rgba(14, 10, 11, .62), rgba(10, 7, 8, .38)); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(6px); }
.hall:empty { display: none; }
.hall-h { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font: 700 12.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-3); }
.hall-h ~ .hall-h { margin-top: 14px; }
.hall-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bone-3); }
.hall-dot.on { background: #7fd49b; box-shadow: 0 0 0 0 rgba(127, 212, 155, .6); animation: hall-pulse 2.4s ease-out infinite; }
@keyframes hall-pulse { 70% { box-shadow: 0 0 0 7px rgba(127, 212, 155, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 212, 155, 0); } }
.hall ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hall-people li { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: center; animation: hall-in .5s var(--ease) both; }
.hall-people i { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 12.5px/1 var(--sans); font-style: normal;
  color: #140709; background: var(--c); box-shadow: 0 0 0 2px rgba(0, 0, 0, .5), 0 0 14px color-mix(in srgb, var(--c) 45%, transparent); }
.hall-people b { color: var(--bone); font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hall-people b small { color: var(--bone-3); font-weight: 500; font-size: 12.5px; }
.hall-people span { font-size: 13px; line-height: 1.3; color: var(--bone-3); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hall-quiet { margin: 8px 0 0; font-size: 13px; color: var(--bone-3); }
.hall-today { margin: 0; color: var(--bone-2); } .hall-today b { color: var(--bone); font: 600 16px/1 var(--serif); }
.hall-feed { margin-top: 10px !important; gap: 5px !important; font-size: 13px; }
.hall-feed li { display: flex; gap: 5px; align-items: baseline; min-width: 0; white-space: nowrap; animation: hall-in .5s var(--ease) both; }
.hall-feed b { color: var(--bone); font-weight: 600; } .hall-feed i { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--bone-2); }
.hall-feed time { margin-left: auto; padding-left: 6px; color: var(--bone-3); font-size: 12.5px; }
@keyframes hall-in { from { opacity: 0; transform: translateY(4px); } }
@media (max-height: 760px) { .hall-feed { display: none !important; } }
@media (max-width: 860px) { .hall { display: none; } }
@media (prefers-reduced-motion: reduce) { .hall-dot.on, .hall-people li, .hall-feed li { animation: none; } }

/* laptop width: the search sits on its own line above the index tabs so all five tabs stay visible */
@media (max-width: 1150px) and (min-width: 861px) {
  .binder-index { flex-wrap: wrap; row-gap: 10px; }
  .index-search { order: -1; flex-basis: 100%; width: auto; display: flex; justify-content: flex-end; padding-bottom: 0; }
  .index-search input { width: min(320px, 100%); }
}
