/* Berz© — portfolio of Bernardo Nascimento
   Base: Berz© brand (Figma) + Rabbit Studio™ UI rules
   (black = selected, grey = clickable; grey chrome that turns black on hover). */

@font-face {
  font-family: "Aspekta";
  src: url("../assets/fonts/AspektaVF.woff2") format("woff2");
  font-weight: 50 1000;
  font-display: swap;
}

:root {
  --bg: #f6f6f6;
  --fg: #0d0d0d;
  --g900: #3d3d3d;
  --g800: #464646;
  --g600: #656565;
  --g500: #7c7c7c;
  --g400: #989898;
  --g300: #bdbdbd;
  --g200: #dcdcdc;
  --g150: #e8e8e8;
  --g100: #efefef;
  --a-08: rgba(13, 13, 13, .08);
  --pink: #ff4f9a;     /* the one accent: ASCII hover and click, status dot (same value in js/shape3d.js) */

  --font: "Aspekta", "Helvetica Neue", Arial, sans-serif;
  --t-ui: .75rem;      /* header, footer, labels */
  --t-xs: .6875rem;
  --t-sm: .75rem;
  --t-body: .875rem;

  --edge: 1.25rem;
  --side-w: clamp(15rem, 24vw, 21.5rem);
  --header-h: 3.5rem;
  --footer-h: 2.75rem;
  --r-img: .5rem;
  --r-hover: .9rem;    /* hover radius (half of the first version) */
  --r-card: .72rem;
  --r-btn: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: var(--t-body); font-weight: 400; line-height: 1.35; letter-spacing: -.012em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-transform: inherit; }
img { display: block; max-width: 100%; }
/* the work is shown, not handed out: images and clips cannot be dragged out, selected or long-pressed to save
   (js/main.js also turns off the context menu on them) */
img, video { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
p, h1, h2, h3, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 1.5px solid var(--fg); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--fg); color: var(--bg); }
[hidden] { display: none !important; }
.ic { width: 1.25rem; height: 1.25rem; flex: none; display: block; }
.draft { display: none; }
.show-drafts .draft { display: inline-block; margin-left: .5em; padding: 0 .4em; border: 1px dashed var(--g300); border-radius: 99px; font-size: .625rem; line-height: 1.5; color: var(--g400); text-transform: uppercase; vertical-align: .12em; white-space: nowrap; font-weight: 400; }

