/* flomi space — a BRAND project (logo / identity client; first Cipher Collective, Oct 30 2026). assets/js/brand-space.js.
   The work is the hero and the information sits under it (Juan, Oct 30 2026). The hero is a BOARD: pictures only, on a framed
   surface with tight gutters, one label under it ("Moodboard" / "Final Brand"), the palette dots hanging off its bottom edge,
   as on the reference carousel (instagram.com/p/DfCmLquDg0Q, reference only). The board breaks out wider than the text (the
   proof shots wide, the prose at a reading measure); on phones it runs edge to edge. Square slots + aspect-ratio = no layout
   shift as pictures load. No blur, no motion but one reveal. */

/* while a space's own skin loads (portal.js), nothing paints in the old one; portal.js lifts it on load or after 1.5s */
html.skinning body{visibility:hidden;}
/* the text keeps a reading measure (~720px); only the board breaks out of it. --bw = the board's width: up to 1080px (the
   lead picture is 720px wide, so wider would blur it), and for a moodboard never taller than the screen can show (bs-fit:
   its 5 x 3 grid is ~0.6 as tall as it is wide; 340px = the bar, the label, the peek below and ~45px of air above and
   below the board) */
body.bs-page .shell{max-width:760px;}
body.bs-page{--bw:min(1080px,calc(100vw - 48px));}
body.bs-page.bs-fit{--bw:min(1080px,calc(100vw - 48px),calc((100svh - 340px) * 1.66));}
/* ONE left edge (Juan, Oct 30 2026 late: the mixed widths "rub the wrong way"). On desktop the page's column IS the board's
   width: the bar, the board and its label fill it, and every block of text below starts at the same left edge, capped at a
   reading measure (~720px) with the room on its right left empty. Two widths, one alignment (breakout practice: only the
   pictures go wide; a shared left axis keeps them reading as one page). Phones keep the plain column. */
@media (min-width:701px){
  body.bs-page .shell{max-width:calc(var(--bw) + 36px);}
  body.bs-page #app>:not(.bs-stage){max-width:724px;}
}
/* the first screen: the board alone, centred in the screen with room all round, its label under it; the client's name
   peeks at the bottom as the cue that there's more (NN/g, "illusion of completeness": a full-screen hero with nothing
   peeking reads as the end of the page) */
@media (min-width:701px){
  /* .bs-hero is a grid (below): centre its rows, or the spare height stretches the label row */
  /* Nov 12 2026: the title now opens the page (.bs-title), so the stage no longer fills the screen on its own */
  .bs-hero.bs-stage{align-content:start;}
  .bs-stage .bs-hero-body{align-content:start;}
  /* the label sits under the board's own edges, as on the reference boards, not on the text column */
  .bs-stage .bs-cap,.bs-stage .bs-send-row{box-sizing:border-box;width:var(--bw);margin-left:calc(50% - var(--bw) / 2);padding:0 6px;}
}
/* under the name: the direction, then where things stand */
.bs-lede{margin:14px 0 30px;display:grid;gap:6px;}
.bs-lede .line{margin:0;font-size:18px;font-weight:600;color:var(--ink);}
.bs-lede .where{margin:0;font-size:15px;color:var(--soft);}

/* Nov 21 2026: the hero's air below it at every width, on the 8px grid. It was 28px from 701px up and 0 on a phone, where "waiting
   on you" sat flush under the earlier-rounds stack (measured 0px at 375 on Cipher's space). */
.bs-hero.bs-stage{margin-bottom:32px;}
.bs{display:grid;gap:30px;margin-bottom:30px;}
.bs h2.disp{font-size:22px;margin:0 0 12px;}

/* the one slim line: anything open that the hero doesn't hold (sign, pay, an answer) */
.bs-open{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;margin:0;padding:12px 16px;border-radius:var(--r-sm);
  background:var(--panel);border:1px solid var(--line);border-left:4px solid var(--accent);font-size:14px;}
.bs-open b{font-weight:700;}
.bs-open a{color:var(--ink);text-underline-offset:3px;}

