/* Arhitecți Asociați — one stylesheet.
   Breakpoints (same as the old site): phone < 810, tablet 810–1199, desktop 1200–1799, large ≥ 1800.
   1rem = 18px (24px on large screens); spacing between columns is always 20px. */

@font-face { font-family: "NHG"; src: url(/assets/fonts/NHGText-Regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "NHG"; src: url(/assets/fonts/NHGText-Italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "NHG"; src: url(/assets/fonts/NHGText-Medium.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "NHG"; src: url(/assets/fonts/NHGText-Bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #fff; --fg: #000; --mut: rgb(153, 166, 158); --line: #000; --hover: rgb(232, 232, 232);
  --news: rgb(76, 99, 85); --dot: rgb(76, 99, 85); --orange: rgb(255, 79, 0);
  --pad: 20px; --gap: 20px;
  color-scheme: light;
}
html[data-theme="dark"] { --bg: rgb(23, 23, 23); --fg: #fff; --mut: rgb(127, 144, 134); --line: #fff; --hover: rgb(77, 77, 77); --news: rgb(102, 121, 109); --dot: rgb(102, 121, 109); color-scheme: dark; }
@media (prefers-color-scheme: dark) { html:not([data-theme]) { --bg: rgb(23, 23, 23); --fg: #fff; --mut: rgb(127, 144, 134); --line: #fff; --hover: rgb(77, 77, 77); --news: rgb(102, 121, 109); --dot: rgb(102, 121, 109); color-scheme: dark; } }
body.green { --bg: rgb(0, 33, 13); --fg: #fff; --line: #fff; --mut: rgb(153, 166, 158); --hover: rgb(25, 55, 37); --dot: #fff; }
html[data-theme="dark"] body.green { --bg: rgb(23, 23, 23); }
@media (prefers-color-scheme: dark) { html:not([data-theme]) body.green { --bg: rgb(23, 23, 23); } }

html { font-size: 18px; -webkit-text-size-adjust: 100%; }
@media (min-width: 1800px) { html { font-size: 24px; } }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: "NHG", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.2; letter-spacing: -0.02em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; transition: background-color .2s, color .2s; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, figure, ul { margin: 0; padding: 0; font-weight: 400; font-size: inherit; }
ul { list-style: none; }
sup { font-size: 0.667em; font-weight: 500; line-height: 0; vertical-align: 0.55em; letter-spacing: -0.02em; margin-left: .02em; }
.mut { color: var(--mut); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); padding: 0 var(--pad); }
.span2 { grid-column: span 2; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 2px; }

/* ---------- news bar ---------- */
.news { background: var(--news); color: #fff; font-size: .8rem; line-height: 20px; letter-spacing: 0; }
.news-bar { position: relative; display: flex; align-items: center; height: 27px; padding: 0 0 0 var(--pad); overflow: hidden; transition: height .35s cubic-bezier(.22,1,.36,1), opacity .35s; }
.news-bar + .news-bar { border-top: 1px solid rgba(255,255,255,.85); }
.news-bar.gone { height: 0; opacity: 0; }
/* text lives in its own clipped box that ends before the close button: clean cut, nothing after the × */
.news-clip { flex: 1 1 auto; min-width: 0; overflow: hidden; margin-right: 6px; }
.news-track { display: flex; white-space: nowrap; min-width: 0; }
.news-bar.run .news-track { width: max-content; animation: tick var(--dur, 40s) linear infinite; }
.news-bar.run:hover .news-track { animation-play-state: paused; }
.news-bar.run .news-item { padding-right: 2.2em; }
.news-bar.run { padding-left: 0; }
.news .sep { padding: 0 .25em; }
.news a:hover { text-decoration: underline; }
.news-x { flex: none; width: 36px; height: 27px; margin-right: 12px; display: grid; place-items: center; color: #fff; }
.news-x svg { width: 12px; height: 12px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (min-width: 1800px) { .news-bar { height: 28px; } }
/* entry (Framer NewsBars): 1s after load the bars open one by one from the top. Each bar's row grows from 0
   while its content slides down from above, 2s, ease-out; the next bar starts 1s later. Pure CSS so it runs
   from the first paint (no flash); main.js renumbers --i after removing dismissed / expired bars. */
.news-bar { --i: 0; animation: news-open 2s cubic-bezier(.22,1,.36,1) calc(1s + var(--i) * 1s) backwards; }
.news-bar > * { animation: news-drop 2s cubic-bezier(.22,1,.36,1) calc(1s + var(--i) * 1s) backwards; }
.news-bar:nth-child(2) { --i: 1; } .news-bar:nth-child(3) { --i: 2; } .news-bar:nth-child(4) { --i: 3; } .news-bar:nth-child(5) { --i: 4; }
.news-bar.gone, .news-bar.gone > * { animation: none; }
@keyframes news-open { from { height: 0; border-top-color: transparent; } }
@keyframes news-drop { from { transform: translateY(-100%); } }

/* ---------- navigation ---------- */
/* Nav: linked to the scroll position (main.js sets the variables on every frame, no timed animation).
   Over the first ~90px of scroll the bar slims from its full height to one text line + padding, the items
   rise to stay centred in it, the symbol shrinks to dot size and condenses into the green dot.
   The bar keeps its layout height (nothing below jumps); only its background is scaled. */
.nav { position: sticky; top: 0; z-index: 50; padding: 16px 0; pointer-events: none; isolation: isolate; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); transform-origin: 50% 0; transform: scaleY(var(--nav-bg, 1)); transition: background-color .2s; }
.nav-row { align-items: center; height: 40px; pointer-events: auto; transform: translateY(var(--nav-y, 0px)); }
@media (min-width: 1800px) { .nav-row { height: 2.22rem; } }
.nav-title a, .nav-links a { line-height: 1.2; }
.nav-links { display: flex; justify-content: space-between; align-items: center; }
.logo { position: relative; display: block; width: 2.28rem; height: 2.22rem; color: var(--fg); }
.logo-sym { position: absolute; inset: 0; transform-origin: 0 50%; transform: scale(var(--sym-s, 1)); opacity: var(--sym-o, 1); }
.logo-sym svg { width: 100%; height: 100%; display: block; }
.logo-dot { position: absolute; left: 0; top: 50%; width: 1rem; height: 1rem; margin-top: -.5rem; border-radius: 50%; background: var(--dot); opacity: var(--dot-o, 0); transform: scale(var(--dot-s, .3)); }
.theme { position: relative; width: 36px; height: 20px; border-radius: 10px; background: var(--mut); box-shadow: rgba(0,0,0,.06) 0 1px 3px; transition: background .2s; flex: none; }
.theme .knob { position: absolute; top: 2px; left: 18px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: rgba(0,0,0,.1) 0 1px 4px; display: grid; place-items: center; color: #000; transition: left .2s cubic-bezier(.4,1.2,.6,1); }
.theme .moon { display: none; }
html[data-theme="dark"] .theme .knob { left: 2px; }
html[data-theme="dark"] .theme .sun { display: none; }
html[data-theme="dark"] .theme .moon { display: inline; }
@media (prefers-color-scheme: dark) { html:not([data-theme]) .theme .knob { left: 2px; } html:not([data-theme]) .theme .sun { display: none; } html:not([data-theme]) .theme .moon { display: inline; } }
.nav-title a:hover, .nav-links a:hover, .foot a:hover, .tbl a:hover { color: var(--mut); }

/* ---------- bilingual paragraphs ---------- */
.bi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.bi-tabs { display: none; }
.lbl { display: block; font-size: .8rem; line-height: 1; letter-spacing: 0; margin-bottom: 9.6px; }
.txt { line-height: 1.1; }
.txt p.ind { text-indent: 2.65em; }
.txt p.gap { margin-top: 1.1em; }
.txt a { color: var(--mut); }
.txt a:hover { color: var(--fg); }
.big .txt { font-size: 1.3rem; }
.small .txt { font-size: .889rem; line-height: 1.2; }
.bi.stack { grid-template-columns: 1fr; row-gap: 19px; }

/* ---------- home ---------- */
.intro { padding-top: 10px; }
.stats { margin-top: 42px; }
.stat-v { font-size: 1.3rem; line-height: 1.1; }
.stat-ro, .stat-en { line-height: 1.1; }
.stat-en { color: var(--mut); }
.cards { margin-top: 21px; row-gap: 20px; }
.card { display: block; }
.card-ph { display: block; overflow: hidden; }
.card-img { width: 100%; aspect-ratio: 453 / 550; object-fit: cover; background: var(--hover); transition: transform .6s cubic-bezier(.44,0,.56,1), opacity .6s cubic-bezier(.44,0,.56,1); }
.card-t { display: block; margin-top: 5px; line-height: 1.1; }
.card-p { display: block; line-height: 1.1; color: var(--mut); }
/* hover (Framer: image scale 1.04 + opacity .85, .6s); title keeps its colour */
@media (hover: hover) { .card:hover .card-img { transform: scale(1.04); opacity: .85; } }

/* reveal on scroll (same as the old fade-in) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .news-bar.run .news-track, .news-bar, .news-bar > * { animation: none; } * { scroll-behavior: auto !important; } }

/* ---------- index ---------- */
.index { position: relative; margin: 40px var(--pad) 0; border-top: 1px solid var(--line); padding-top: 4px; }
.index .grid3 { padding: 0; }
.idx-h { font-size: 1.3rem; line-height: 1.1; }
.chips { margin-top: 11px; }
.chip { display: flex; align-items: center; gap: 7px; line-height: 1.1; padding: 3px 0; cursor: pointer; width: max-content; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip .ring { width: 13px; height: 13px; border: 1.5px solid var(--fg); border-radius: 50%; flex: none; transition: background .15s; }
.chip input:checked + .ring { background: var(--fg); }
.chip:hover .ring { background: var(--mut); border-color: var(--mut); }
.chip input:focus-visible + .ring { outline: 1px solid var(--fg); outline-offset: 2px; }
.filters { margin-top: 21px; }
.fld .lbl { margin-bottom: 6px; }
.inp { position: relative; display: flex; align-items: center; height: 40px; border: 1px solid var(--mut); border-radius: 8px; padding: 0 12px; color: var(--mut); }
.inp svg { flex: none; }
.inp input, .inp select { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--fg); font: inherit; font-size: 14px; letter-spacing: 0; outline: none; padding: 0 0 0 12px; -webkit-appearance: none; appearance: none; }
.inp select { padding: 0; cursor: pointer; color: var(--mut); }
.inp select.set { color: var(--fg); }
.inp input::placeholder { color: var(--mut); }
.inp:focus-within { border-color: var(--fg); }
.inp input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sel svg { position: absolute; right: 12px; pointer-events: none; }
.thead, .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.thead { margin-top: 25px; border-bottom: 1px solid var(--line); line-height: 1.2; }
.thead .c-y, .row .c-y { justify-self: end; }
.thead .c-f, .row .c-f { grid-column: 3; grid-row: 1; }
.thead .c-y, .row .c-y { grid-column: 3; grid-row: 1; }
.row { padding: 4px 0 3px; border-bottom: 1px solid var(--line); line-height: 1.2; transition: background .12s; }
.row .c-p { color: var(--mut); }
.row:hover { background: var(--hover); }
.c-y .dash { padding: 0 .15em; }
.rows li.hide { display: none; }
.empty { padding: 8px 0; color: var(--mut); }
.peek { position: absolute; z-index: 5; right: 130px; width: 200px; aspect-ratio: 4 / 3; object-fit: cover; pointer-events: none; opacity: 0; transition: opacity .15s; }
.peek.on { opacity: 1; }
@media (min-width: 1800px) { .peek { width: 266px; right: 172px; } }

/* ---------- footer ---------- */
.foot { padding-top: 9px; padding-bottom: 30px; line-height: 1.2; }
/* Info: thin rule above the footer, as on the original */
.p-info .foot { position: relative; margin-top: 30px; padding-top: 10px; }
.p-info .foot::before { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: 0; border-top: 1px solid var(--line); }
.foot .grid3 { align-items: start; }
.foot-3 { display: flex; justify-content: space-between; }
/* signature: right-aligned column, pulsing orange dot (Framer: 10px, opacity 1 ↔ .3, .4s mirror) */
.foot-sig { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.foot .sig, .foot .sig:hover { display: inline-flex; align-items: center; gap: 4px; color: var(--fg); }
.odot { flex: none; width: .556rem; height: .556rem; border-radius: 50%; background: var(--orange); animation: pulse .8s cubic-bezier(.44,0,.56,1) infinite alternate; }
@keyframes pulse { to { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .odot { animation: none; } }
/* --fw = wordmark size; the symbol is as tall as the wordmark's "t" (.72em) and sits on its baseline */
.foot-logo { --fw: calc((100vw - 2 * var(--pad) - 2 * var(--gap)) / 3 * 2 * .1319 + var(--gap) * .1319); margin-top: 18px; align-items: end; }
.foot-sym { display: block; align-self: end; width: calc(var(--fw) * .73); color: var(--fg); margin-bottom: calc(var(--fw) * .2225); }
.foot-sym svg { width: 100%; height: auto; display: block; }
.foot-word { grid-column: span 2; }
.foot-word { font-size: var(--fw); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; margin-left: -.05em; line-height: 1.18; }

/* ---------- project page ---------- */
.proj { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); padding: 19px var(--pad) 0; align-items: start; }
.proj-side { position: relative; }
.proj-h { font-size: 1.8rem; line-height: 1.1; letter-spacing: -0.03em; }
.proj-h span { display: block; }
.tbl { margin-top: 28px; border-bottom: 1px solid var(--line); }
.tbl > div { display: grid; grid-template-columns: 115px minmax(0, 1fr); border-top: 1px solid var(--line); padding: 2px 0 3px; }
.tbl dt { font-size: .8rem; line-height: 1; padding-top: 3px; letter-spacing: 0; }
.tbl dd { line-height: 1.2; }
.tbl dd a { color: var(--mut); }
.proj .bi { margin-top: 30px; }
.proj-gal { grid-column: span 2; }
.gal { display: flex; flex-direction: column; gap: 20px; }
.g-row { display: flex; gap: 20px; align-items: flex-start; }
.g-row > * { flex: 1 1 0; min-width: 0; }
.g-col { display: flex; flex-direction: column; gap: 20px; }
.g-it { margin: 0; }
.g-btn { display: block; width: 100%; cursor: zoom-in; }
.g-btn img { width: 100%; height: 100%; object-fit: cover; }
.g-row.pair .g-btn { height: 100%; }
.gal.lone .g-it { width: calc(50% - 10px); }
/* entry: one after another, short fade + small rise */
.gal.enter .g-it { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.gal.enter .g-it.in { opacity: 1; transform: none; }
/* info column: sticky on tablet/desktop when the gallery is taller; long text scrolls on its own */
@media (min-width: 810px) {
  .proj.stick .proj-side { position: sticky; top: calc(var(--navh, 43px) + 6px); max-height: calc(100vh - var(--navh, 43px) - 26px); display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: none; }
  .proj.stick .proj-side::-webkit-scrollbar { display: none; }
  .proj.stick .proj-side > * { flex: none; }
  .proj.stick .proj-side .bi { flex: 0 1 auto; min-height: 7rem; overflow-y: auto; scrollbar-width: thin; scrollbar-color: transparent transparent; transition: scrollbar-color .2s; }
  .proj.stick .proj-side .bi:hover { scrollbar-color: var(--mut) transparent; }
  .proj.stick .proj-side.scrolly:not(.at-end) .bi { -webkit-mask-image: linear-gradient(#000 calc(100% - 2.4rem), transparent); mask-image: linear-gradient(#000 calc(100% - 2.4rem), transparent); }
}

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: var(--bg); color: var(--fg); display: grid; grid-template-rows: auto 1fr; opacity: 0; transition: opacity .25s; }
.lb.on { opacity: 1; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--pad); line-height: 1.2; }
.lb-x { width: 36px; height: 36px; margin-right: -9px; display: grid; place-items: center; color: var(--fg); }
.lb-x svg { width: 18px; height: 18px; }
.lb-x:hover { color: var(--mut); }
/* the image always fits the window, centred (contain inside the stage box) */
.lb-stage { position: relative; min-height: 0; }
.lb-stage img { position: absolute; top: 0; left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 20px); max-width: none; object-fit: contain; }
.lb-hit { position: absolute; top: 0; bottom: 0; width: 50%; cursor: w-resize; }
.lb-hit.r { right: 0; cursor: e-resize; }
.lb-hit.l { left: 0; }
.no-scroll { overflow: hidden; }

/* ---------- lab / cer_ce_tare ---------- */
.pg-head { padding-top: 19px; }
.big-t { font-size: 1.8rem; line-height: 1.1; letter-spacing: -0.03em; }
.p-lab .pg-head .bi { padding-top: 0; }
.tiles { margin-top: 46px; row-gap: 20px; align-items: start; }
.tile { margin: 0; }
.tile img, .tile .vid { width: 100%; }
.vid { position: relative; background: #000; overflow: hidden; }
.vid iframe, .vid video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.tile figcaption { margin-top: 5px; font-size: 1.3rem; line-height: 1.1; }
.tile a:hover figcaption, .tile figcaption a:hover { color: var(--mut); }
/* video UI (same as the original) */
.vid { cursor: pointer; }
.vid iframe { pointer-events: none; top: -1px; left: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
.vui { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .2s ease; color: #fff; }
.vid.ui .vui { opacity: 1; pointer-events: auto; }
.vui button { display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; }
.vui svg { width: 100%; height: 100%; display: block; }
.v-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90px; height: 90px; padding: 27px; }
.v-side { position: absolute; right: 0; bottom: 26px; display: flex; gap: 8px; }
.v-side button { width: 40px; height: 40px; padding: 10px; }
.vid .i-play, .vid.paused .i-pause, .vid .i-sound, .vid.sound .i-muted { display: none; }
.vid.paused .i-play, .vid.sound .i-sound { display: block; }
.v-seek { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: #808080; cursor: pointer; overflow: hidden; touch-action: none; }
.v-seek i { display: block; width: 100%; height: 100%; background: rgb(60, 194, 109); transform-origin: 0 50%; transform: scaleX(var(--pos, 0)); }
.vid:fullscreen { aspect-ratio: auto !important; width: 100%; height: 100%; }
.vid:-webkit-full-screen { aspect-ratio: auto !important; width: 100%; height: 100%; }
.p-cct .tile figcaption { font-size: .8rem; line-height: 1; letter-spacing: 0; margin-top: 8px; }
.p-cct .cct-head { padding-bottom: 0; }
.p-cct .sec { margin-top: 46px; }
.p-cct .cct-head + .sec { margin-top: 41px; }
.p-cct .tiles { margin-top: 23px; }
.sec-h { font-size: 1.8rem; line-height: 1.1; letter-spacing: -0.03em; }
.sec-h span { display: block; }
.p-cct .sec .tbl { margin-top: 0; }
.p-cct .sec .tbl dd { white-space: normal; }

/* ---------- info ---------- */
.p-info .sec-h { font-size: 1rem; line-height: 1.1; letter-spacing: -0.02em; }
.row-sec { padding-top: 28px; line-height: 1.1; }
.row-sec.ruled { margin-top: 30px; padding-top: 10px; position: relative; }
.row-sec.ruled::before { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: 0; border-top: 1px solid var(--line); }
.p-info .stats { margin-top: 42px; }
.charts { padding: 0 var(--pad); margin-top: 10px; }
.ch-t { line-height: 1.1; margin-top: 10px; }
.ch-t span { display: block; }
.chart { display: flex; margin-top: 10px; height: 14.6rem; }
.bar { display: flex; flex-direction: column; min-width: 0; }
.bar .fill { position: relative; flex: 1; background: var(--c); color: #000; overflow: hidden; }
.vlab { position: absolute; left: 3px; bottom: 2px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.4rem; line-height: 1; white-space: nowrap; }
.pct { display: block; height: 22px; margin-top: 5px; line-height: 1.2; white-space: nowrap; }
.chart:not(.mix) { height: calc(14.6rem + 27px); }
.chart.mix { height: 10rem; margin-top: 15px; }
.bigpct { position: absolute; right: 8px; bottom: -.12em; font-size: 4rem; line-height: 1.1; letter-spacing: -0.03em; }

/* team */
.team { margin-top: 40px; padding-top: 10px; position: relative; }
.team::before { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: 0; border-top: 1px solid var(--line); }
.members { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.member .ph { aspect-ratio: 453 / 550; background: var(--hover); overflow: hidden; }
.member img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.member figcaption { margin-top: 5px; line-height: 1.1; }
.member figcaption span { display: block; }
.former { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 10px; }
.former h3 { font-size: 1.3rem; line-height: 1.1; }
.former ul { margin-top: 12px; columns: 2; column-gap: 20px; line-height: 1.2; }

/* 404 */
.nf { padding-top: 60px; min-height: 40vh; }
.nf .big { font-size: 1.3rem; line-height: 1.1; margin-top: 20px; }
.nf p + p { margin-top: 20px; }

/* ---------- tablet ---------- */
@media (max-width: 1199.98px) {
  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .peek { display: none; }
  .bi.big .txt { font-size: 1.3rem; }
  .intro .bi { grid-column: 2 / span 2; }
}

/* ---------- phone ---------- */
@media (max-width: 809.98px) {
  :root { --pad: 16px; }
  .news-clip { margin-right: 6px; }
  .news-x { margin-right: 4px; }
  .grid3, .proj { grid-template-columns: minmax(0, 1fr); }
  .span2, .proj-gal, .foot-word, .intro .bi { grid-column: auto; }
  .nav { padding: 16px 0 16px; }
  .nav-row { display: flex; gap: 12px; }
  .nav-title { flex: 1; }
  .nav-links { gap: 15px; justify-content: flex-end; }
  .intro-sp { display: none; }
  .intro { padding-top: 14px; }
  .bi { grid-template-columns: 1fr; }
  .bi-tabs { display: flex; gap: 10px; font-size: .8rem; line-height: 1; letter-spacing: 0; margin-bottom: 10.6px; }
  .bi-tabs button { color: var(--mut); }
  .bi-tabs button.on { color: var(--fg); }
  .bi .lbl { display: none; }
  .bi .bi-en { display: none; }
  .bi.en .bi-en { display: block; }
  .bi.en .bi-ro { display: none; }
  .bi.stack .lbl { display: none; }
  .stats { margin-top: 22px; row-gap: 13px; }
  .cards { margin-top: 22px; row-gap: 25px; }
  .index { margin-top: 30px; }
  .chips > div + div { margin-top: 0; }
  .filters { row-gap: 14px; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(8, auto); grid-auto-flow: column; column-gap: 12px; }
  .chips > div { display: contents; }
  .filters .fld:nth-child(3) { display: none; }
  .thead { grid-template-columns: 1fr 1fr; column-gap: 12px; font-size: .8rem; letter-spacing: 0; margin-top: 22px; }
  .thead .c-f, .thead .c-y { display: none; }
  .row { grid-template-columns: 1fr 1fr; column-gap: 12px; padding: 4px 0 3px; }
  .row .c-f, .row .c-y { display: none; }
  .foot-3 { margin-top: 16px; display: block; }
  /* phone: Studio Anghel + Admin as their own block on the left, same gap as the blocks above */
  .foot-sig { margin-top: 16px; align-items: flex-start; text-align: left; }
  .foot .foot-row > div + div { margin-top: 16px; }
  .foot-logo { margin-top: 40px; row-gap: 16px; }
  .foot-logo { --fw: calc((100vw - 2 * var(--pad)) * .1319); }
  .foot-sym { display: none; }
  .proj { padding-top: 14px; row-gap: 30px; }
  .bi.stack { row-gap: 0; }
  .gal.lone .g-it { width: 100%; }
  .tiles { margin-top: 30px; row-gap: 25px; }
  .p-cct .sec { margin-top: 36px; row-gap: 16px; }
  .p-info .sec-h { font-size: 1rem; }
  .row-sec { row-gap: 12px; }
  .chart { height: 11rem; }
  .chart:not(.mix) { height: calc(11rem + 27px); }
  .pct { font-size: .7rem; }
  .vlab { font-size: .8rem; line-height: 18px; left: 1px; }
  .bigpct { font-size: 1.8rem; }
  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .former ul { columns: 1; }
  .team { row-gap: 16px; }
}