/* buttons (square corners, 6px radius) */
.sq { width: 2.0625rem; height: 2.0625rem; border-radius: var(--r-btn); background: var(--g100); display: inline-grid; place-items: center; color: var(--fg); transition: background .2s, color .2s; }
.sq:hover { background: var(--fg); color: var(--bg); }
.btn { display: flex; align-items: center; justify-content: center; gap: .5rem; height: 2.5625rem; padding: 0 .9rem; border-radius: var(--r-btn); background: var(--g100); font-size: .8125rem; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.btn:hover { background: var(--g200); }
.btn--dark { background: #262626; color: #fff; }
.btn--dark:hover { background: var(--fg); }
.btn small { font-weight: 400; opacity: .6; font-size: var(--t-xs); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.chip { display: inline-flex; align-items: center; height: 1.5rem; padding: 0 .5rem; border-radius: var(--r-btn); background: var(--g150); font-size: var(--t-xs); color: var(--g900); white-space: nowrap; }

/* ───────── chrome: header + footer ───────── */
.hd, .ft { position: fixed; left: 0; right: 0; z-index: 20; padding: 0 var(--edge); background: var(--bg); font-size: var(--t-ui); text-transform: uppercase; line-height: 1; color: var(--g400); }
.hd a, .hd button, .ft a, .ft button { color: var(--g400); transition: color .25s; }
.hd a:hover, .hd a.is-active, .hd button:hover, .ft a:hover, .ft button:hover { color: var(--fg); }
.ft__lang { margin-right: 1.4em; text-transform: uppercase; } /* language switch: shows the other language */
.hd { top: 0; height: var(--header-h); display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); column-gap: var(--edge); align-items: center; }
.hd__logo { font-weight: 550; }
.hd__right { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 2rem; }
.hd__meta { display: flex; gap: 1.75em; white-space: nowrap; min-width: 0; }
.clock { display: inline-flex; align-items: baseline; gap: .32em; white-space: nowrap; }
.clock i { display: inline-block; width: .64em; text-align: center; font-style: normal; }
.hd__weather { overflow: hidden; text-overflow: ellipsis; }
.hd__nav { display: flex; gap: 1.4em; }
/* the eyes are the logo (top left): close together, a slightly heavier outline */
.eyes { display: inline-flex; gap: 1px; padding: .5em 0; font-size: 1rem; }
.eyes__eye { width: .82em; height: 1.05em; border-radius: 50%; background: #fff; border: 1.9px solid var(--fg); position: relative; overflow: hidden; }
.eyes__eye i { position: absolute; left: 50%; top: 50%; width: .42em; height: .42em; margin: -.21em 0 0 -.21em; border-radius: 50%; background: var(--fg); transform: translate(var(--px, 0), var(--py, 0)); transition: transform .08s linear; }
.eyes:hover .eyes__eye { animation: blink .28s 1; }
@keyframes blink { 50% { transform: scaleY(.1); } }

.ft { bottom: 0; height: var(--footer-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 1.5rem; }
.ft__now { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.ft__now .ic { width: 1rem; height: 1rem; }
.ft__win { overflow: hidden; max-width: 15rem; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.ft__track { display: flex; width: max-content; animation: mq 16s linear infinite; }
.ft__track span { padding-right: 2.5rem; white-space: nowrap; }
@keyframes mq { to { transform: translateX(-50%); } }
.ft__soc { display: flex; gap: 1.4em; }
.ft__copy { justify-self: end; }

main { padding-top: var(--header-h); padding-bottom: var(--footer-h); }
.view { display: none; }
.view.is-active { display: block; animation: viewIn .5s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } }

/* ───────── tile: image with hover (radius grows, name rises over a blur) ───────── */
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--r-img); background: var(--g100); transition: border-radius .5s var(--ease), transform .5s var(--ease); transform: translateZ(0); }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.tile__blur { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: linear-gradient(to top, rgba(13, 13, 13, .5), rgba(13, 13, 13, 0)); -webkit-mask-image: linear-gradient(to top, #000 35%, transparent); mask-image: linear-gradient(to top, #000 35%, transparent); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.tile__cap { position: absolute; left: .75rem; right: .75rem; bottom: .65rem; display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; color: #fff; font-size: var(--t-xs); text-transform: uppercase; line-height: 1.1; transform: translateY(160%); opacity: 0; filter: blur(6px); transition: transform .5s var(--ease), opacity .4s var(--ease), filter .5s var(--ease); pointer-events: none; }
.tile__cap b { font-weight: 550; }
.tile__cap i { font-style: normal; opacity: .75; white-space: nowrap; }
@media (hover: hover) {
  .tile:hover, .tile:focus-visible { border-radius: var(--r-hover); }
  .tile:hover img { transform: scale(1.03); }
  .tile:hover .tile__blur, .tile:focus-visible .tile__blur { opacity: 1; }
  .tile:hover .tile__cap, .tile:focus-visible .tile__cap { transform: none; opacity: 1; filter: none; }
}
.tile.is-ghosted { visibility: hidden; }
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile video.is-on { opacity: 1; }
.tile--c img, .tile--c video { object-position: center; }
.fig--tall .tile video { object-fit: contain; padding: .7rem; }

/* ───────── HOME: centred wall of screens ───────── */
.view--home { position: relative; height: calc(100svh - var(--header-h) - var(--footer-h)); min-height: 26rem; overflow: hidden; }
.avatar { display: inline-block; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; overflow: hidden; background: var(--g200); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
/* the globe: every card is placed by js/main.js (projected from 3D); CSS only centres and sizes it */
.orb { position: absolute; inset: 0; --cw: clamp(4.75rem, 6.8vw, 7.25rem); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.orb.is-drag { cursor: grabbing; }
.orb.is-drag .tile { cursor: grabbing; }
.orb__c { position: absolute; left: 50%; top: 50%; width: var(--cw); translate: -50% -50%; opacity: 0; will-change: transform, opacity; }
.orb .tile { width: 100%; aspect-ratio: var(--ar, 1); border-radius: .4rem; box-shadow: 0 14px 30px -20px rgba(13, 13, 13, .45); -webkit-user-drag: none; }
.orb .tile:hover, .orb .tile:focus-visible { border-radius: .65rem; }
.orb .tile:hover img { transform: none; }
.orb .tile__blur, .orb .tile__cap { display: none; }
/* side texts, at mid-height and set in from the edges: name and role, or the project under the pointer */
.home__side { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; max-width: 13rem; font-size: .9375rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; pointer-events: none; transition: opacity .9s var(--ease); --inset: clamp(var(--edge), 8vw, 8.5rem); }
.home__side--l { left: var(--inset); }
.home__side--r { right: var(--inset); text-align: right; }
.home__side.is-swap { animation: sideIn .55s var(--ease) both; }
@keyframes sideIn { from { opacity: 0; filter: blur(6px); transform: translateY(.45em); } }
/* loading, in the middle of the circle of projects: the count, and the project taking its place */
.home__load { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3; display: grid; justify-items: center; gap: .35rem; text-align: center; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); }
.home__load b { font-size: .9375rem; font-weight: 500; letter-spacing: -.025em; line-height: 1; font-variant-numeric: tabular-nums; }
.home__load span { font-size: var(--t-xs); text-transform: uppercase; color: var(--g400); white-space: nowrap; }
.is-loading .home__load { opacity: 1; }
.home__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 1px; background: var(--fg); transform-origin: left; transform: scaleX(0); opacity: 0; transition: opacity .7s var(--ease); pointer-events: none; }
.is-loading .home__bar { opacity: 1; }
/* first visit: the projects form a circle around the count; then the chrome and the side texts fade in and the circle settles into the globe */
.hd__right, .ft { transition: opacity .9s var(--ease); }
.is-loading .hd__right, .is-loading .ft, .is-loading .home__side { opacity: 0; pointer-events: none; }

/* ───────── PROJECTS ───────── */
.work { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); gap: 0 var(--edge); padding: 0 var(--edge); }
.side { position: sticky; top: var(--header-h); align-self: start; height: calc(100svh - var(--header-h) - var(--footer-h)); display: flex; flex-direction: column; gap: .5rem; padding-bottom: .5rem; }
.side__card { background: var(--g100); border-radius: var(--r-card); padding: 1rem; }
.side__bio { flex: 1 1 auto; display: flex; flex-direction: column; }
.side__who { display: flex; align-items: center; gap: .7rem; margin-bottom: auto; padding-bottom: 1.25rem; }
.side__who .avatar { width: 2.25rem; height: 2.25rem; }
.side__who b { display: block; font-size: .875rem; font-weight: 600; letter-spacing: -.02em; }
.side__who small { display: block; font-size: var(--t-xs); color: var(--g500); margin-top: .1rem; }
.side__bio p { color: var(--g800); }
.side__bio p a { color: var(--g500); text-decoration: underline; text-underline-offset: 2px; }
.side__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .375rem; margin-top: 1rem; }
.side__actions .btn { justify-content: space-between; background: var(--bg); }
.side__actions .btn:hover { background: var(--g200); }
.side__actions .btn--dark { background: #262626; }
.side__actions .btn--dark:hover { background: var(--fg); }
.side__time { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: var(--t-sm); text-transform: uppercase; color: var(--g500); }
.side__time .clock { color: var(--fg); font-weight: 550; }
.side__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; font-size: var(--t-xs); }
.side__cols h3 { font-size: var(--t-xs); font-weight: 600; margin-bottom: .5rem; }
.side__cols li { color: var(--g600); padding: .14rem 0; }
.side__cols li span { color: var(--g400); }
.side__cols a { transition: color .25s; }
.side__cols a:hover { color: var(--fg); }

.work__main { min-width: 0; padding-bottom: 4rem; }
.work__bar { display: flex; justify-content: space-between; align-items: baseline; padding: .35rem 0 1.4rem; font-size: var(--t-ui); text-transform: uppercase; position: sticky; top: var(--header-h); z-index: 5; background: var(--bg); }
.work__title { font: inherit; font-weight: 650; }
.work__title sup { font-size: .68em; vertical-align: .6em; margin-left: .15em; }
.work__toggle { font-size: var(--t-xs); color: var(--g500); }
.work__toggle button { text-transform: uppercase; color: var(--g400); transition: color .25s; }
.work__toggle button.is-active, .work__toggle button:hover { color: var(--fg); }

/* grid: one card per project (cover in its own 4:5, as the films were made) */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem .5rem; }
.pcard .tile { aspect-ratio: 4 / 5; }
.pcard__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1rem; align-items: baseline; margin-top: .6rem; }
.pcard__meta b { font-weight: 550; font-size: .9375rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__meta i { font-style: normal; font-size: var(--t-xs); color: var(--g400); font-variant-numeric: tabular-nums; }
.pcard__meta span { grid-column: 1 / -1; font-size: var(--t-xs); text-transform: uppercase; color: var(--g400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.case { padding-bottom: 3rem; }
.case__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .7rem; }
.case__title { text-align: left; font-size: var(--t-body); }
.case__title b { font-weight: 550; }
.case__title span { color: var(--g400); }
.case__title i { display: inline-block; font-style: normal; margin-left: .6em; color: var(--g400); transition: transform .4s var(--ease), color .25s; }
.case__title:hover i { color: var(--fg); }
.case__title[aria-expanded="true"] i { transform: rotate(45deg); color: var(--fg); }
.case__open { font-size: var(--t-xs); text-transform: uppercase; color: var(--g400); white-space: nowrap; transition: color .25s; }
.case__open:hover { color: var(--fg); }
.case__info { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem 3.5rem; padding: 1rem 0 2.25rem; }
.case__lead { font-size: clamp(1.0625rem, .9rem + .5vw, 1.375rem); line-height: 1.3; letter-spacing: -.025em; max-width: 38rem; text-wrap: pretty; }
.case__ps { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.75rem; max-width: 38rem; }
.case__ps h3, .case__dl dt { font-size: var(--t-xs); font-weight: 400; color: var(--g400); text-transform: uppercase; margin-bottom: .45rem; }
.case__ps p { color: var(--g800); }
.case__dl > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--g200); }
.case__dl > div:last-child { border-bottom: 1px solid var(--g200); }
.case__dl dt { margin: 0; padding-top: .12rem; }
.case__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: 1.1rem .5rem; }
.fig .tile { aspect-ratio: 16 / 10; }
.fig--tall .tile img { object-fit: contain; object-position: center; padding: .7rem; }
.fig figcaption { margin-top: .4rem; font-size: .625rem; text-transform: uppercase; color: var(--g400); letter-spacing: 0; font-variant-numeric: tabular-nums; }

