/* ==========================================================================
   Liam Berg — portfolio
   One stylesheet for the home page and every project page.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #0e0e10;
  --bg-2: #151518;
  --bg-3: #1c1c20;
  --line: #28282d;
  --line-2: #3a3a41;
  --ink: #edebe6;
  --ink-2: #b5b3ac;
  --ink-3: #8a8881;
  --accent: #e3a447;
  --accent-hover: #efb760;
  --accent-ink: #1b1305;

  --radius: 4px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 64px;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

::selection { background: var(--accent); color: var(--accent-ink); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: 500 14px/1 var(--font-body);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: var(--ink-2); background: rgba(255, 255, 255, .03); }

.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn--sm { min-height: 38px; padding: 0 14px; font-size: 13px; }

.arrow { display: inline-block; transition: transform .2s var(--ease); }
a:hover .arrow { transform: translate(2px, -2px); }
a:hover .arrow--right { transform: translateX(3px); }

.text-link {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color .15s;
}
.text-link:hover { color: var(--accent); }

/* ---------- navigation ---------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
}
.site-nav.is-solid {
  background: rgba(14, 14, 16, .86);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--nav-h);
}

.brand {
  font: 800 14px/1 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); font-size: 14px; }
.nav-links a { color: var(--ink-2); transition: color .15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--ink); }
.nav-links .nav-cta a { color: var(--accent); }
.nav-links .nav-cta a:hover { color: var(--accent-hover); }

.nav-links .nav-lang a {
  display: inline-block;
  padding: 5px 7px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  font: 500 11.5px/1 var(--font-mono);
  letter-spacing: .06em;
  color: var(--ink-2);
  transition: border-color .15s, color .15s;
}
.nav-links .nav-lang a:hover { border-color: var(--ink-2); color: var(--ink); }

@media (max-width: 600px) {
  .nav-links { gap: 16px; font-size: 13px; }
  .nav-links .nav-optional { display: none; }
}
@media (max-width: 380px) {
  .nav-links .nav-hide-xs { display: none; }
}

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(100svh, 940px);
  padding: calc(var(--nav-h) + 48px) 0 72px;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 14, 16, .7) 0%, rgba(14, 14, 16, 0) 20%),
    linear-gradient(0deg, var(--bg) 0%, rgba(14, 14, 16, .6) 22%, rgba(14, 14, 16, 0) 55%),
    linear-gradient(90deg, rgba(14, 14, 16, .88) 0%, rgba(14, 14, 16, .55) 42%, rgba(14, 14, 16, 0) 72%);
}

.hero > .wrap { width: 100%; }
.hero-content { max-width: 720px; }

.hero h1 {
  margin-top: 18px;
  font-size: clamp(56px, 10vw, 136px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -0.035em;
}

.hero-lede {
  margin-top: 26px;
  max-width: 34em;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink);
}
.hero-lede + .hero-lede { margin-top: 12px; color: var(--ink-2); font-size: clamp(15px, 1.3vw, 17px); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-credit {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  font: 12px/1.4 var(--font-mono);
  color: var(--ink-3);
  transition: color .15s;
}
.hero-credit:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: 88svh; padding-bottom: 56px; }
  .hero-media img { object-position: 70% 50%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(14, 14, 16, .75) 0%, rgba(14, 14, 16, 0) 25%),
      linear-gradient(0deg, var(--bg) 8%, rgba(14, 14, 16, .82) 50%, rgba(14, 14, 16, .15) 100%);
  }
  .hero-credit { display: none; }
}

/* ---------- highlights strip ---------- */

.highlights { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.highlights ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlights li { padding: 26px 24px; border-left: 1px solid var(--line); }
.highlights li:first-child { border-left: 0; padding-left: 0; }
.highlights b {
  display: block;
  font: 800 clamp(24px, 2.8vw, 34px)/1 var(--font-display);
  letter-spacing: -0.02em;
}
.highlights span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }

@media (max-width: 860px) {
  .highlights ul { grid-template-columns: repeat(2, 1fr); }
  .highlights li { padding: 20px 0 20px 18px; }
  .highlights li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .highlights li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
  align-items: end;
  gap: 20px 56px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 { margin-top: 14px; font-size: clamp(36px, 5.2vw, 60px); }
.section-head p:not(.eyebrow) { color: var(--ink-2); }
.section-head p + p { margin-top: 12px; }

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
}