/* the hero */
.bs-hero{display:grid;gap:14px;scroll-margin-top:12px;}
.bs-hero-body{display:grid;gap:14px;}
.bs-switch{display:inline-flex;justify-self:start;border:1px solid var(--line);border-radius:var(--r-pill);padding:4px;background:var(--panel);}
.bs-switch button{font:inherit;font-size:13px;color:var(--soft);border:0;background:transparent;padding:6px 14px;border-radius:var(--r-pill);cursor:pointer;}
.bs-switch button[aria-pressed="true"]{background:var(--ink);color:var(--g);}
.bs-switch button:focus-visible{outline:2px solid var(--ink);outline-offset:2px;}

/* the board: a framed surface, wider than the text column (centred on it), never wider than its pictures can fill sharply
   (the moodboard's lead picture is 640px wide, so the board stops at 1080px: its hero slot is then ~650px) */
.bs-board{position:relative;box-sizing:border-box;width:var(--bw);margin-left:calc(50% - var(--bw) / 2);
  background:var(--panel);border:1px solid var(--line);border-radius:var(--r-card);padding:var(--gap);
  /* the reference's spacing: the gutter between pictures = the frame's inner padding ≈ 2.4% of the board's width
     (measured on instagram.com/p/DfCmLquDg0Q slide 2: ~22px on a 768px card); 22px at 929px wide, 18 at 763 */
  --gap:clamp(8px,calc(var(--bw) * .024),22px);}
.bs-board.has-dots{margin-bottom:22px;}
/* nested corners (Nov 12 2026, from @zanderwhitehurst's "inner radius + gap = outer radius"): the frame's corner is the
   pictures' 12px plus the gutter, so the two curves run parallel instead of the frame looking tighter than what it holds */
@media (min-width:701px){.bs-board{border-radius:calc(12px + var(--gap));}}
.bs-bento{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:120px;grid-auto-flow:dense;gap:var(--gap,6px);}
.bs-tile{position:relative;min-width:0;border-radius:12px;overflow:hidden;background:var(--sunk);margin:0;}
.bs-tile button.open{display:block;width:100%;height:100%;border:0;padding:0;background:none;cursor:zoom-in;}
.bs-tile img{display:block;width:100%;height:100%;object-fit:cover;}
.bs-tile .cr{position:absolute;left:8px;bottom:8px;font-size:10px;color:var(--ink);
  background:color-mix(in srgb,var(--panel) 85%,transparent);padding:2px 6px;border-radius:3px;max-width:calc(100% - 16px);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.bs-tile .open:focus-visible{outline:3px solid var(--ink);outline-offset:-3px;border-radius:12px;}
.bs-tile .role{position:absolute;left:8px;top:8px;font-size:10px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink);background:color-mix(in srgb,var(--panel) 85%,transparent);padding:2px 6px;border-radius:3px;}
/* the moodboard: 5 square columns, the lead picture 3 x 3 on the left, the rest one square each (7 pictures tile exactly) */
.bs-mood{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:auto;}
.bs-mood>.bs-tile{aspect-ratio:1;}
.bs-mood>.bs-tile:first-child{grid-column:1 / 4;grid-row:1 / 4;aspect-ratio:auto;}
/* the pictures sit out of the flow, so the square slots size the rows (a 640 x 800 lead picture never stretches them) */
.bs-mood .bs-tile button.open{position:absolute;inset:0;}
/* the final brand: in real use first, in the board's own sizes */
.bs-t-hero{grid-column:span 3;grid-row:span 4;}
.bs-t-tall{grid-column:span 2;grid-row:span 3;}
.bs-t-wide{grid-column:span 3;grid-row:span 2;}
.bs-t-sq{grid-column:span 2;grid-row:span 2;}
/* the palette: dots that hang off the board's bottom edge (the reference's "Final Brand" boards); the hex is in each dot's name */
.bs-dots{position:absolute;left:0;right:0;bottom:-20px;display:flex;justify-content:center;margin:0;padding:0;list-style:none;}
.bs-dots li{width:40px;height:40px;border-radius:50%;border:3px solid var(--g);margin:0 -4px;}
.bs-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}