.list { display: grid; gap: 2px; }
.lrow { display: grid; grid-template-columns: 1.6rem minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1.6fr) 5.5rem 2.6rem; gap: .9rem; align-items: baseline; padding: .78rem .75rem; border-radius: var(--r-btn); color: var(--g400); transition: background .25s, color .25s; }
.lrow b { font-weight: 500; font-size: .9375rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow span { font-size: var(--t-xs); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.lrow__y { text-align: right; }
.lrow:hover, .lrow:focus-visible { background: var(--g100); color: var(--fg); }
.lrow:hover span { color: var(--g500); }
.lrow:hover .lrow__n, .lrow:hover .lrow__y { color: var(--fg); }
/* preview that follows the pointer over the list (image, or a clip when the project has one) */
.hoverimg { position: fixed; left: 0; top: 0; z-index: 30; width: 23rem; aspect-ratio: 16 / 10; border-radius: var(--r-img); overflow: hidden; background: var(--g150); pointer-events: none; opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.94); transition: opacity .25s, border-radius .5s var(--ease), width .3s var(--ease); will-change: transform; box-shadow: 0 18px 44px -22px rgba(13, 13, 13, .35); }
.hoverimg.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1); border-radius: var(--r-hover); }
.hoverimg img, .hoverimg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hoverimg.is-top img { object-position: top; }
/* whole page scrolling by itself inside the preview */
.hoverimg.is-scroll img { inset: 0 0 auto 0; height: auto; object-fit: fill; animation: hovScroll var(--dur, 10s) linear .5s infinite alternate; }
@keyframes hovScroll { to { transform: translateY(var(--shift, 0)); } }

