/* Owi — portfolio */
/* Fonts served from this site (no third-party request) */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/instrument-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #0b0b0b;
  --panel: #141414;
  --fg: #f2f1ee;
  --mut: #a09f9a;
  --dim: #74736f;
  --line: rgba(255, 255, 255, .1);
  --acc: #00ffb2;
  --card: #171717;
  --edge: rgba(255, 255, 255, .07);
  --tint: rgba(255, 255, 255, .07);
  --tint2: rgba(255, 255, 255, .13);
  --under: rgba(255, 255, 255, .3);
  --r: 22px;
  --rt: 14px;
  --gap: 8px;
  --pad: 16px;
  --aside: 368px;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Light theme: chosen with the switch in the left column, remembered per browser */
:root[data-theme="light"] {
  --bg: #f2f1ed;
  --panel: #e6e5e0;
  --fg: #111110;
  --mut: #5c5b57;
  --dim: #76756f;
  --line: rgba(0, 0, 0, .11);
  --acc: #008f5d;
  --card: #fbfaf8;
  --edge: rgba(0, 0, 0, .07);
  --tint: rgba(0, 0, 0, .055);
  --tint2: rgba(0, 0, 0, .1);
  --under: rgba(0, 0, 0, .3);
  color-scheme: light;
}
/* The viewer stays dark in both themes: pictures read best on black */
:root[data-theme="light"] .lb {
  --fg: #f2f1ee; --mut: #a09f9a; --dim: #74736f; --line: rgba(255, 255, 255, .1); --acc: #00ffb2;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 14px/1.5 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, p, ol, ul { margin: 0; padding: 0; font: inherit; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: #00ffb2; color: #000; }
:focus-visible { outline: 1.5px solid var(--acc); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; left: var(--pad); top: -60px; z-index: 20; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 4px; }
.skip:focus { top: var(--pad); }

.num, .label, .tags, .ct, .place, .fine, .lb-bar, .lb-close {
  font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: .02em; text-transform: uppercase;
}
.label { color: var(--dim); margin-bottom: 10px; }
.back { margin-bottom: 16px; }
.back a { color: var(--mut); transition: color .2s; }
.back a:hover { color: var(--fg); }

/* ── Layout ── */
body { display: grid; grid-template-columns: var(--aside) minmax(0, 1fr); gap: var(--pad); padding: 0 var(--pad); }

/* ── Intro (top left, stays put): two modules ── */
.intro {
  position: sticky; top: 0; align-self: start; height: 100vh; height: 100dvh;
  padding: var(--pad) 0; display: flex; flex-direction: column; gap: var(--gap);
  overflow-y: auto; scrollbar-width: none;
}
.intro::-webkit-scrollbar { display: none; }
.card { background: var(--card); border: 1px solid var(--edge); border-radius: var(--r); padding: 24px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; background: var(--panel); }
.id { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.id h1 { font-weight: 600; font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }
.id p, .bio { color: var(--mut); font-size: 15px; line-height: 1.5; }
.id a, .bio a { color: var(--fg); border-bottom: 1px solid var(--under); transition: border-color .2s; }
.id a:hover, .bio a:hover { border-bottom-color: var(--fg); }
.bio { display: flex; flex-direction: column; gap: 16px; text-wrap: pretty; }
.bio b { color: var(--fg); font-weight: 500; }
.contact { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.links { display: flex; gap: 8px; }
.links a, .mail { background: var(--tint); color: var(--mut); transition: background .2s, color .2s; }
.links a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; letter-spacing: -.02em; }
.mail { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; font-size: 15px; letter-spacing: -.005em; border-radius: 100px; white-space: nowrap; }
.links a:hover, .mail:hover { background: var(--tint2); color: var(--fg); }

.card.nav { padding: 18px 24px 16px; }
.index a {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: baseline;
  padding: 4px 0; color: var(--mut); border-top: 1px solid var(--line);
  transition: color .2s, padding .3s var(--ease);
}
.index .num, .index .ct { color: var(--dim); transition: color .2s; }
.index a:hover { color: var(--fg); }
.index a.on { color: var(--fg); padding-left: 8px; }
.index a.on .num { color: var(--acc); }
.index li:last-child a { border-bottom: 1px solid var(--line); }
.place { display: flex; justify-content: flex-start; gap: 10px; color: var(--dim); padding-top: 14px; }
.place a { color: var(--mut); margin-left: auto; transition: color .2s; }
.place a:hover, .place a.on { color: var(--fg); }
.place a.on i { color: var(--acc); }
.place i { font-style: normal; }
/* Theme switch: two small buttons, the current one is filled */
.card.me { position: relative; }
.theme { position: absolute; top: 24px; right: 24px; display: flex; gap: 2px; padding: 3px; border-radius: 100px; background: var(--tint); }
.theme button { width: 32px; height: 28px; border-radius: 100px; display: grid; place-items: center; color: var(--dim); transition: color .2s, background .2s; }
.theme button:hover { color: var(--fg); }
.theme button[aria-pressed="true"] { background: var(--card); color: var(--fg); box-shadow: 0 0 0 1px var(--edge), 0 1px 2px rgba(0, 0, 0, .12); }
:root:not([data-theme="light"]) .theme button[aria-pressed="true"] { background: var(--tint2); }

/* ── Work ── */
main { padding: var(--pad) 0 0; min-width: 0; }
.work { padding-bottom: 88px; scroll-margin-top: 0; }
.wh {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1.4fr) auto; column-gap: 16px; align-items: baseline;
  padding: 0 0 14px;
}
.work + .work .wh, .info { border-top: 1px solid var(--line); padding-top: 14px; }
.wh .num { color: var(--dim); }
.wh h2 { font-weight: 600; font-size: 15px; letter-spacing: -.005em; }
.wh .desc { color: var(--mut); grid-column: 3; grid-row: 1; max-width: 46ch; text-wrap: pretty; }
.wh .tags { color: var(--dim); grid-column: 4; text-align: right; }

.row { display: flex; gap: var(--gap); margin-bottom: var(--gap); }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); }
.t {
  position: relative; display: block; overflow: hidden; background: var(--panel); border-radius: var(--rt);
  aspect-ratio: var(--ar); cursor: pointer; isolation: isolate;
}
.row .t { flex: var(--ar) 1 0%; min-width: 0; }
.t picture { display: contents; }
.t img, .t video {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  transition: transform 1.1s var(--ease), opacity .7s var(--ease);
}
.js .t img { opacity: 0; }
.js .t img.in { opacity: 1; }
/* Hover: the picture leans in towards the cursor and follows it */
@media (hover: hover) and (pointer: fine) {
  .t:hover img, .t:hover video { transform: scale(1.035); transition-duration: 1.2s, .7s; }
}
.t:focus-visible { outline-offset: -2px; border-radius: var(--rt); }
.play {
  position: absolute; left: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(10, 10, 10, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s, transform .3s var(--ease);
}
.play::after { content: ""; position: absolute; left: 12px; top: 9.5px; border: 5.5px solid transparent; border-left: 9px solid #fff; border-right: 0; }
.t:hover .play { background: #00ffb2; transform: scale(1.06); }
.t:hover .play::after { border-left-color: #000; }

/* ── Before / after slider ── */
.ba {
  position: relative; margin: 0 0 var(--gap); overflow: hidden; background: var(--panel); border-radius: var(--rt);
  aspect-ratio: var(--ar); --pos: 50%; isolation: isolate; user-select: none;
}
.ba picture { display: contents; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-b { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; margin-left: -.5px; background: #fff; mix-blend-mode: difference; pointer-events: none; }
.ba-line::after {
  content: "↔"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: #f2f1ee; color: #0b0b0b; font-size: 13px; box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.ba-tag {
  position: absolute; bottom: 12px; padding: 4px 9px; border-radius: 100px; background: rgba(11, 11, 11, .6); color: #f2f1ee;
  font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; pointer-events: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ba-l { left: 12px; } .ba-r { right: 12px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ── Decision note: two lines of text between pictures ── */
.note { display: grid; grid-template-columns: 40px minmax(0, 150px) minmax(0, 1fr); gap: 0 12px; margin: 6px 0 calc(var(--gap) + 6px); padding: 14px 0; border-top: 1px solid var(--line); }
.note .label { grid-column: 2; margin: 0; padding-top: 3px; }
.note span:last-child { grid-column: 3; max-width: 60ch; color: var(--mut); text-wrap: pretty; }

/* ── Scroll reveal ──
   Each piece arrives as it enters the screen: the frame rises a little and fades in while the
   picture inside settles from slightly zoomed, like a lens finding focus. Pieces that enter
   together are staggered. Section rules draw themselves from the left. Skipped entirely for
   visitors who ask for reduced motion (the .rv class is never set). */
.rv .t {
  opacity: 0; translate: 0 var(--dy, 32px);
  transition: opacity 1s var(--ease) var(--d, 0ms), translate 1.3s var(--ease) var(--d, 0ms);
}
.rv .t.show { opacity: 1; translate: 0 0; }
.rv .t img, .rv .t video {
  scale: 1.1;
  transition: transform 1.1s var(--ease), opacity 1.1s var(--ease) var(--d, 0ms), scale 1.9s var(--ease) var(--d, 0ms);
}
.rv .t:not(.show) img.in { opacity: 0; }
.rv .t.show img.in, .rv .t.show video { scale: 1; }

.rv .wh { position: relative; border-top-color: transparent !important; }
.rv .work + .work .wh::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line);
  transform: scaleX(0); transform-origin: left; transition: transform 1.5s var(--ease);
}
.rv .wh.show::before { transform: scaleX(1); }
.rv .wh > * { opacity: 0; translate: 0 12px; transition: opacity .9s var(--ease), translate 1.1s var(--ease); }
.rv .wh > :nth-child(2) { transition-delay: .06s; }
.rv .wh > :nth-child(3) { transition-delay: .14s; }
.rv .wh > :nth-child(4) { transition-delay: .2s; }
.rv .wh.show > * { opacity: 1; translate: 0 0; }

.rv .cols > div, .rv .big, .rv .fine, .rv .ask, .rv .ba, .rv .note {
  opacity: 0; translate: 0 var(--dy, 24px);
  transition: opacity 1s var(--ease) var(--d, 0ms), translate 1.3s var(--ease) var(--d, 0ms), color .25s;
}
.rv .cols > div.show, .rv .big.show, .rv .fine.show, .rv .ask.show, .rv .ba.show, .rv .note.show { opacity: 1; translate: 0 0; }

.rv .intro .card { animation: rise 1.1s var(--ease) both; }
.rv .intro .card.nav { animation-delay: .09s; }
@keyframes rise { from { opacity: 0; translate: 0 16px; } }

/* ── Info ── */
.info { padding-bottom: var(--pad); scroll-margin-top: 0; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 6px; }
.list li, .list li a { display: flex; justify-content: space-between; gap: 12px; }
.list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.list li:first-child { border-top: 1px solid var(--line); }
.list li a { width: 100%; }
.list span:last-child { color: var(--dim); text-align: right; }
.list a:hover span:last-child { color: var(--acc); }
.big {
  display: block; margin: 96px 0 72px; font-size: clamp(30px, 5.6vw, 84px); line-height: 1; font-weight: 500;
  letter-spacing: -.045em; width: fit-content; transition: color .25s;
}
.big:hover { color: var(--acc); }
/* The line above the email: what to write for */
.ask { margin: 96px 0 0; color: var(--mut); font-size: 17px; letter-spacing: -.01em; }
.ask + .big { margin-top: 14px; }
.fine { display: flex; justify-content: space-between; color: var(--dim); }
.fine a:hover { color: var(--fg); }

.more { display: flex; gap: 24px; padding-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; text-transform: uppercase; color: var(--mut); }
.more a { transition: color .2s; }
.more a:hover { color: var(--fg); }

/* ── Profile pages (/about/, /es/): a plain, text-first sheet ── */
body.doc { display: block; }
.sheet { max-width: 720px; margin: 0 auto; padding: 20px 0 96px; font-size: 15px; line-height: 1.55; }
.doc-nav, .doc-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; text-transform: uppercase; color: var(--dim); }
.doc-nav a, .doc-foot a { color: var(--mut); transition: color .2s; }
.doc-nav a:hover, .doc-foot a:hover { color: var(--fg); }
.doc-head { padding: 72px 0 8px; }
.doc-head h1 { font-size: 40px; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 14px; }
.lead { font-size: 21px; line-height: 1.35; letter-spacing: -.012em; color: var(--fg); text-wrap: balance; }
.sheet section { padding-top: 56px; }
.sheet h2 { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.sheet section p { color: var(--mut); max-width: 64ch; text-wrap: pretty; }
.sheet section p + p { margin-top: 12px; }
.sheet section p a { color: var(--fg); border-bottom: 1px solid var(--under); }
.facts { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 7px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--dim); }
.tagsl { display: flex; flex-wrap: wrap; gap: 6px; }
.tagsl li { padding: 5px 12px; border-radius: 100px; background: var(--tint); color: var(--mut); font-size: 14px; }
.worksl li a { display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr); gap: 12px; }
.worksl span:last-child { text-align: left; }
.faq h3 { font-size: 15px; font-weight: 600; margin: 22px 0 4px; }
.faq h2 + h3 { margin-top: 0; }
.doc-foot { margin-top: 72px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .doc-head { padding-top: 48px; }
  .doc-head h1 { font-size: 34px; }
  .lead { font-size: 19px; }
  .facts, .worksl li a { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 0; }
  .worksl li a { gap: 0; }
}

.lost { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.lost h1 { font-size: 40px; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 14px; }
.lost p { color: var(--mut); }
.lost a { color: var(--fg); border-bottom: 1px solid var(--under); }

/* ── Viewer ── */
.lb {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(6, 6, 6, .97); color: var(--fg); overflow: hidden;
}
.lb::backdrop { background: #060606; }
.lb[open] { animation: lb-in .28s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lb-stage { position: absolute; inset: 52px 20px 56px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 3px; animation: lb-img .4s var(--ease); }
.lb-stage img, .lb-stage video, .lb-stage iframe { grid-area: 1 / 1; min-height: 0; }
.lb-stage iframe { width: min(100%, calc((100dvh - 108px) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; border-radius: 3px; background: #000; position: relative; z-index: 3; }
@keyframes lb-img { from { opacity: 0; transform: scale(.985); } }
.lb-nav { position: absolute; top: 52px; bottom: 56px; width: 22%; z-index: 2; display: flex; align-items: center; color: var(--fg); }
.lb-prev { left: 0; padding-left: 20px; cursor: w-resize; }
.lb-next { right: 0; padding-right: 20px; justify-content: flex-end; cursor: e-resize; }
.lb-nav span { font-size: 18px; opacity: 0; transition: opacity .2s, transform .3s var(--ease); width: 40px; height: 40px; border-radius: 50%; background: rgba(20, 20, 20, .7); display: grid; place-items: center; }
.lb-nav:hover span, .lb-nav:focus-visible span { opacity: 1; }
.lb:focus, .lb-nav:focus, .lb-nav:focus-visible { outline: none; }
.lb-nav:focus-visible span { box-shadow: 0 0 0 1.5px var(--acc); }
.lb-nav { -webkit-tap-highlight-color: transparent; }
.lb.embed .lb-nav { width: 64px; }
.lb.embed .lb-nav span { opacity: .8; }
.lb-bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.lb-cap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-meta { display: flex; gap: 20px; color: var(--mut); white-space: nowrap; }
.lb-meta a { color: var(--acc); }
.lb-close { position: absolute; top: 0; right: 20px; height: 52px; z-index: 4; color: var(--mut); }
.lb-close:hover { color: var(--fg); }
.lb-close kbd { font: inherit; border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; margin-left: 6px; }

/* ── Small screens ── */
@media (max-width: 900px) {
  :root { --pad: 16px; --gap: 6px; }
  body { display: block; }
  :root { --r: 20px; --rt: 10px; }
  .intro { position: static; height: auto; padding: 12px 0 36px; overflow: visible; }
  .index { display: none; }
  .card.nav { padding: 14px 24px; }
  .place { padding-top: 0; }
  main { padding-top: 0; }
  .work { padding-bottom: 64px; }
  .work:first-child .wh { border-top: 1px solid var(--line); padding-top: 14px; }
  .rv .work:first-child .wh::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.5s var(--ease); }
  .rv .t { --dy: 24px; }
  .wh { grid-template-columns: 30px minmax(0, 1fr); row-gap: 2px; }
  .wh .desc { grid-column: 2; grid-row: auto; }
  .wh .tags { grid-column: 2; text-align: left; margin-top: 6px; }
  .row { flex-wrap: wrap; }
  .row .t { flex: 1 1 100%; }
  .row .t.p, .row.keep .t { flex: 1 1 calc(50% - var(--gap)); }
  .grid { grid-template-columns: repeat(var(--mcols), minmax(0, 1fr)); }
  .cols { grid-template-columns: 1fr; gap: 28px; }
  .big { margin: 64px 0 48px; }
  .ask { margin-top: 64px; font-size: 16px; }
  .note { grid-template-columns: 1fr; }
  .note .label, .note span:last-child { grid-column: 1; }
  .lb-stage { inset: 52px 0 56px; }
  .lb-stage img, .lb-stage video, .lb-stage iframe { border-radius: 0; }
  .lb-bar { left: 16px; right: 16px; }
  .lb-close { right: 16px; }
  .lb-close kbd { display: none; }
  .lb-nav span { display: none; }
  .lb.embed .lb-nav { display: none; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  :root { --aside: 300px; }
  .card { padding: 20px; }
  .theme { top: 20px; right: 20px; }
  .card.nav { padding: 18px 20px 16px; }
  .wh { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .wh .desc { grid-column: 2; grid-row: 2; }
  .wh .tags { grid-column: 3; }
}
@media (min-width: 1800px) { :root { --aside: 410px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