/* the label under the board: what it is, and the whole reference board */
.bs-cap{display:grid;gap:6px;}
.bs-cap .row{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;justify-content:space-between;}
.bs-cap .k{margin:0;}
.bs-cap a{color:var(--ink);font-weight:600;font-size:14px;text-underline-offset:3px;}

/* a round: the options as big tiles; picking one IS the action (a text to us, filled in) */
.bs-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:var(--gap,6px);}
/* Nov 12 2026: three options wrapped 2 + 1 under ~810px (240px floor), leaving the third alone on the left. From tablet width up a
   round of three is one row, four is two rows of two, then one row on wide screens; phones keep one option per row. */
@media (min-width:701px){
  .bs-options[data-n="3"]{grid-template-columns:repeat(3,minmax(0,1fr));}
  .bs-options[data-n="4"]{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (min-width:1100px){.bs-options[data-n="4"]{grid-template-columns:repeat(4,minmax(0,1fr));}}
/* Nov 13 2026: stacked on a phone, each option ends with its verdict, so the next option's name needs air above it */
@media (max-width:700px){.bs-options{row-gap:36px;}}
.bs-team{border-left-color:var(--ink);}
.bs-opt{margin:0;display:grid;gap:10px;align-content:start;}
.bs-opt .bs-tile{aspect-ratio:1;}
.bs-opt .bs-tile.bs-worn{aspect-ratio:16 / 9;}
.bs-opt figcaption{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;justify-content:space-between;font-size:15px;font-weight:600;padding:0 4px;}
/* Nov 13 2026: the concept's why under its name (the caption's last line, so the name row stays one subgrid row) */
.bs-opt figcaption .why{flex:1 1 100%;margin-top:-4px;font-size:14px;font-weight:400;line-height:1.45;color:var(--soft);max-width:60ch;}
/* Nov 5 2026: Kaylee's three reactions per option, a joined strip; the chosen one fills with ink (never the accent that means "sent") */
.bs-react{display:inline-flex;border:1.5px solid var(--line);border-radius:var(--r-pill);overflow:hidden;}
.bs-react button{font:inherit;font-size:13px;font-weight:600;line-height:1.2;padding:8px 12px;margin:0;border:0;background:transparent;color:var(--ink);cursor:pointer;white-space:nowrap;
  -webkit-tap-highlight-color:transparent;transition:background-color var(--dur-fast,.18s) ease,color var(--dur-fast,.18s) ease;}
.bs-react button+button{border-left:1.5px solid var(--line);}
.bs-react button[aria-pressed="true"]{background:var(--ink);color:var(--g);}
.bs-react button:active{opacity:.7;}
.bs-react button:focus-visible{outline:3px solid var(--ink);outline-offset:-3px;}
/* Nov 12 2026: the worn picture's colourways, the same joined strip as the reactions, under the picture; the chosen one in ink */
.bs-ways{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin-top:-2px;padding:0 4px;}
.bs-ways-now{font-size:13px;color:var(--soft);}
/* Nov 13 2026: lettering versions under the symbol (the colourway strip's look) and the two likes under the reactions */
.bs-versions .bs-ways-strip button{min-width:40px;}
/* Nov 13 2026 (Juan: "is it clear which one they're liking out of all of the lettering choices?"): a liked version keeps a dot on
   its number after they switch away; an option with one lettering keeps the row, empty, so the options line up */
.bs-versions .bs-ways-strip button.liked::after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-left:6px;vertical-align:middle;}
.bs-none{visibility:hidden;}
/* Nov 13 2026: stacked on a phone there is no neighbour to line up with, so the empty lettering row would only be a gap */
@media (max-width:700px){.bs-none{display:none;}}
.bs-opt>.bs-react{justify-self:start;margin:0 4px;max-width:calc(100% - 8px);}
.bs-opt>.bs-react button{white-space:normal;}
/* one row per part (name, symbol, lettering, likes, worn, colour, verdict): side by side, each part starts at the same height in
   every option, whatever wraps in its neighbour (subgrid; without it the hidden lettering row still keeps the tiles level) */
@supports (grid-template-rows:subgrid){
  @media (min-width:701px){
    .bs-opt{grid-row:span 7;grid-template-rows:subgrid;row-gap:10px;}
    .bs-o-name{grid-row:1;}.bs-o-logo{grid-row:2;}.bs-opt>.bs-versions{grid-row:3;}.bs-likes{grid-row:4;}
    .bs-opt>.bs-worn{grid-row:5;}.bs-colours{grid-row:6;}.bs-verdict{grid-row:7;}
  }
}
/* Nov 13 2026: how the round works, above the options (instructions before the controls) */
.bs-how{display:grid;gap:6px;padding:0 6px;max-width:68ch;}
.bs-how-k{margin:0;font-size:17px;font-weight:700;color:var(--ink);}
.bs-how ol{margin:0;padding-left:22px;display:grid;gap:4px;font-size:14.5px;line-height:1.45;color:var(--ink);}
.bs-how-note{margin:0;font-size:14px;color:var(--soft);}
/* Nov 12 2026: the logo follows the merch swatch; its art is light-on-#191919, so the light way inverts it (ground → ~#f4f4f4) */
.bs-light{filter:invert(1) brightness(1.06);}
.bs-opt .bs-tile img{transition:filter var(--dur-fast,.18s) ease;}
.bs-opt.loved .bs-tile{outline:3px solid var(--ink);outline-offset:-3px;}
.bs-opt.passed .bs-tile{opacity:.55;transition:opacity var(--dur-fast,.18s) ease;}
.bs-send-row{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;justify-content:space-between;margin:16px 0 28px;padding:0 6px;}
.bs-send-hint{margin:0;font-size:14px;color:var(--soft);flex:1 1 240px;}
/* Nov 12 2026 (audit): never dimmed. Before any reaction a tap says what to do first and goes there (web-build: a button that
   can't proceed names the fix at full strength); space-motion.css carries the hover */
.bs-send{display:inline-block;font-size:14px;font-weight:700;color:var(--oncolor);background:var(--accent);border-radius:var(--r-pill);padding:10px 18px;text-decoration:none;}
.bs-send:focus-visible{outline:3px solid var(--ink);outline-offset:2px;}
/* Nov 13 2026: "save my picks" is a button that saves on the page (it was a link that opened a text); "or text us" sits beside it */
button.bs-send{border:0;font-family:inherit;line-height:1.2;cursor:pointer;-webkit-appearance:none;appearance:none;}
button.bs-send[aria-busy="true"]{cursor:progress;}
.bs-send-act{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;}
.bs-text-us{font-size:13.5px;color:var(--soft);text-underline-offset:3px;}
.bs-text-us:focus-visible{outline:3px solid var(--ink);outline-offset:2px;}
/* Nov 13 2026: one optional note per person, saved with the picks (what's off, or something they like); the page's panel + line */
.bs-note{flex:1 1 100%;display:grid;gap:6px;}
.bs-note>*{max-width:68ch;}   /* the box takes its own row (hint + button stay together under it); its contents keep a reading width */
.bs-note label{font-size:14px;font-weight:700;color:var(--ink);}
.bs-note-opt{font-weight:400;color:var(--soft);}
.bs-note textarea{box-sizing:border-box;width:100%;min-height:76px;resize:vertical;font:inherit;font-size:16px;line-height:1.4;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:var(--r-sm);padding:10px 12px;margin:0;}
.bs-note textarea::placeholder{color:var(--soft);opacity:.8;}
.bs-note textarea:focus-visible{outline:3px solid var(--ink);outline-offset:2px;}
.bs-note-left{font-size:13px;color:var(--soft);min-height:0;}
.bs-note-left:empty{display:none;}
.bs-who{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:14px;color:var(--soft);}
.bs-who[hidden]{display:none!important;}
.bs-who-q{font-weight:700;color:var(--ink);}
.bs-who-switch{font:inherit;font-size:14px;padding:6px 2px;margin:0;border:0;background:none;color:var(--ink);text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
.bs-who-switch:focus-visible{outline:3px solid var(--ink);outline-offset:2px;}
@media (prefers-reduced-motion:reduce){.bs-react button,.bs-send,.bs-opt.passed .bs-tile,.bs-opt .bs-tile img{transition:none;}}
.bs-opt.picked .bs-tile{outline:3px solid var(--ink);outline-offset:-3px;}
.bs-opt .yours{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);}

/* below the hero */
.bs-sec{scroll-margin-top:12px;}
.bs-list{list-style:none;margin:0;padding:0;background:var(--panel);border-radius:var(--r-card);}
.bs-list li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 14px;padding:12px 18px;border-bottom:1px solid var(--line);font-size:14.5px;}
.bs-list li:last-child{border-bottom:0;}
.bs-list .when{font-size:11px;color:var(--soft);padding-top:4px;white-space:nowrap;letter-spacing:.04em;}
.bs-list .src{grid-column:2;font-size:12.5px;color:var(--soft);}
.bs-list a{color:var(--ink);font-weight:600;text-underline-offset:3px;overflow-wrap:anywhere;}
.bs-next{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;margin:0;padding:16px 18px;background:var(--panel);border-radius:var(--r-card);}
.bs-next .when{font-family:var(--font-disp);font-weight:800;font-size:20px;letter-spacing:-.02em;}
.bs-quiet{margin:0;color:var(--soft);font-size:14px;}
/* what we heard (Nov 5 2026): the label column is a word, not a date, so it gets its own width and wraps on phones */
.bs-heard-from{margin:0 0 12px;font-size:14.5px;color:var(--soft);}
.bs-heard li{grid-template-columns:minmax(0,9.5em) minmax(0,1fr);}
.bs-heard .when{white-space:normal;text-transform:none;letter-spacing:0;font-size:12.5px;}
.bs-heard-check{margin:12px 0 0;font-size:14.5px;}
.bs-heard-check a{color:var(--ink);font-weight:600;text-underline-offset:3px;}
@media (max-width:560px){.bs-heard li{grid-template-columns:minmax(0,1fr);}.bs-heard .src{grid-column:1;}}
.bs-files h3{font-size:14px;margin:18px 0 6px;color:var(--soft);font-weight:600;}
.bs-files h3:first-of-type{margin-top:0;}
.bs-files .incl{margin:0 0 8px;font-size:13px;color:var(--soft);}
.bs-reach a{color:var(--ink);font-weight:700;}