/* ───────── ARCHIVE: a loose wall of everything, in columns; the caption sits under each piece ───────── */
.archw { padding: 0 var(--edge) 4rem; }
.arch__bar { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 2rem; padding: .35rem 0 1.4rem; font-size: var(--t-ui); text-transform: uppercase; position: sticky; top: var(--header-h); z-index: 5; background: var(--bg); }
.arch__filters { display: flex; flex-wrap: wrap; gap: .25rem 1.3em; font-size: var(--t-xs); }
.arch__filters button { text-transform: uppercase; color: var(--g400); transition: color .25s; }
.arch__filters button.is-active, .arch__filters button:hover { color: var(--fg); }
.arch__filters sup { font-size: .68em; vertical-align: .6em; margin-left: .15em; font-variant-numeric: tabular-nums; }
.arch { columns: 6; column-gap: .5rem; }
.aitem { break-inside: avoid; margin: 0 0 1.1rem; }
.arch .tile { aspect-ratio: var(--ar, 1); }
.arch .tile__blur, .arch .tile__cap { display: none; }
.aitem figcaption { display: grid; gap: .05rem; margin-top: .4rem; font-size: var(--t-xs); line-height: 1.25; }
.aitem figcaption b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aitem figcaption span { color: var(--g400); }
@media (max-width: 1280px) { .arch { columns: 5; } }

