/* The designer's side: the same tokens as the client's (taste.css), laid out as a page that scrolls. RELUMA's manner:
   numbered-feeling captions, hairlines between rows, one dashed drop area. */
html, body.cab { height: auto; min-height: 100%; overscroll-behavior: auto; }
.cab { --wrap: 1120px; }
.cab-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 max(16px, (100vw - var(--wrap)) / 2); background: #0a0a0be6; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 -1px 0 var(--stroke-secondary); }
.cab-logo { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.cab-logo svg { width: 20px; height: 20px; }
.cab-logo__tool { color: var(--text-tertiary); }
.cab-bar__new { height: 36px; font-size: 15px; padding-inline: 16px; }
.cab-main { width: min(var(--wrap), 100% - 32px); margin-inline: auto; padding-block: 24px 64px; }

/* home: the drop area takes the screen */
.home { display: flex; flex-direction: column; gap: 40px; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: min(520px, 100svh - 300px); padding: 40px 24px; border-radius: var(--radius-modal); border: 1px dashed #ffffff3d; text-align: center; cursor: pointer; transition: border-color var(--micro-tint) var(--micro-tint-ease), background-color var(--micro-tint) var(--micro-tint-ease); }
.drop:hover, .drop:focus-visible, .drop.is-over { border-color: var(--accent); background: #8657e70d; outline: none; }
.drop__dot { width: 10px; height: 10px; margin-bottom: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px #ffffff14, 0 0 24px 6px #ffffff40; animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 10px #ffffff0a, 0 0 32px 10px #ffffff30; } }
.drop__title { font-size: 40px; line-height: 44px; font-weight: 500; letter-spacing: -.03em; }
.drop__sub { max-width: 34em; color: var(--text-secondary); font-size: 16px; line-height: 22px; text-wrap: balance; }
.drop__btn { margin-top: 12px; pointer-events: none; }
.drop__fmt { margin-top: 4px; }
@media (max-width: 599px) { .drop__title { font-size: 30px; line-height: 34px; } .drop { min-height: calc(100svh - 140px); } }

.mine__title { padding-bottom: 10px; box-shadow: inset 0 -1px 0 var(--stroke-secondary); }
.mine__list { list-style: none; padding: 0; }
.mine__list a { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 16px; padding: 12px 0; box-shadow: inset 0 -1px 0 var(--stroke-secondary); transition: background-color var(--micro-tint) var(--micro-tint-ease); }
.mine__list a:hover { background: #ffffff08; }
.mine__thumb { width: 72px; aspect-ratio: 16 / 10; border-radius: var(--radius-panel); background: var(--raised) center / cover; box-shadow: 0 0 0 1px var(--stroke-secondary); }
.mine__name { font-weight: 500; font-size: 15px; line-height: 20px; }
.mine__info { color: var(--text-tertiary); font-size: 13px; }

/* a board */
.board { display: flex; flex-direction: column; gap: 28px; }
.share { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius-modal); background: var(--surface); box-shadow: 0 0 0 1px var(--stroke-secondary); overflow: hidden; }
.share__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* the link: its fixed start, then its end, which the designer can write */
.share__url { flex: 1 1 260px; min-width: 0; display: flex; align-items: baseline; font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; cursor: text; }
.share__pre { flex: none; color: var(--text-secondary); }
.share__url input { flex: 1 1 auto; min-width: 3ch; height: 30px; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: var(--text-primary); outline: none; text-overflow: ellipsis;
  background-image: linear-gradient(90deg, #ffffff40 50%, transparent 0); background-size: 6px 1px; background-repeat: repeat-x; background-position: 0 100%; transition: color var(--micro-tint) var(--micro-tint-ease); }
.share__url input:hover { color: var(--accent-ink); }
.share__url input:focus { background-image: linear-gradient(var(--accent), var(--accent)); background-size: 100% 1px; }
.share__status.is-warn { color: #ffb36b; }
.share__status { color: var(--text-secondary); font-size: 14px; line-height: 18px; min-height: 18px; }
.share__line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.share__line i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); transition: transform .4s var(--micro-tint-ease), opacity .6s .4s; }
.share__line i.is-done { opacity: 0; }

.meta { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 24px; }
.meta__f { display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; box-shadow: inset 0 -1px 0 var(--stroke-secondary); }
.meta__f input { border: 0; background: none; padding: 0; height: 24px; font-size: 16px; outline: none; }
.meta__f input::placeholder { color: var(--text-tertiary); }
.meta__f:focus-within { box-shadow: inset 0 -1px 0 var(--accent); }
@media (max-width: 899px) { .meta { grid-template-columns: 1fr 1fr; gap: 18px 24px; } .meta__f:last-child { grid-column: 1 / -1; } }
@media (max-width: 599px) { .meta { grid-template-columns: 1fr; gap: 18px; } .share__url { flex-basis: 100%; font-size: 18px; } .share__pre { color: var(--text-tertiary); } }

.tabs { display: flex; gap: 4px; padding: 4px; width: max-content; border-radius: var(--radius-pill); background: #ffffff0a; box-shadow: inset 0 0 0 1px var(--stroke-secondary); }
.tab { height: 36px; padding-inline: 16px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 500; color: var(--text-secondary); }
.tab b { margin-left: 4px; font-weight: 500; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.tab.is-on { background: #f4f4f5; color: #0a0a0b; }
.tab.is-on b { color: #0a0a0b8f; }

.grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; animation: rise .5s var(--spring-ease) both; }
.tile__img { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-panel); overflow: hidden; background: var(--raised); box-shadow: 0 0 0 1px var(--stroke-secondary); }
.tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__name { font-size: 13px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__name em { font-style: normal; color: var(--text-tertiary); margin-right: 6px; font-variant-numeric: tabular-nums; }
.tile.is-up .tile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #0a0a0b00 30%, #0a0a0b99 50%, #0a0a0b00 70%) 0 0 / 300% 100% #0a0a0b66; animation: skel 1.2s linear infinite; }
.tile.is-err .tile__img { box-shadow: 0 0 0 1px #d11f4e; }
.tile.is-err .tile__name { color: #ff7b9a; }
.tile__x { position: absolute; z-index: 2; top: 6px; right: 6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #0a0a0bcc; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity var(--micro-tint) var(--micro-tint-ease), background-color var(--micro-tint); }
.tile__x svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.tile:hover .tile__x, .tile__x:focus-visible { opacity: 1; }
.tile__x:hover { background: #d11f4e; }
@media (hover: none) { .tile__x { opacity: 1; } }
.more { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; height: 64px; border-radius: var(--radius-panel); border: 1px dashed #ffffff2e; font-weight: 500; cursor: pointer; transition: border-color var(--micro-tint) var(--micro-tint-ease), background-color var(--micro-tint) var(--micro-tint-ease); }
.more:hover { border-color: var(--accent); background: #8657e70d; }

/* answers */
.answers { display: flex; flex-direction: column; gap: 14px; }
.empty { padding: 48px 20px; border-radius: var(--radius-modal); border: 1px dashed #ffffff26; text-align: center; color: var(--text-secondary); line-height: 22px; }
.who-card { padding: 18px; border-radius: var(--radius-modal); background: var(--surface); box-shadow: 0 0 0 1px var(--stroke-secondary); display: flex; flex-direction: column; gap: 14px; animation: rise .5s var(--spring-ease) both; }
.who-card__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.who-card__name { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.who-card__state { display: inline-flex; align-items: center; height: 24px; padding-inline: 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 500; background: #ffffff0f; color: var(--text-secondary); }
.who-card__state.is-done { background: #17784e33; color: #6fe3a8; }
.who-card__sum { margin-left: auto; color: var(--text-tertiary); font-size: 14px; }
.who-card__dl { height: 36px; font-size: 14px; padding-inline: 14px; }
.who-card__dl:disabled { opacity: .7; cursor: progress; }

/* what they liked on the left, what they passed on the right */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.side { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px; border-radius: var(--radius-panel); background: #ffffff05; box-shadow: inset 0 0 0 1px var(--stroke-secondary); }
.side--like { background: linear-gradient(180deg, #8657e714, #8657e705 60%); box-shadow: inset 0 0 0 1px #8657e740; }
.side__t { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: var(--text-secondary); }
.side__t svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; background: #ffffff14; }
.side--like .side__t svg { fill: #fff; stroke: none; background: var(--accent-fill); }
.side__t b { margin-left: auto; font-weight: 500; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.side__grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px 10px; }
.side__grid li { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.side__none { padding: 18px 0; color: var(--text-tertiary); font-size: 14px; text-align: center; }
.pk { display: block; width: 100%; padding: 0; border-radius: var(--radius-panel); cursor: zoom-in; }
.pk__img { display: block; aspect-ratio: 16 / 10; border-radius: inherit; background: var(--raised) center / cover; box-shadow: 0 0 0 1px var(--stroke-secondary); transition: transform .35s var(--spring-ease), box-shadow var(--micro-tint) var(--micro-tint-ease); }
.pk:hover .pk__img { transform: scale(1.03); box-shadow: 0 0 0 1px #ffffff4d, 0 12px 28px -12px #000; }
.pk:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.side--pass .pk__img { filter: saturate(.55) brightness(.8); }
.side--pass .pk:hover .pk__img { filter: none; }
.pk__name { font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk__name em { font-style: normal; color: var(--text-tertiary); margin-right: 5px; font-variant-numeric: tabular-nums; }
.pk__note { display: block; padding: 6px 8px; border-radius: 4px; background: #ffffff0d; font-size: 12px; line-height: 16px; color: var(--text-primary); quotes: "“" "”"; overflow-wrap: anywhere; }
@media (max-width: 699px) { .split { grid-template-columns: 1fr; } .who-card__sum { margin-left: 0; flex-basis: 100%; order: 3; } .who-card__dl { margin-left: auto; } .side__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* the closer look */
.is-locked, .is-locked body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; background: #050506f5; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade .2s ease both; touch-action: pan-y; }
.lb__fig { position: relative; flex: 1 1 auto; min-height: 0; cursor: zoom-out; --p: 24px; }
/* the picture whole inside what is left above the bar, whatever its shape */
.lb__img { position: absolute; inset: var(--p) var(--p) 8px; margin: auto; max-width: calc(100% - 2 * var(--p)); max-height: calc(100% - var(--p) - 8px); border-radius: 6px; box-shadow: 0 0 0 1px var(--stroke-secondary), 0 30px 80px -30px #000; cursor: default; user-select: none; -webkit-user-drag: none; }
.lb__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px calc(16px + env(safe-area-inset-bottom)); }
.lb__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; font-size: 15px; line-height: 20px; }
.lb__v { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: var(--accent-ink); }
.lb__name { font-weight: 500; }
.lb__note { flex-basis: 100%; color: var(--text-secondary); }
.lb__note:empty { display: none; }
.lb__ctl { flex: none; display: flex; align-items: center; gap: 6px; }
.lb__n { margin-right: 6px; font-variant-numeric: tabular-nums; }
.lb__b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #ffffff0f; box-shadow: inset 0 0 0 1px var(--stroke-secondary); transition: background-color var(--micro-tint) var(--micro-tint-ease); }
.lb__b:hover { background: #ffffff24; }
.lb__b svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 599px) { .lb__fig { --p: 10px; } .lb__bar { flex-direction: column; align-items: stretch; padding-inline: 16px; } .lb__ctl { justify-content: flex-end; } }

.board__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; box-shadow: inset 0 1px 0 var(--stroke-secondary); }
.board__del { color: #ff7b9a; font-size: 14px; font-weight: 500; }
.board__del:hover { text-decoration: underline; }

/* dropping files anywhere on the page */
.dropping { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: #0a0a0bcc; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.dropping span { padding: 18px 28px; border-radius: var(--radius-modal); border: 1px dashed var(--accent); font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.dropping.is-on { opacity: 1; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); translate: -50% 0; padding: 12px 18px; border-radius: var(--radius-pill); background: #f4f4f5; color: #0a0a0b; font-weight: 500; box-shadow: 0 16px 40px -10px #000; animation: rise .4s var(--spring-ease) both; }
.full { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; min-height: 64px; padding: 12px 16px; border-radius: var(--radius-panel); background: #ffffff08; box-shadow: inset 0 0 0 1px var(--stroke-secondary); color: var(--text-secondary); text-align: center; }
@media (max-width: 599px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; } }

/* the base references: a second way in on the home page, a tag on their tiles */
.base-start { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; width: 100%; margin-top: -24px; padding: 18px 20px; border-radius: var(--radius-modal); background: var(--surface); box-shadow: 0 0 0 1px var(--stroke-secondary); text-align: left; transition: box-shadow var(--micro-tint) var(--micro-tint-ease), background-color var(--micro-tint) var(--micro-tint-ease); }
.base-start:hover, .base-start:focus-visible { box-shadow: 0 0 0 1px var(--accent); background: #8657e70d; outline: none; }
.base-start:disabled { opacity: .6; cursor: progress; }
.base-start__fan { position: relative; width: 128px; height: 64px; }
.base-start__fan i { position: absolute; top: 4px; width: 72px; height: 50px; border-radius: var(--radius-panel); background: var(--raised) center top / cover; box-shadow: 0 0 0 1px #ffffff26, 0 8px 18px -8px #000; transition: transform .45s var(--spring-ease); }
.base-start__fan i:nth-child(1) { left: 0; transform: rotate(-8deg); }
.base-start__fan i:nth-child(2) { left: 18px; transform: rotate(-2deg); }
.base-start__fan i:nth-child(3) { left: 36px; transform: rotate(4deg); }
.base-start__fan i:nth-child(4) { left: 54px; transform: rotate(10deg); }
.base-start:hover .base-start__fan i:nth-child(1) { transform: rotate(-12deg) translateX(-6px); }
.base-start:hover .base-start__fan i:nth-child(4) { transform: rotate(14deg) translateX(6px); }
.base-start__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.base-start__txt b { font-size: 18px; line-height: 22px; font-weight: 500; letter-spacing: -.02em; }
.base-start__txt span { color: var(--text-secondary); font-size: 14px; line-height: 19px; }
.base-start__go { height: 40px; font-size: 15px; pointer-events: none; }
@media (max-width: 699px) { .base-start { grid-template-columns: 1fr; gap: 14px; } .base-start__go { justify-self: start; } }
.tile__tag { margin-left: 6px; padding: 1px 6px; border-radius: var(--radius-pill); background: #ffffff12; font-style: normal; font-size: 11px; color: var(--text-tertiary); }
.more--base { width: 100%; color: var(--text-primary); }

/* the taste profile */
.insight { display: flex; flex-direction: column; gap: 22px; }
.who-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 32px; padding-inline: 14px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; color: var(--text-secondary); box-shadow: inset 0 0 0 1px var(--stroke-primary); }
.chip:hover { color: var(--text-primary); }
.chip.is-on { background: #f4f4f5; color: #0a0a0b; box-shadow: none; }
.ins-stats { margin-top: -10px; color: var(--text-tertiary); font-size: 14px; font-variant-numeric: tabular-nums; }
.ins-note { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--radius-modal); background: #ffffff08; box-shadow: inset 0 0 0 1px var(--stroke-secondary); color: var(--text-secondary); line-height: 22px; }
.ins-note p { flex: 1 1 320px; }
.ins-note .btn { height: 38px; font-size: 15px; }
.ins-head { display: flex; flex-direction: column; gap: 8px; }
.ins-sent { font-size: 34px; line-height: 40px; font-weight: 500; letter-spacing: -.03em; color: var(--text-secondary); text-wrap: balance; }
.ins-sent b { font-weight: 500; color: var(--text-primary); }
@media (max-width: 599px) { .ins-sent { font-size: 26px; line-height: 31px; } }

/* every axis: its two poles, where the likes sit and where the passes sit */
.axes { display: flex; flex-direction: column; padding: 6px 20px 14px; border-radius: var(--radius-modal); background: var(--surface); box-shadow: 0 0 0 1px var(--stroke-secondary); }
.ax { display: grid; grid-template-columns: 130px 1fr 150px; align-items: center; gap: 18px; min-height: 52px; box-shadow: inset 0 -1px 0 var(--stroke-secondary); }
.ax__name { font-size: 14px; color: var(--text-secondary); }
.ax__track { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 12px; font-size: 12px; color: var(--text-tertiary); }
.ax__lo { text-align: right; }
.ax__bar { position: relative; height: 4px; border-radius: 2px; background: #ffffff14; }
.ax__span { position: absolute; top: 0; bottom: 0; background: #ffffff26; border-radius: 2px; }
.ax.is-strong .ax__span, .ax.is-leaning .ax__span { background: linear-gradient(90deg, #8657e766, #8657e7); }
.ax__l, .ax__p { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; }
.ax__l { background: var(--accent); box-shadow: 0 0 0 3px #0a0a0b, 0 0 16px #9568f9aa; }
.ax__p { background: #141416; box-shadow: inset 0 0 0 2px #ffffff80; }
.ax:not(.is-strong):not(.is-leaning) .ax__l { background: #ffffffb3; box-shadow: 0 0 0 3px #141416; }
.ax__v { display: flex; align-items: baseline; gap: 8px; font-weight: 500; font-size: 15px; }
.ax__v em { font-style: normal; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: var(--text-tertiary); }
.ax.is-strong .ax__v em { color: var(--accent-ink); }
.axes__key { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 12px; font-size: 12px; color: var(--text-tertiary); }
.axes__key span { display: inline-flex; align-items: center; gap: 6px; }
.axes__key i { width: 10px; height: 10px; border-radius: 50%; }
.k-l { background: var(--accent); }
.k-p { box-shadow: inset 0 0 0 2px #ffffff80; }
@media (max-width: 699px) {
  .axes { padding-inline: 14px; }
  .ax { grid-template-columns: 1fr auto; gap: 8px 12px; padding-block: 12px; }
  .ax__track { grid-column: 1 / -1; grid-row: 2; grid-template-columns: 44px 1fr 44px; }
}

/* the closest reference */
.near { display: flex; flex-direction: column; gap: 10px; }
.near__row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.nr { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 0; text-align: left; cursor: zoom-in; }
.nr__img { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-panel); background: var(--raised) center top / cover; box-shadow: 0 0 0 1px var(--stroke-secondary); transition: transform .35s var(--spring-ease), box-shadow var(--micro-tint) var(--micro-tint-ease); }
.nr--top .nr__img { box-shadow: 0 0 0 1px #8657e780, 0 24px 60px -30px #8657e7; }
.nr:hover .nr__img { transform: scale(1.015); }
.nr:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-panel); }
.nr__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nr__name { font-weight: 500; font-size: 15px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nr--top .nr__name { font-size: 18px; line-height: 24px; letter-spacing: -.02em; }
.nr__name em { font-style: normal; color: var(--text-tertiary); margin-right: 6px; font-variant-numeric: tabular-nums; }
.nr__meta { font-size: 13px; color: var(--text-tertiary); }
.nr__meta b { font-weight: 500; color: var(--text-secondary); }
.nr--top .nr__meta b { color: var(--accent-ink); }
.nr__why { font-size: 13px; color: var(--text-secondary); }
@media (max-width: 699px) { .near__row { grid-template-columns: 1fr 1fr; } .nr--top { grid-column: 1 / -1; } }

.mini { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; }
.mini li { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mini__n { margin-top: -4px; font-size: 12px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
@media (max-width: 899px) { .mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ins-notes { display: flex; flex-direction: column; gap: 10px; }
.ins-notes ul { list-style: none; padding: 0; display: flex; flex-direction: column; }
.ins-notes li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; box-shadow: inset 0 -1px 0 var(--stroke-secondary); }
.ins-notes q { quotes: "“" "”"; font-size: 16px; line-height: 22px; overflow-wrap: anywhere; }
.ins-notes span { font-size: 13px; color: var(--text-tertiary); }
.ins-foot { display: flex; gap: 10px; flex-wrap: wrap; }
.ins-foot .btn { height: 42px; font-size: 16px; }
.ins-split { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; border-radius: var(--radius-modal); background: #ffb36b0d; box-shadow: inset 0 0 0 1px #ffb36b33; }
.ins-split ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 21px; }
.ins-split .cap { color: #ffb36bcc; }

/* each person, with their own tags */
.each { display: flex; flex-direction: column; gap: 10px; }
.each__key { color: #ffb36bcc; }
.each__row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; padding: 10px 0; box-shadow: inset 0 -1px 0 var(--stroke-secondary); }
.each__who { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 599px) { .each__row { grid-template-columns: 1fr; gap: 8px; } }

/* the closest ones, four in a row; the ones they haven't seen get a "new" mark */
.near__row { grid-template-columns: 2fr 1fr 1fr 1fr; }
.near__row--even { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nr__img { position: relative; }
.nr__new { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--accent-fill); color: #fff; font-style: normal; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 899px) { .near__row, .near__row--even { grid-template-columns: 1fr 1fr; } .nr--top { grid-column: 1 / -1; } }

/* the axes, second: folded */
.ins-more { border-radius: var(--radius-modal); background: #ffffff05; box-shadow: inset 0 0 0 1px var(--stroke-secondary); }
.ins-more summary { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 500; }
.ins-more summary::-webkit-details-marker { display: none; }
.ins-more summary::before { content: "+"; width: 14px; color: var(--text-tertiary); }
.ins-more[open] summary::before { content: "–"; }
.ins-more .axes { margin: 0 12px 12px; }
.tgs__split { color: #ffb36bcc; }


/* ---------- motion and light (with fx.js) ---------- */
/* home: a hand of references over the headline; it opens when the cursor or a file comes near */
.drop { border: 0; gap: 14px; overflow: hidden; }
.drop:hover, .drop:focus-visible, .drop.is-over { background: radial-gradient(70% 60% at 50% 40%, #8657e714, transparent 70%); }
.drop__edge { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.drop__edge rect { width: calc(100% - 1px); height: calc(100% - 1px); fill: none; stroke: #ffffff33; stroke-width: 1; stroke-dasharray: 6 7; transition: stroke .3s ease; }
.drop:hover .drop__edge rect, .drop:focus-visible .drop__edge rect, .drop.is-over .drop__edge rect { stroke: var(--accent); animation: march .9s linear infinite; }
@keyframes march { to { stroke-dashoffset: -26; } }
.drop__fan { --cw: 168px; --ch: 112px; --open: 0; position: relative; width: var(--cw); height: calc(var(--ch) + 56px); margin-bottom: 18px; transform: perspective(1000px) rotateX(calc(var(--py, 0) * -14deg)) rotateY(calc(var(--px, 0) * 20deg)); transition: transform 1.2s var(--spring-ease); transform-style: preserve-3d; }
.drop__fan.is-open { --open: 1; }
.drop:hover .drop__fan.is-open { --open: 1.18; }
.drop.is-over .drop__fan.is-open { --open: 1.5; }
.drop__fan i { position: absolute; left: 0; top: 40px; width: var(--cw); height: var(--ch); border-radius: 6px; background: var(--raised) center top / cover no-repeat; box-shadow: 0 0 0 1px #ffffff1f, 0 24px 40px -14px #000; transform-origin: 50% 320%; transform: rotate(calc(var(--a) * var(--open))) translateY(calc(var(--open) * var(--lift))); transition: transform 1s var(--spring-ease); animation: hand-in 1.1s var(--spring-ease) both, float 6s ease-in-out infinite; }
.drop__fan i:nth-child(1) { --a: -22deg; --lift: 10px; z-index: 1; animation-delay: .02s, -1s; }
.drop__fan i:nth-child(2) { --a: 22deg; --lift: 10px; z-index: 1; animation-delay: .06s, -4s; }
.drop__fan i:nth-child(3) { --a: -14.5deg; --lift: 4px; z-index: 2; animation-delay: .1s, -2.5s; }
.drop__fan i:nth-child(4) { --a: 14.5deg; --lift: 4px; z-index: 2; animation-delay: .14s, -5s; }
.drop__fan i:nth-child(5) { --a: -7deg; --lift: 0px; z-index: 3; animation-delay: .18s, -3s; }
.drop__fan i:nth-child(6) { --a: 7deg; --lift: 0px; z-index: 3; animation-delay: .22s, -.5s; }
.drop__fan i:nth-child(7) { --a: 0deg; --lift: -6px; z-index: 4; animation-delay: .26s, -2s; }
@keyframes hand-in { from { opacity: 0; scale: .8; filter: blur(14px); } 55% { filter: blur(0); } to { opacity: 1; scale: 1; filter: blur(0); } }
@keyframes float { 50% { translate: 0 -7px; } }
.drop__title { font-size: clamp(44px, 7.6vw, 100px); line-height: .96; font-weight: 400; letter-spacing: -.05em; text-wrap: balance; }
@media (max-width: 599px) { .drop__fan { --cw: 116px; --ch: 78px; } .drop__title { font-size: 44px; line-height: 44px; } }
.drop__sub { animation: up-in .8s .35s var(--spring-ease) both; }
.drop__btn { animation: up-in .8s .45s var(--spring-ease) both; }
.drop__fmt { animation: up-in .8s .55s var(--spring-ease) both; }
.base-start { animation: up-in .9s .6s var(--spring-ease) both; }
.solo-start { margin-top: -24px; animation-delay: .5s; }
.solo-start + .base-start { margin-top: -28px; }
.solo-start__mark { display: grid; place-items: center; width: 64px; height: 64px; margin-inline: 32px; border-radius: 50%; background: var(--accent-fill); box-shadow: var(--stripes-glow), 0 14px 34px -12px #5b2fd6; transition: transform .5s var(--spring-ease); }
.solo-start__mark svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--spring-ease); }
.solo-start:hover .solo-start__mark svg { transform: translateX(3px); }
.solo-start .base-start__go { padding-inline: 22px; }
@media (max-width: 699px) { .solo-start__mark { width: 48px; height: 48px; margin-inline: 0; } }
@keyframes up-in { from { opacity: 0; transform: translateY(16px); } }
.base-start__fan i:nth-child(2) { transition-delay: .03s; } .base-start__fan i:nth-child(3) { transition-delay: .06s; } .base-start__fan i:nth-child(4) { transition-delay: .09s; }
.base-start:hover .base-start__fan i:nth-child(2) { transform: rotate(-4deg) translate(-2px, -4px); }
.base-start:hover .base-start__fan i:nth-child(3) { transform: rotate(6deg) translate(2px, -4px); }
.mine__list li { animation: up-in .7s var(--spring-ease) both; animation-delay: calc(var(--i, 0) * 50ms + .7s); }
.mine__thumb { transition: transform .5s var(--spring-ease); }
.mine__list a:hover .mine__thumb { transform: scale(1.06) rotate(-2deg); }
/* files coming near: the whole page waits for them */
.dropping { background: #0a0a0bb8; box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 180px -30px #8657e7cc; }
.dropping span { padding: 0; border: 0; border-radius: 0; font-size: clamp(56px, 10vw, 140px); line-height: 1; font-weight: 400; letter-spacing: -.05em; opacity: 0; transform: scale(.92); filter: blur(12px); transition: opacity .35s ease, transform .7s var(--spring-ease), filter .5s ease; }
.dropping.is-on span { opacity: 1; transform: none; filter: blur(0); }

/* tabs: one pill slides to the chosen tab */
.tabs { position: relative; }
.tabs__pill { position: absolute; top: 4px; left: 0; width: 0; height: 36px; border-radius: var(--radius-pill); background: #f4f4f5; pointer-events: none; }
.tabs__pill.is-live { transition: transform .6s var(--spring-ease), width .6s var(--spring-ease); }
.tab { position: relative; z-index: 1; }
.tab.is-on { background: none; }
.pane.pane-in > * { animation: up-in .6s var(--spring-ease) both; }

/* tiles: a picture develops while it uploads, the board glides around one that is removed */
.tile { animation: tile-in .8s var(--spring-ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes tile-in { from { opacity: 0; transform: translateY(18px) scale(.94); } }
.tile__img img { transition: filter 1s ease, transform 1.2s var(--spring-ease); }
.tile.is-up .tile__img img { filter: blur(6px) grayscale(1) brightness(.7); transform: scale(1.08); }
.tile__img::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--accent); opacity: 0; pointer-events: none; }
.tile.is-fresh .tile__img::before { animation: fresh 1.1s ease-out; }
@keyframes fresh { 15% { opacity: 1; } to { opacity: 0; } }
@media (hover: hover) { .tile:hover .tile__img img { transform: scale(1.04); } }
.tile.is-out { animation: tile-out .28s ease-in both; pointer-events: none; }
@keyframes tile-out { to { opacity: 0; transform: scale(.88); filter: blur(6px); } }
.share__line i { background: linear-gradient(90deg, #8657e7, #b69cff); box-shadow: 0 0 12px #9568f9; }
#copy-txt { display: inline-block; }

/* the taste profile arrives in order; tags rise out of a blur, their pictures pop */
.insight > * { animation: up-in .7s var(--spring-ease) both; }
.insight > :nth-child(2) { animation-delay: .05s; } .insight > :nth-child(3) { animation-delay: .1s; } .insight > :nth-child(4) { animation-delay: .16s; } .insight > :nth-child(5) { animation-delay: .22s; } .insight > :nth-child(6) { animation-delay: .28s; } .insight > :nth-child(n+7) { animation-delay: .34s; }
.nr__img { transition: transform .6s var(--spring-ease), box-shadow var(--micro-tint) var(--micro-tint-ease); }
.nr:hover .nr__img { transform: translateY(-4px) scale(1.02); box-shadow: 0 0 0 1px #ffffff40, 0 30px 50px -24px #000; }
.nr--top:hover .nr__img { box-shadow: 0 0 0 1px #9568f9, 0 30px 70px -24px #8657e7; }
.ax__span { transform-origin: var(--o, left) 50%; animation: span-in 1s .15s var(--spring-ease) both; }
@keyframes span-in { from { transform: scaleX(0); } }
.ax__l, .ax__p { animation: dot-in .6s var(--spring-ease) both; }
.ax__l { animation-delay: .45s; } .ax__p { animation-delay: .2s; }
@keyframes dot-in { from { transform: scale(0); } }
.ins-more summary::before { display: inline-block; transition: transform .4s var(--spring-ease); }
.ins-more[open] summary::before { transform: rotate(180deg); }
.who-card { animation-delay: calc(var(--i, 0) * 70ms); }
.chip.is-on { animation: chip-on .45s var(--spring-ease); }
@keyframes chip-on { from { transform: scale(.92); } }
.lb.is-closing { animation: fade-out .3s ease both; }
@keyframes fade-out { to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .drop__fan i, .drop__sub, .drop__btn, .drop__fmt, .base-start, .mine__list li, .tile, .tg, .tg__ic, .insight > *, .ax__span, .ax__l, .ax__p, .pane.pane-in > * { animation: none; }
  .drop__fan { transform: none; }
  .drop__edge rect { animation: none !important; }
}


/* the brief's questions before the references: a switch */
.ask { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: var(--radius-modal); background: #ffffff05; box-shadow: inset 0 0 0 1px var(--stroke-secondary); cursor: pointer; }
.ask input { position: absolute; opacity: 0; pointer-events: none; }
.ask__sw { position: relative; flex: none; width: 44px; height: 26px; margin-top: 1px; border-radius: 13px; background: #ffffff1f; transition: background-color .25s var(--micro-tint-ease); }
.ask__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px #0006; transition: transform .45s var(--spring-ease); }
.ask input:checked + .ask__sw { background: var(--accent-fill); box-shadow: var(--stripes-glow); }
.ask input:checked + .ask__sw::after { transform: translateX(18px); }
.ask input:focus-visible + .ask__sw { outline: 2px solid var(--accent); outline-offset: 3px; }
.ask__t { display: flex; flex-direction: column; gap: 3px; }
.ask__t b { font-weight: 500; font-size: 15px; }
.ask__t span { color: var(--text-tertiary); font-size: 14px; line-height: 19px; }
/* a client's brief on their card */
.who-card__brief { border-radius: var(--radius-panel); background: #ffffff05; box-shadow: inset 0 0 0 1px var(--stroke-secondary); padding: 0 14px; }
.who-card__brief summary { padding: 10px 0; cursor: pointer; list-style: none; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: var(--text-secondary); }
.who-card__brief summary::-webkit-details-marker { display: none; }
.who-card__brief .bf { padding-bottom: 10px; }