.subhead {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: clamp(64px, 8vw, 96px) 0 28px;
}
.subhead h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; white-space: nowrap; }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.section-foot { margin-top: clamp(40px, 5vw, 56px); color: var(--ink-3); }

/* ---------- project cards ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 44px) clamp(16px, 2.4vw, 28px);
}
.work-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { display: block; }

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-3);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), opacity .3s;
}
.card:hover .card-media img { transform: scale(1.04); }

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  pointer-events: none;
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 3px;
  background: rgba(14, 14, 16, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}

.card-body { padding-top: 16px; }
.card-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font: 700 21px/1.2 var(--font-display);
  letter-spacing: -0.01em;
}
.card-title .arrow { color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease); }
.card:hover .card-title .arrow { opacity: 1; transform: none; }
.card-meta { margin-top: 6px; font: 12.5px/1.5 var(--font-mono); color: var(--ink-3); }
.card-desc { margin-top: 10px; font-size: 15px; color: var(--ink-2); max-width: 46em; }

.card--feature { grid-column: 1 / -1; }
.card--feature .card-media { aspect-ratio: 21 / 9; }
.card--feature .card-media img { object-position: 50% 62%; }
.card--feature .card-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 48px; align-items: start; padding-top: 20px; }
.card--feature .card-title { font-size: clamp(26px, 3.2vw, 38px); }
.card--feature .card-desc { margin-top: 2px; grid-column: 2; grid-row: 1 / span 2; }

.work-grid--3 .card-title { font-size: 18px; }

@media (max-width: 900px) {
  .work-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--feature .card-body { grid-template-columns: 1fr; }
  .card--feature .card-desc { grid-column: auto; grid-row: auto; margin-top: 8px; }
}
@media (max-width: 640px) {
  .work-grid, .work-grid--3 { grid-template-columns: 1fr; }
  .card--feature .card-media { aspect-ratio: 16 / 9; }
  .card-title .arrow { opacity: 1; transform: none; }
}

/* ---------- games ---------- */

.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }

.game {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-2);
}

.game-head { display: flex; align-items: center; gap: 16px; }
.game-icon { width: 64px; height: 64px; border-radius: 15px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.game h3 { font-size: 20px; font-weight: 700; line-height: 1.15; }
.game-meta { margin-top: 6px; font: 12px/1.4 var(--font-mono); color: var(--ink-3); }

.game-desc { margin-top: 18px; font-size: 15px; color: var(--ink-2); }

.game-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}
.game-shots img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg-3);
}

.game-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: auto; padding-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  font: 11.5px/1.3 var(--font-mono);
  color: var(--ink-2);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .games { grid-template-columns: 1fr; }
  .game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); column-gap: 32px; }
  .game > * { grid-column: 1; }
  .game .game-shots { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
}
@media (max-width: 640px) {
  .game { display: flex; padding: 20px; }
  .game .game-shots { margin-top: 20px; }
}

/* ---------- about ---------- */

.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); }
.about h2 { margin-top: 14px; font-size: clamp(32px, 4.4vw, 50px); }
.about-copy p:not(.eyebrow) { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 38em; }
.about-copy h2 + p { color: var(--ink); }

.toolkit { display: grid; gap: 22px; align-content: start; }
.toolkit h3 {
  margin-bottom: 8px;
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.toolkit li { display: inline; font-size: 16px; }
.toolkit li:not(:last-child)::after { content: " · "; color: var(--ink-3); }
.toolkit > div { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.toolkit > div:last-child { border-bottom: 0; padding-bottom: 0; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- contact ---------- */

.contact { text-align: left; }
.contact h2 { margin-top: 14px; max-width: 16em; font-size: clamp(34px, 5vw, 58px); }
.contact-lede { margin-top: 18px; max-width: 34em; font-size: 17px; color: var(--ink-2); }
.contact-mail {
  display: inline-block;
  margin-top: 36px;
  font: 700 clamp(22px, 4vw, 44px)/1.1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  overflow-wrap: anywhere;
  transition: color .15s;
}
.contact-mail:hover { color: var(--accent); }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font: 12.5px/1.6 var(--font-mono); color: var(--ink-3); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--accent); }

/* ==========================================================================
   Project pages
   ========================================================================== */

.project-head { padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) 0 0; }