/* the viewer: full size, own dialog (no backdrop blur: the portal's .lightbox blurs, this one doesn't) */
.bs-lb{border:0;padding:0;background:transparent;max-width:min(94vw,900px);width:auto;color:#ECE7DA;}
.bs-lb::backdrop{background:rgba(10,12,20,.92);}
.bs-lb figure{margin:0;display:grid;place-items:center;gap:10px;}
.bs-lb img{display:block;max-width:min(92vw,880px);max-height:76vh;width:auto;height:auto;border-radius:10px;background:#111;}
.bs-lb figcaption{text-align:center;font-size:13.5px;max-width:60ch;}
.bs-lb .lb-nav{display:flex;justify-content:center;gap:10px;margin-top:12px;}

/* phones: the board runs edge to edge, two columns, the lead picture across both */
@media (max-width:700px){
  /* edge to edge = the column plus the shell's 18px gutter each side. Not 100vw + margin 50% - 50vw: WebKit grew the grid column to
     fit the 100vw board and the page scrolled sideways 14px on every iPhone (Nov 12 2026 audit; Chromium and Gecko hid it) */
  .bs-board{width:auto;margin-left:-18px;margin-right:-18px;border-radius:0;border-left:0;border-right:0;--gap:8px;}
  .bs-tile{border-radius:8px;}
  .bs-bento{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:84px;}
  .bs-t-hero,.bs-t-wide{grid-column:span 2;}
  .bs-t-hero{grid-row:span 5;}
  .bs-t-tall,.bs-t-sq{grid-column:span 1;grid-row:span 2;}
  .bs-mood{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;}
  .bs-mood>.bs-tile:first-child{grid-column:1 / 3;grid-row:auto;aspect-ratio:1;}
}
/* under ~400px the final brand stacks: one column, each file at its own shape (the ratio is set before it loads). The
   moodboard keeps its two square columns on every phone: stacked, its 7 pictures ran 2,864px (3.5 screens) at 375 before a
   word, and 390/393 iPhones fall under this width too. The viewer shows each picture whole. */
@media (max-width:399px){
  .bs-bento:not(.bs-mood){grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;}
  .bs-bento:not(.bs-mood)>*{grid-column:auto !important;grid-row:auto !important;aspect-ratio:auto !important;}
  .bs-bento:not(.bs-mood) .bs-tile img{height:auto;aspect-ratio:var(--ar,1);}
}
@media (prefers-reduced-motion:no-preference){
  .bs .bs-tile,.bs .bs-opt{animation:bs-in .45s var(--ease-out) both;}
  @keyframes bs-in{from{opacity:0;}to{opacity:1;}}
}

/* ── Nov 12 2026: the title that opens the page (brand-space.js .bs-title). Studio case studies open this way: Collins' Bose
   72px name + one line, the work from 376px down; Pentagram 52px, the work from 331px (measured at 1440x900). ── */
.bs-title{display:grid;gap:10px;padding:clamp(28px,7vh,96px) 0 clamp(22px,4vh,44px);}
.bs-title .bs-kick{margin:0;min-height:1.4em;font-variant-numeric:tabular-nums;}
.bs-title .chead{margin:0;}
.bs-title .chead h1{font-size:clamp(40px,6.2vw,76px);letter-spacing:-.045em;line-height:.98;text-wrap:balance;}
.bs-title .bs-lede{margin:6px 0 0;}
.bs-title .bs-lede .line{font-size:clamp(17px,1.5vw,20px);font-weight:500;}
.bs-title .csub{margin:4px 0 0;font-size:13px;}

/* the viewer's thumbnails (brand-space.js): what's coming next, the one on screen outlined in the viewer's cream */
.bs-lb .lb-thumbs{display:flex;gap:8px;justify-content:center;margin:12px auto 0;max-width:min(92vw,880px);overflow-x:auto;padding:4px;
  scrollbar-width:none;}
.bs-lb .lb-thumb{flex:none;width:56px;height:56px;padding:0;border:0;border-radius:8px;overflow:hidden;background:#222;cursor:pointer;
  opacity:.55;outline:2px solid transparent;outline-offset:2px;transition:opacity .2s ease,outline-color .2s ease;}
.bs-lb .lb-thumb img{display:block;width:100%;height:100%;object-fit:cover;}
.bs-lb .lb-thumb[aria-current="true"]{opacity:1;outline-color:#ECE7DA;}
.bs-lb .lb-thumb:hover{opacity:.85;}
.bs-lb .lb-thumb:focus-visible{outline-color:#ECE7DA;opacity:1;}
@media (prefers-reduced-motion:reduce){.bs-lb .lb-thumb{transition:none;}}

/* the section index in the left margin (brand-space.js index()): only where the margin is wide enough to hold it */
.bs-index{display:none;}
@media (min-width:1400px) and (hover:hover){
  .bs-index{display:grid;gap:8px;position:fixed;left:28px;top:50%;transform:translateY(-50%);width:120px;z-index:5;}
  .bs-index a{font-family:var(--font-mono);font-weight:600;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--soft);
    text-decoration:none;opacity:.6;transition:opacity var(--dur-fast,.2s) ease,color var(--dur-fast,.2s) ease;}
  .bs-index a:hover,.bs-index a:focus-visible{opacity:1;}
  .bs-index a[aria-current="true"]{color:var(--ink);opacity:1;}
}
@media (max-width:700px){.bs-title .csub{display:none;}} /* phones: the line under the lede repeats the plan pill; the work comes up sooner without it */

/* ── Nov 20 2026: THE PAGE REFRESH (the "flomi Page Refresh" preview; Studio night for spaces, Juan: "Yes, build them"). The order
   stays Juan's (Oct 30: the work is the hero; Nov 13: how a round works sits above its options), so this is the kit only: the
   line above the name in flomi.co's pixel face and the cyan that means "this needs you", and how the round works in a card of
   its own, so the steps read as one thing before the options. ── */
.bs-title .bs-kick{font-family:var(--font-px);font-size:20px;line-height:1.05;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);}
.bs-how{background:var(--card);border:1px solid var(--line);border-radius:var(--r-card);padding:16px 18px;gap:8px;}
/* Nov 20 2026 (icon sweep): Lucide icons beside the words on the reactions, your pick and each file's link (brand-space.js ICO). */
.bs-verdict button{display:inline-flex;align-items:baseline;justify-content:center;gap:.5em;}
.bs-verdict button .ico,.bs-opt .yours .ico{flex:none;}
.bs-opt .yours{display:inline-flex;align-items:baseline;gap:.5em;}
.bs-list a .ico{margin-right:.5em;}
/* Icons sit on the middle of their word's capital letters (Nov 20 2026, Juan: "shouldn't the glyphs be optically centred?").
   The icon rests on the text's baseline (its host aligns items by baseline), then moves down by half its own height less half a
   capital: its centre lands on the capitals' middle at any size, font or line-height (measured 0.00px; flex centring was 1.2px
   off where the line-height ran under the font's own height). The em line is the fallback for a browser without the cap unit.
   Chrome's precise-text-alignment guide does the same with text-box trim to cap. `npm run visual:text` fails an icon >1px off. */
svg.ico{transform:translateY(calc(50% - .35em));transform:translateY(calc(50% - .5cap))}

/* Nov 21 2026: earlier rounds as stacks under the round (brand-space.js earlierRounds; the team page's stack, booking lib/stack.js
   + team-page.css, in the space's own colours). Same day, restyled as the portal shelf PILE TILE (portal.css `.gallery
   .proj:not([open]) .peek`, copied by its computed values at 1440px): a 4:5 card inset 12px 12px 6px, four pieces fanned at -3.5° /
   3° / -5.5°, a "+N" pill off the corner, a 24px round chevron top right, the round in 13.5px 800 with a mono caps line under it.
   Tiles sit side by side; an open one takes the whole top row and reads as a heading over its options and the round's PDF. */
.bs-earlier{display:grid;gap:12px;margin-top:32px;}
.bs-earlier-h{margin:0;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--soft);}
.bs-earlier-piles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,132px),1fr));gap:12px;align-items:start;}
.bs-earlier .stack{min-width:0;border:1px solid var(--line);border-radius:16px;background:var(--panel);}
.bs-earlier .stack[open]{grid-column:1 / -1;grid-row:1;}
.bs-earlier .stack>summary{list-style:none;cursor:pointer;position:relative;border-radius:16px;}
.bs-earlier .stack>summary::-webkit-details-marker{display:none;}
.bs-earlier .stack>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
.bs-earlier .stack:not([open])>summary{display:flex;flex-direction:column;}
.bs-earlier .stack-pile{display:block;position:relative;margin:12px 12px 6px;aspect-ratio:4/5;}
.bs-earlier .stack-card{position:absolute;inset:0;border-radius:10px;overflow:hidden;background:#191919;box-shadow:0 2px 6px rgba(0,0,0,.35);transition:transform var(--dur-open,200ms) cubic-bezier(.2,.7,.3,1);}
.bs-earlier .stack-card img{display:block;width:100%;height:100%;object-fit:contain;}
.bs-earlier .stack-card:nth-child(1){z-index:4;}
.bs-earlier .stack-card:nth-child(2){z-index:3;transform:rotate(-3.5deg) translate(-3.5%,1.5%);}
.bs-earlier .stack-card:nth-child(3){z-index:2;transform:rotate(3deg) translate(3.5%,-1%);}
.bs-earlier .stack-card:nth-child(4){z-index:1;transform:rotate(-5.5deg) translate(-1%,3%);}
@media (hover:hover){
  .bs-earlier .stack>summary:hover .stack-card:nth-child(2){transform:rotate(-5deg) translate(-5%,2%);}
  .bs-earlier .stack>summary:hover .stack-card:nth-child(3){transform:rotate(4.5deg) translate(5%,-1.5%);}
  .bs-earlier .stack>summary:hover .stack-card:nth-child(4){transform:rotate(-7.5deg) translate(-1.5%,4%);}
}
.bs-earlier .stack-more{position:absolute;right:-4px;bottom:-4px;z-index:5;padding:calc(11px - .5cap) 10px;text-box:trim-both cap alphabetic;border-radius:999px;font-size:10.5px;font-weight:700;background:color-mix(in srgb,var(--ink) 14%,var(--panel));color:var(--ink);}
.bs-earlier .stack-say{display:grid;gap:4px;min-width:0;}
.bs-earlier .stack:not([open]) .stack-say{padding:10px 12px 12px;}
.bs-earlier .stack-h{font-family:var(--font-disp);font-weight:800;font-size:13.5px;line-height:1.3;letter-spacing:-.02em;color:var(--ink);}
.bs-earlier .stack-sub{color:var(--soft);overflow-wrap:anywhere;}
.bs-earlier .stack:not([open]) .stack-sub{font-family:var(--font-mono);font-size:8.5px;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;}
.bs-earlier .stack-go{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:var(--panel);color:var(--soft);}
.bs-earlier .stack-go::before{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform var(--dur-open,200ms);}
.bs-earlier .stack[open]>summary .stack-go::before{transform:translateY(2px) rotate(225deg);}
.bs-earlier .stack:not([open]) .stack-go{position:absolute;top:8px;right:8px;z-index:6;box-shadow:0 1px 3px rgba(0,0,0,.35);}
.bs-earlier .stack[open]>summary{display:flex;align-items:center;gap:12px;padding:12px 16px;min-height:44px;}
.bs-earlier .stack[open] .stack-pile{display:none;}
.bs-earlier .stack[open] .stack-say{flex:1 1 auto;}
.bs-earlier .stack[open] .stack-h{font-size:15px;}
.bs-earlier .stack[open] .stack-sub{font-size:13px;}
.bs-earlier .stack-body{padding:4px 16px 18px;display:grid;gap:14px;}
.bs-earlier-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));gap:14px;}
.bs-earlier-opt{margin:0;display:grid;gap:8px;align-content:start;}
.bs-earlier-opt .open{display:block;padding:0;border:0;background:#191919;border-radius:12px;overflow:hidden;cursor:zoom-in;aspect-ratio:1;}
.bs-earlier-opt .open img{display:block;width:100%;height:100%;object-fit:contain;}
.bs-earlier-opt.is-pick .open{outline:2px solid var(--accent);outline-offset:2px;}
.bs-earlier-opt figcaption{display:grid;gap:4px;font-size:14px;}
.bs-earlier-opt .tag{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--accent);}
.bs-earlier-opt .why{font-size:13px;line-height:1.45;color:var(--soft);}
.bs-earlier-pdf{justify-self:start;font-size:14px;font-weight:600;color:var(--ink);text-underline-offset:3px;}
.bs-earlier-pdf .ico{margin-right:.45em;}
@media (prefers-reduced-motion:reduce){.bs-earlier .stack-card,.bs-earlier .stack-go::before{transition:none;}}
/* Nov 21 2026: "save my picks" turns a ring while it saves (booking assets/css/team.css .is-working, the same ring) */
.bs-send[aria-busy="true"]::before{content:"";display:inline-block;width:.85em;height:.85em;margin-right:.45em;vertical-align:-.1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:bs-spin .7s linear infinite;}
@keyframes bs-spin{to{transform:rotate(360deg);}}
@media (prefers-reduced-motion:reduce){.bs-send[aria-busy="true"]::before{animation:none;opacity:.6;}}
/* Nov 21 2026: the earlier-round stacks open on the shelf's flight (assets/js/shelf.js; the .45s group timing and --vt-y are portal.css's) */
.bs-earlier-piles>.stack{contain:paint;}
