/* Final layer: consistent marks, calmer selection states and quiet motion. */

/* Selected work · organisation strip sits on the grid, marks grey until hovered */
.work-stations.wrap { width: calc(100% - 2 * var(--gutter)); max-width: var(--wrap); padding-inline: 0; }
.work-station-brand { min-height: 40px; gap: 10px; }
.work-station-brand img, .work-station-brand .brand-mark { max-width: none; filter: grayscale(1) contrast(1.06); opacity: .74; transition: filter .35s, opacity .35s; }
.work-stations > a:hover .work-station-brand img, .work-stations > a:focus-visible .work-station-brand img { filter: none; opacity: 1; }
.work-station-word { font: 600 15px/1.1 var(--display); letter-spacing: -.02em; color: #3d3633; white-space: nowrap; }

/* Experience · every logo sits in the same box, optically balanced */
.tl__brand { display: flex; align-items: center; height: 44px; width: 140px; }
.tl__brand img, .tl__brand .brand-mark { max-width: none; object-fit: contain; object-position: left center; }
.tl__monogram { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--sand-2); font: 600 14px/1 var(--display); color: var(--ink-2); }
@media (max-width: 700px) { .tl__brand { width: auto; height: 36px; } }

/* Product films · no accent bar; the selected film reads as a raised row */
.studio__list button { border-left: 0 !important; border-radius: 12px; padding-left: 16px; transition: background .25s, box-shadow .25s, color .25s; color: #6a605a; }
.studio__list button:first-child { border-top-color: transparent; }
.studio__list button + button { border-top: 1px solid var(--line-2); }
.studio__list button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(31,28,27,.06), 0 14px 30px -20px rgba(31,28,27,.35); border-bottom-color: transparent; }
.studio__list button[aria-pressed="true"] + button { border-top-color: transparent; }
.studio__list button:hover:not([aria-pressed="true"]) { background: rgba(255,255,255,.55); }
.studio__list button[aria-pressed="true"] .film__length::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #2f8f5b; vertical-align: 1px;
  box-shadow: 0 0 0 0 rgba(47,143,91,.45); animation: film-live 2.2s ease-out infinite;
}
@keyframes film-live { 0% { box-shadow: 0 0 0 0 rgba(47,143,91,.45); } 100% { box-shadow: 0 0 0 9px rgba(47,143,91,0); } }