.back-link { font: 13px/1 var(--font-mono); color: var(--ink-3); transition: color .15s; }
.back-link:hover { color: var(--accent); }

.project-head .eyebrow { margin-top: clamp(28px, 4vw, 44px); }
.project-title { margin-top: 14px; max-width: 15em; font-size: clamp(40px, 7vw, 92px); font-weight: 900; letter-spacing: -0.03em; line-height: .95; }

.project-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px clamp(40px, 6vw, 88px);
  margin-top: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.project-lede p { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.project-lede p:first-child { color: var(--ink); }
.project-lede p + p { margin-top: 16px; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; margin: 0; align-content: start; font-size: 15px; }
.facts dt { padding-top: 3px; font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 0; color: var(--ink); }

.project-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; grid-column: 1 / -1; }
.project-note { flex-basis: 100%; margin-top: 4px; font: 12.5px/1.5 var(--font-mono); color: var(--ink-3); }

@media (max-width: 820px) {
  .project-intro { grid-template-columns: 1fr; }
}

/* media blocks */

.project-body { padding: clamp(32px, 5vw, 56px) 0 clamp(72px, 10vw, 120px); }
.project-body .wrap { max-width: 1440px; }

.stack { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.stack + .stack, .stack + .grid, .grid + .stack, .grid + .grid { margin-top: clamp(12px, 1.6vw, 20px); }

.grid { display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--center { justify-items: center; }

@media (max-width: 760px) {
  .grid, .grid--3 { grid-template-columns: 1fr; }
}

.shot { margin: 0; }
.shot > a, .shot > img, .shot > video, .shot > .yt-lite { display: block; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.shot img, .shot video { width: 100%; }
.shot--narrow { max-width: 560px; margin-inline: auto; }
.shot figcaption { margin-top: 10px; font: 12.5px/1.5 var(--font-mono); color: var(--ink-3); }

.body-text { max-width: 62ch; margin-bottom: clamp(20px, 2.4vw, 28px); color: var(--ink-2); }
.shot figcaption b { font-weight: 500; color: var(--ink-2); }

.zoom { cursor: zoom-in; }

.block-title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: clamp(56px, 8vw, 104px) 0 clamp(20px, 2.4vw, 28px);
}
.block-title:first-child { margin-top: 0; }
.block-title h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; white-space: nowrap; }
.block-title p { font-size: 15px; color: var(--ink-3); }
.block-title::after { content: ""; flex: 1; align-self: center; height: 1px; min-width: 24px; background: var(--line); order: 3; }

@media (max-width: 640px) {
  .block-title { flex-direction: column; gap: 6px; }
  .block-title::after { display: none; }
  .block-title h2 { white-space: normal; }
}

/* next / previous project */

.pager { border-top: 1px solid var(--line); }
.pager .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pager a { display: block; padding: 36px 0; transition: color .15s; }
.pager a + a { padding-left: 32px; border-left: 1px solid var(--line); text-align: right; }
.pager small { display: block; font: 12px/1 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.pager strong { display: block; margin-top: 12px; font: 700 clamp(20px, 2.6vw, 30px)/1.15 var(--font-display); letter-spacing: -0.015em; }
.pager a:hover strong { color: var(--accent); }

@media (max-width: 640px) {
  .pager .wrap { grid-template-columns: 1fr; }
  .pager a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); text-align: left; }
}

/* ==========================================================================
   Components shared by both page types
   ========================================================================== */

/* YouTube embed that only loads the player when clicked */

.yt-lite {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #000;
  color: #fff;
  cursor: pointer;
}
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: opacity .2s, transform .6s var(--ease); }
.yt-lite:hover img { opacity: 1; transform: scale(1.03); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(14, 14, 16, .72);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22);
  transform: translate(-50%, -50%);
  transition: background .2s, transform .2s var(--ease);
}
.yt-play::before { content: ""; margin-left: 4px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.yt-lite:hover .yt-play { background: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
.yt-lite:hover .yt-play::before { border-left-color: var(--accent-ink); }
.yt-lite.is-playing .yt-play, .yt-lite.is-playing img { display: none; }

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 40px);
  background: rgba(8, 8, 10, .95);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility 0s linear .2s;
}
/* Become visible immediately on open so the close button can take focus. */
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .2s, visibility 0s; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(14, 14, 16, .8);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