/* ───────── big footer card (end of Projects, Archive and About) ───────── */
.bigfoot { margin: 0 var(--edge) .75rem; background: var(--g100); border-radius: var(--r-card); height: clamp(20rem, 52svh, 30rem); padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; font-size: var(--t-xs); text-transform: uppercase; color: var(--g500); position: relative; overflow: hidden; }
.bigfoot__row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; position: relative; z-index: 2; pointer-events: none; }
.bigfoot__row > * { pointer-events: auto; }
.bigfoot__row b { font-weight: 600; color: var(--fg); }
.bigfoot { cursor: grab; }
.bigfoot.is-drag { cursor: grabbing; }
.bigfoot__canvas { position: absolute; inset: 0; z-index: 1; }
.bigfoot__canvas canvas { display: block; width: 100% !important; height: 100% !important; }
/* unused: letters of BERZ as toys (earlier experiment) */
.play { position: absolute; inset: 2.6rem 0 2.6rem; z-index: 1; --s: 9rem; }
.ltr { position: absolute; left: 0; top: 0; width: calc(var(--s) * .72); height: calc(var(--s) * .72); display: grid; place-items: center; font-size: var(--s); font-weight: 800; line-height: 1; letter-spacing: 0; text-transform: uppercase; color: var(--c); cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; will-change: transform;
  /* stacked shadows give each letter its own extruded side */
  text-shadow: 1px 1px 0 color-mix(in srgb, var(--c) 72%, #000), 2px 2px 0 color-mix(in srgb, var(--c) 72%, #000), 3px 3px 0 color-mix(in srgb, var(--c) 70%, #000), 4px 4px 0 color-mix(in srgb, var(--c) 68%, #000), 5px 5px 0 color-mix(in srgb, var(--c) 66%, #000), 6px 6px 0 color-mix(in srgb, var(--c) 64%, #000), 7px 7px 0 color-mix(in srgb, var(--c) 62%, #000), 8px 8px 0 color-mix(in srgb, var(--c) 60%, #000), 14px 18px 24px rgba(13, 13, 13, .16); }
.ltr.is-held { cursor: grabbing; }
.bigfoot__links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.bigfoot__links a, .bigfoot__row button { transition: color .25s; text-transform: uppercase; }
.bigfoot__links a:hover, .bigfoot__row button:hover { color: var(--fg); }

/* ───────── ABOUT: centred CV; wide screens add a section index and facts (left) and the client list (right) ───────── */
.about { width: min(100% - 2 * var(--edge), 30rem); margin: 0 auto; padding: 2rem 0 5rem; }
.about__side, .about__right { display: none; }
@media (min-width: 1100px) {
  .aboutw { display: grid; grid-template-columns: minmax(0, 1fr) 30rem minmax(0, 1fr); gap: 0 2.5rem; padding: 0 var(--edge); align-items: start; }
  .aboutw .about { width: auto; margin: 0; }
  .about__side, .about__right { display: flex; flex-direction: column; position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h) - var(--footer-h)); padding: 2rem 0 1rem; }
  .about__side { justify-content: space-between; gap: 1.5rem; }
  .about__right { justify-content: flex-end; }
  .anav { display: grid; justify-items: start; font-size: var(--t-xs); text-transform: uppercase; }
  .anav button { display: flex; gap: .9rem; padding: .3rem 0; color: var(--g400); text-transform: uppercase; transition: color .25s, transform .45s var(--ease); }
  .anav button i { font-style: normal; font-variant-numeric: tabular-nums; width: 1.3rem; text-align: left; }
  .anav button:hover, .anav button.is-active { color: var(--fg); }
  .anav button.is-active { transform: translateX(.5rem); }
  /* facts at the foot of the left column: label / value rows */
  .afacts { font-size: var(--t-xs); text-transform: uppercase; max-width: 17rem; }
  .afacts > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--g200); }
  .afacts dt { color: var(--g400); }
  .afacts dd { color: var(--g800); line-height: 1.45; }
  .about__status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 550; color: var(--fg); }
  .about__status::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--pink); animation: pulse 2.4s ease-in-out infinite; }
  /* right column: the client list, at the foot like the facts on the left */
  .about__clients { font-size: var(--t-xs); text-transform: uppercase; margin-left: auto; width: min(100%, 11rem); }
  .about__clients h3 { font-size: var(--t-xs); font-weight: 400; color: var(--g400); padding-bottom: .55rem; border-bottom: 1px solid var(--g200); }
  .about__clients ul { display: grid; gap: .3rem; padding-top: .7rem; color: var(--g800); }
  .sec { scroll-margin-top: calc(var(--header-h) + 2rem); }
  .aboutw .rowi--place { display: none; } /* city, time and weather are already in the left column here */
}
@keyframes pulse { 50% { opacity: .35; } }
.who { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 3.25rem; }
.who__pic { width: 7.5rem; height: 7.5rem; border-radius: 50%; background: var(--g200); overflow: hidden; transition: border-radius .55s var(--ease); margin-bottom: 1.1rem; }
.who__pic:hover { border-radius: 1.75rem; }
.who__pic img { width: 100%; height: 100%; object-fit: cover; }
.who h1 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.who p { font-size: var(--t-sm); color: var(--g600); margin-top: .4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.who .chips { margin-top: .8rem; justify-content: center; }
.sec { padding: 0 0 1.9rem; margin-bottom: 1.9rem; border-bottom: 1px solid var(--g200); }
.sec:last-child { border-bottom: 0; }
.sec > h2 { font-size: var(--t-xs); font-weight: 650; text-transform: uppercase; margin-bottom: 1.1rem; }
.sec > h2 small { font-weight: 400; color: var(--g400); font-size: 1em; }
.sec p + p { margin-top: .9em; }
.sec--bio p { color: var(--g900); font-size: .9375rem; line-height: 1.42; }
.rowi { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: .9rem 0; border-top: 1px solid var(--g200); }
.rowi:first-of-type { border-top: 0; padding-top: 0; }
.rowi:last-child { padding-bottom: 0; }
.rowi b { font-weight: 500; display: block; }
.rowi a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--g300); transition: text-decoration-color .25s; }
.rowi a:hover { text-decoration-color: var(--fg); }
.rowi small, .rowi time { font-size: var(--t-sm); color: var(--g500); }
.rowi p { grid-column: 1 / -1; color: var(--g600); }
.hl { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.hl .tile { aspect-ratio: 16 / 10; }
.cons { display: grid; gap: .5rem; }
.cons__card { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: .85rem; align-items: center; background: var(--g100); border-radius: var(--r-card); padding: .5rem; transition: border-radius .5s var(--ease); }
.cons__card:hover { border-radius: 1.1rem; }
.cons__img { width: 3.4rem; aspect-ratio: 4 / 5; border-radius: .4rem; overflow: hidden; background: var(--g200); display: grid; place-items: center; transition: border-radius .5s var(--ease); }
.cons__card:hover .cons__img { border-radius: .7rem; }
.cons__img img { width: 100%; height: 100%; object-fit: cover; }
.cons__img span { font-size: 1.1rem; font-weight: 600; color: var(--g400); }
.cons__txt { min-width: 0; }
.cons__txt small { display: block; font-size: var(--t-xs); color: var(--g400); text-transform: uppercase; margin-bottom: .2rem; }
.cons__txt b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cons__txt span { display: block; color: var(--g600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ───────── VIEWER (case) ───────── */
.viewer { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: grid; grid-template-columns: minmax(0, 1fr) 23.5rem; opacity: 0; transition: opacity .32s ease; }
.viewer.is-open { opacity: 1; }
.vw__canvas { margin: .625rem 0 .625rem .625rem; border-radius: 1rem; background: var(--g150); position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; min-height: 0; min-width: 0; }
.slides { min-width: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; min-height: 0; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding: 3.25rem 4.75rem 1rem; overflow: hidden; }
.shot { flex: none; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.shot > img, .shot > video { max-width: none; border-radius: .875rem; /* sized by fitSlides() in main.js */ box-shadow: 0 0 0 1px rgba(13, 13, 13, .05), 0 18px 44px -22px rgba(13, 13, 13, .32); background: #fff; }
.shot figcaption { font-size: var(--t-xs); text-transform: uppercase; color: var(--g500); white-space: nowrap; }
.shot img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.shot.is-hidden > img, .shot.is-hidden .pg { visibility: hidden; }
/* four square brand images share one frame */
.slide.is-grid { display: grid; grid-template-columns: auto auto; justify-content: center; align-content: center; gap: .75rem; }
.slide.is-grid .shot > img { object-fit: cover; }
.slide.is-grid figcaption { display: none; }
.shot--page { flex-direction: row; align-items: flex-start; gap: .75rem; }
.pg { overflow-y: auto; overflow-x: hidden; border-radius: .875rem; background: #fff; box-shadow: 0 0 0 1px rgba(13, 13, 13, .05), 0 18px 44px -22px rgba(13, 13, 13, .32); scrollbar-width: none; overscroll-behavior: contain; }
.pg::-webkit-scrollbar { display: none; }
.pg img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; }
.mm { position: relative; flex: none; border-radius: .3rem; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(13, 13, 13, .06); cursor: pointer; touch-action: none; }
.mm img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .6; border-radius: 0; box-shadow: none; }
.mm i { position: absolute; left: 0; right: 0; top: 0; height: 20%; border-radius: .2rem; box-shadow: 0 0 0 1.5px var(--fg), 0 0 0 100vmax rgba(246, 246, 246, .35); pointer-events: none; }
.vw__arrow { position: absolute; top: calc(50% - 2rem); z-index: 3; background: var(--bg); }
.vw__arrow--l { left: 1rem; }
.vw__arrow--r { right: 1rem; }
.vw__arrow[disabled] { opacity: .3; pointer-events: none; }
.vw__bot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .25rem 1rem 1rem; }
.vw__thumbs { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; min-width: 0; padding: 2px; }
.vw__thumbs::-webkit-scrollbar { display: none; }
.vw__thumbs button { flex: none; width: 3.4rem; height: 2.4rem; border-radius: .3rem; overflow: hidden; background: var(--g200); opacity: .5; transition: opacity .25s, border-radius .4s var(--ease), box-shadow .25s; }
.vw__thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vw__thumbs button:hover { opacity: .85; }
.vw__thumbs button.is-active { opacity: 1; border-radius: .6rem; box-shadow: 0 0 0 1.5px var(--fg); }
.vw__count { flex: none; text-align: right; font-size: var(--t-xs); text-transform: uppercase; color: var(--g500); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.5; }
.vw__count b { display: block; font-weight: 500; color: var(--fg); }

.vw__side { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; min-height: 0; padding: 1.25rem; }
.vw__top { display: flex; justify-content: space-between; }
.vw__top div { display: flex; gap: .5rem; }
.vw__head { padding: 2.25rem 0 1.25rem; }
.vw__head h2 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.vw__sub { display: flex; align-items: center; gap: .45rem; margin-top: .4rem; font-size: .8125rem; color: var(--g600); }
.mark { width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--fg); color: var(--bg); display: inline-grid; place-items: center; font-size: .625rem; font-weight: 650; letter-spacing: 0; flex: none; }
.vw__head .chips { margin-top: .9rem; }
.vw__scroll { min-height: 0; overflow-y: auto; margin-right: -.75rem; padding-right: .75rem; scrollbar-width: thin; scrollbar-color: var(--g300) transparent; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 1.5rem), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 1.5rem), transparent); padding-bottom: 1.5rem; }
.vw__sum { font-size: .9375rem; line-height: 1.4; color: var(--g900); text-wrap: pretty; }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.4rem 0; padding: 1.1rem 0; border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }
.meta dt, .blk h3 { font-size: var(--t-xs); color: var(--g400); margin-bottom: .3rem; font-weight: 400; }
.meta dd { font-size: .8125rem; line-height: 1.3; }
.blk { margin-bottom: 1.4rem; }
.blk p { color: var(--g900); line-height: 1.42; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .375rem; }
.facts li { background: var(--g100); border-radius: var(--r-btn); padding: .7rem; }
.facts b { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.facts small { display: block; font-size: var(--t-xs); color: var(--g500); margin-top: .3rem; }
.deliv { background: var(--g100); border-radius: var(--r-img); padding: .2rem .75rem; }
.deliv li { display: grid; grid-template-columns: 1.7rem 1fr; gap: .25rem; align-items: baseline; padding: .6rem 0; border-top: 1px solid var(--g200); font-size: .875rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.deliv li:first-child { border-top: 0; }
.deliv li span { color: var(--g400); font-size: var(--t-xs); font-weight: 400; font-variant-numeric: tabular-nums; }
.credits li { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; border-top: 1px solid var(--g200); font-size: .8125rem; }
.credits li span { color: var(--g500); text-align: right; }
.vw__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; padding-top: .75rem; }
.vw__actions .btn--dark { grid-column: 1 / -1; }

.ghost { position: fixed; z-index: 80; margin: 0; object-fit: cover; object-position: top; pointer-events: none; will-change: left, top, width, height; transition: left .52s var(--ease), top .52s var(--ease), width .52s var(--ease), height .52s var(--ease), border-radius .52s var(--ease); background: #fff; }

/* ───────── 404: "4 (the eyes of the logo) 4". The pair follows the pointer and, left alone, looks around for the page ───────── */
.view--lost.is-active { display: grid; place-items: center; min-height: calc(100svh - var(--header-h) - var(--footer-h)); padding: 1.5rem var(--edge) 2.5rem; }
.lost { display: grid; justify-items: center; text-align: center; min-width: 0; }
.lost__num { display: flex; align-items: center; justify-content: center; font-size: clamp(6.5rem, min(27vw, 36svh), 20rem); font-weight: 600; letter-spacing: -.06em; line-height: .8; user-select: none; -webkit-user-select: none; }
.lost__eyes { font-size: .7em; padding: 0; gap: .03em; margin: 0 .05em 0 .2em; letter-spacing: 0; } /* the eyes are as tall as the figures */
.lost__eyes .eyes__eye { border-width: .075em; animation: lostBlink 5.2s infinite; }
.lost__eyes .eyes__eye i { transition: transform .12s linear, background .2s; }
.lost__eyes.is-wander .eyes__eye i { transition: transform .55s var(--ease), background .2s; }
.lost__eyes:active .eyes__eye i { background: var(--pink); }
@keyframes lostBlink { 0%, 93%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(.08); } }
.lost__t { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; margin-top: clamp(1.5rem, 4.5svh, 2.75rem); }
.lost__s { color: var(--g600); max-width: 24rem; margin-top: .7rem; text-wrap: balance; }
.lost__s code { font: inherit; color: var(--fg); background: var(--g100); border-radius: var(--r-btn); padding: .1em .4em; display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.lost__go { display: flex; flex-wrap: wrap; justify-content: center; gap: .375rem; margin-top: 1.5rem; }

/* ───────── contact + toast ───────── */
.contact { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--edge); }
.contact__scrim { position: absolute; inset: 0; background: rgba(13, 13, 13, .45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
/* the card: direct contacts on the left, the brief on the right (it scrolls inside the card) */
.contact__card { position: relative; width: min(100%, 58rem); height: min(calc(100svh - 2 * var(--edge)), 47rem); display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 0 2.25rem; background: var(--bg); border-radius: 1rem; padding: 1.25rem; overflow: hidden; animation: pop .45s var(--ease) both; }
@keyframes pop { from { transform: translateY(1rem) scale(.985); opacity: 0; } }
.contact__card > .sq { position: absolute; right: 1.25rem; top: 1.25rem; z-index: 2; }
/* The card has one fixed size: it does not follow its content (the budget chips take one or two rows depending on
   the country, the sent state is short). The brief scrolls inside when the screen is low. */
.contact__intro { display: flex; flex-direction: column; min-height: 0; }
.contact__kicker { font-size: var(--t-xs); text-transform: uppercase; color: var(--g400); padding-top: .6rem; }
.contact__big { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; margin: 2.25rem 0 .9rem; }
.contact__sub { color: var(--g600); max-width: 17rem; margin-bottom: 1.5rem; }
.contact__direct { margin-top: auto; }
.contact__card .btn--dark { justify-content: space-between; width: 100%; height: 3rem; font-size: .9375rem; }
.contact__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: .375rem; margin-top: .375rem; }
.contact__links .btn { justify-content: space-between; }
/* the brief: small uppercase questions, filled fields and chips with the site's 6px corners */
.cform { display: flex; flex-direction: column; gap: .95rem; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .35rem .25rem 0 0; } /* fits the card without scrolling down to a screen about 700 px tall: the message box takes whatever height is left */
.cform legend, .cfield > span { display: block; padding: 0; margin-bottom: .4rem; font-size: var(--t-xs); text-transform: uppercase; color: var(--g500); }
.cset { border: 0; margin: 0; padding: 0; min-width: 0; }
.crow { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem .5rem; }
.cfield { display: block; min-width: 0; }
.cfield input, .cfield textarea { display: block; width: 100%; border: 0; border-radius: var(--r-btn); background: var(--g100); color: var(--fg); font: inherit; letter-spacing: inherit; padding: 0 .8rem; height: 2.5rem; outline: 0; transition: box-shadow .2s, background .2s; }
.cfield textarea { height: auto; min-height: 2.6rem; padding: .7rem .8rem; resize: none; line-height: 1.4; }
.cfield--grow { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 4.2rem; }
.cfield--grow textarea { flex: 1 1 auto; }
.cfield input::placeholder, .cfield textarea::placeholder { color: var(--g400); }
.cfield input:focus-visible, .cfield textarea:focus-visible { box-shadow: inset 0 0 0 1.5px var(--fg); background: var(--bg); border-radius: var(--r-btn); outline: 0; }
.cchips { display: flex; flex-wrap: wrap; gap: .3rem; }
[data-budget] { min-height: 1.9rem; } /* both currencies fit one row here, so switching country moves nothing */
.cchip { height: 1.9rem; padding: 0 .75rem; border-radius: var(--r-btn); background: var(--g100); font-size: .8125rem; white-space: nowrap; transition: background .2s, color .2s; }
.cchip:hover { background: var(--g200); }
.cchip[aria-pressed="true"] { background: #262626; color: #fff; }
.chp { position: absolute; left: -200vw; width: 1px; height: 1px; opacity: 0; }
.cfoot { display: grid; gap: .6rem; }
.cnote { font-size: var(--t-sm); color: var(--g600); }
.cnote:empty { display: none; } /* the note only takes room when there is something to say */
.cdone { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; padding: 3rem 0 1rem; }
.cdone .contact__big { margin-top: 0; }
@media (max-width: 800px) {
  /* one column; the whole card scrolls and the brief comes right after the heading */
  /* rows take their content's full height: with the card's fixed height, plain auto rows squeezed the brief (it may
     shrink) and the email and links of the next row landed on top of its fields */
  .contact__card { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: max-content; height: calc(100svh - 2 * var(--edge)); align-content: start; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  /* the close button stays in reach while the card scrolls (it takes no row of its own) */
  .contact__card > .sq { position: sticky; top: 0; right: auto; justify-self: end; margin-bottom: -2.0625rem; background: var(--bg); box-shadow: 0 0 0 1px var(--g200); }
  /* 16px in the fields: below that, iOS zooms the page in when a field takes focus */
  .cfield input, .cfield textarea { font-size: 1rem; }
  [data-budget] { min-height: 4.1rem; } /* two rows on a narrow screen, in either currency */
  .contact__big { margin-top: 1.5rem; }
  .contact__sub { margin-bottom: 1rem; }
  .cform { overflow: visible; padding: 1.25rem 0 0; }
  .cfield--grow textarea { min-height: 6rem; }
  .contact__intro { display: contents; }
  .contact__direct { order: 3; margin-top: 1.5rem; }
  .crow { grid-template-columns: 1fr; }
}
.toast { position: fixed; left: 50%; bottom: calc(var(--footer-h) + .75rem); z-index: 95; transform: translate(-50%, 1rem); padding: .5rem .8rem; border-radius: var(--r-btn); background: var(--fg); color: var(--bg); font-size: var(--t-xs); text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ───────── responsive ───────── */
@media (max-width: 1024px) {
  .hd { grid-template-columns: auto minmax(0, 1fr); column-gap: 2rem; }
  .hd__weather { display: none; }
  .work { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 1.25rem; }
  .side__bio { grid-row: span 2; }
  .lrow { grid-template-columns: 1.6rem minmax(0, 1.1fr) minmax(0, 1.4fr) 5.5rem 2.6rem; }
  .lrow__s { display: none; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch { columns: 4; }
  .viewer { grid-template-columns: minmax(0, 1fr); grid-template-rows: 62svh auto; overflow-y: auto; }
  .vw__canvas { margin: .5rem; }
  .vw__side { grid-template-rows: auto auto auto auto; }
  .vw__scroll { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .vw__actions { position: sticky; bottom: 0; background: var(--bg); padding-bottom: .75rem; }
  .slide { padding: 2.5rem 3.5rem .75rem; }
}
@media (max-width: 720px) {
  :root { --header-h: 3.25rem; --edge: 1rem; }
  /* phones: four menu items take the row, so the clock leaves the header (time and weather stay on About) */
  .hd__right { display: flex; justify-content: flex-end; }
  .hd__meta { display: none; }
  .hd__nav { gap: 1.15em; }
  .arch { columns: 2; }
  .ft { grid-template-columns: minmax(0, 1fr) auto; }
  .ft__soc { display: none; }
  /* home on phones: the two texts sit above the cloud, the hint below it */
  .orb { --cw: 5.4rem; }
  .home__side { top: .5rem; translate: none; font-size: .8125rem; max-width: 46%; --inset: var(--edge); }
  .pgrid { gap: 1.5rem .5rem; }
  .side { grid-template-columns: 1fr; }
  .case__info { grid-template-columns: 1fr; }
  .case__ps { grid-template-columns: 1fr; }
  .case__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lrow { grid-template-columns: 1.6rem minmax(0, 1fr) 2.6rem; }
  .lrow__t, .lrow__f, .lrow__s { display: none; }
  /* phones: the work comes first. Tall canvas, frames edge to edge, info below. */
  .viewer { grid-template-rows: 74svh auto; }
  .vw__canvas { margin: 0; border-radius: 0 0 1rem 1rem; }
  .slide { padding: .75rem .5rem .5rem; gap: .5rem; }
  .shot > img, .shot > video, .pg { border-radius: .6rem; }
  .vw__thumbs button { width: 2.9rem; height: 2.1rem; }
  .vw__arrow { top: auto; bottom: 3.4rem; }
  .vw__count { display: none; }
  .hl { grid-template-columns: 1fr 1fr; }
}
@media (hover: none) {
  .tile__blur, .tile__cap { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ft__track { animation: none !important; }
}