/* Each point represents one unit of the figure beside it. */
.results__bg {
  overflow: hidden;
  background: radial-gradient(ellipse at 82% -40%, #ffa349 0%, transparent 60%),
    radial-gradient(ellipse at 105% 100%, #ed6828 0%, transparent 48%),
    linear-gradient(115deg, #aa4019, #be4212 52%, #a83813);
}
.results__bg::after { opacity: .28; }
.results-contours {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; stroke: #ffe1a5; stroke-width: 1.15; opacity: .22;
  mask-image: linear-gradient(110deg, transparent 18%, #000 70%);
}
.results-contours path { vector-effect: non-scaling-stroke; }
.results__in { gap: clamp(24px, 4.5vw, 72px); }
.results__side { padding-top: 0; }
.results__stats { gap: clamp(16px, 3vw, 44px); margin-top: clamp(12px, 3vw, 48px); }
.results__stats li {
  position: relative; min-width: 0; padding: 20px 0 0; border: 0;
  border-top: 1px solid rgba(255,239,217,.46);
}
.results__stats li::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 30px;
  height: 1px; background: #ffe3af; transform-origin: left;
}
.stat-figure { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.results__stats b { font-variant-numeric: tabular-nums; font-size: clamp(52px, 5.25vw, 80px); }
.stat-dots { display: grid; grid-template-columns: repeat(7, 5px); grid-auto-rows: 5px; gap: 4px; }
.stat-dots i { display: block; border-radius: 50%; background: #ffe4b7; }
.results__stats .stat-label { max-width: 29ch; margin-top: 12px; font-size: 15px; opacity: 1; text-wrap: pretty; }
.results__stats .stat-mark { display: block; margin-top: 16px; height: 20px; opacity: 1; }
.stat-mark img { height: 18px; width: auto; max-width: 130px; object-fit: contain; filter: brightness(0) invert(1); }
@media (max-width: 640px) {
  .results { padding-block: 64px 52px; }
  .results__in { gap: 24px; }
  .results__stats { grid-template-columns: 1fr; gap: 20px; margin-top: 10px; }
  .results__stats li {
    display: grid; grid-template-columns: minmax(68px, auto) minmax(0, 1fr); align-items: start;
    column-gap: 22px; padding: 16px 0 0;
  }
  .stat-figure { grid-row: span 2; flex-direction: column; align-items: flex-start; gap: 11px; }
  .stat-dots { grid-template-columns: repeat(7, 4px); grid-auto-rows: 4px; gap: 3px; }
  .results__stats .stat-label { margin-top: 4px; }
  .results__stats .stat-mark { margin-top: 8px; align-self: end; }
  .results-contours { width: 135%; inset-inline-start: -35%; opacity: .18; }
}
@media (prefers-reduced-motion: no-preference) {
  .results.is-drawn .results-contours { animation: results-settle 1.65s cubic-bezier(.2,.7,.2,1) both; }
  .results.is-drawn .results-contours path {
    stroke-dasharray: 1;
    animation: results-trace 2.1s cubic-bezier(.25,.65,.2,1) backwards;
    animation-delay: calc(var(--line) * 35ms);
  }
  @keyframes results-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  .results__stats .is-drawn::before { animation: stat-rule .6s ease-out both; }
  .results__stats .is-drawn .stat-dots i {
    animation: stat-point .38s cubic-bezier(.18,.8,.2,1) both;
    animation-delay: calc(var(--unit) * 23ms);
  }
  @keyframes results-settle { from { transform: translate(2.4%, -1.8%); opacity: 0; } }
  @keyframes stat-rule { from { transform: scaleX(0); } }
  @keyframes stat-point { from { opacity: .08; transform: translateY(3px) scale(.5); } }
}

/* Tech stack · list view as square tiles you can filter through */
#stackFilter { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin-bottom: 22px; }
#stackFilter button { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--text); background: #fff; transition: background .2s, color .2s, border-color .2s; }
#stackFilter button::after { content: none; }
#stackFilter button small { margin-left: 6px; font: 500 11px var(--mono); opacity: .6; }
#stackFilter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
#stackFilter button:hover:not([aria-pressed="true"]) { border-color: var(--ink); color: var(--ink); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.tool-tile {
  position: relative; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 14px; border-radius: 16px; background: var(--sand); text-align: center;
  transition: background .25s, transform .3s cubic-bezier(.22,.7,.2,1), box-shadow .3s; animation: tile-in .45s ease both;
}
.tool-tile[hidden] { display: none; }
.tool-tile:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 20px 36px -24px rgba(31,28,27,.4); }
.tool-tile__mark { height: 34px; display: grid; place-items: center; }
.tool-tile__mark svg { width: 30px; height: 30px; fill: #2d2724; transition: fill .25s; }
.tool-tile:hover .tool-tile__mark svg { fill: var(--brand); }
.tool-tile__mark img, .tool-tile__mark .brand-mark { max-height: 30px; max-width: 96px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .25s, opacity .25s; }
.tool-tile:hover .tool-tile__mark img { filter: none; opacity: 1; }
.tool-tile__name { font-size: 13.5px; font-weight: 550; color: var(--ink); }
.tool-tile__cat { position: absolute; top: 10px; left: 12px; font: 500 9.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); opacity: 0; transition: opacity .25s; }
.tool-tile:hover .tool-tile__cat { opacity: 1; }
@keyframes tile-in { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 560px) { .tool-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .tool-tile { border-radius: 12px; gap: 8px; } .tool-tile__name { font-size: 12px; } .tool-tile__mark svg { width: 24px; height: 24px; } }
@media (prefers-reduced-motion: reduce) { .tool-tile { animation: none; } }

.hero-short { display:none; }
.hero-project-label { display:flex; gap:16px; align-items:center; font:500 .8rem/1.4 var(--mono); color:#3c3431; }
.hero-project-label::after { content:""; height:1px; flex:1; background:currentColor; opacity:.27; }
@media(max-width:700px){
 .hero-long {display:none}.hero-short {display:block}
 .hero .hero__title {font-size:clamp(2.45rem,10vw,3.75rem);max-width:17ch;text-wrap:balance}
 .hero .hero__sub {max-width:34ch;font-size:1rem;line-height:1.5}
 .hero__actions {margin-top:18px}
}
@media(max-width:640px){.results__stats li{grid-template-columns:5.8rem minmax(0,1fr);column-gap:clamp(12px,3vw,20px)}}
.client-row li .client-logo {max-width:100%;padding-inline:4px}
.client-logo .client-mark {max-width:100%; min-width:0}
.client-logo .client-mark img {max-width:100%}
.client-logo .client-mark--word img {flex-shrink:1;min-width:0;object-fit:contain}
@media(min-width:1180px){.client-logo .client-mark--word{flex-direction:column;gap:2px}.client-logo .client-mark__name{font-size:.7rem}}
@media(max-width:1179px){.client-row > ul{gap:16px}.client-row li:first-child,.client-row li:last-child{justify-content:center}.client-logos{row-gap:3px}}
.venture__flow,.v-chip--out{pointer-events:none}
@media(min-width:561px) and (max-width:1023px){.venture__stage>.v-chip--out{display:none}}
