/* The one stylesheet of lovingvictoriousbeings.com: tokens, type, the world stage and its rail,
   the pages around it. Warm paper, aubergine ink, and the current lens as the only accent. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin-standard-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2');
}

:root {
  --paper: oklch(97.5% 0.012 75);
  --paper-deep: oklch(94% 0.02 70);
  --ink: oklch(23% 0.035 325);
  --ink-soft: oklch(42% 0.03 325);
  --ink-mute: oklch(58% 0.02 325);
  --line: oklch(86% 0.02 60);
  --void: oklch(13% 0.02 320);
  --void-glass: oklch(16% 0.02 320 / 0.62);
  --glass-line: oklch(100% 0 0 / 0.14);
  --lens: #ff9ec6;
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --measure: 62ch;
  --gutter: clamp(16px, 4vw, 48px);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5.5rem;
  --radius: 18px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.grain::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 420;
  font-variation-settings:
    'SOFT' 60,
    'WONK' 1;
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 1.8rem + 4.2vw, 5.6rem);
}
h2 {
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.3rem);
}
h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.7rem);
}
p {
  margin: 0 0 var(--space-2);
  max-width: var(--measure);
}
a {
  color: inherit;
  text-decoration-color: color-mix(in oklch, var(--lens) 70%, var(--ink));
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-color: var(--ink);
}
em {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.04em;
}
strong {
  font-weight: 700;
}
button {
  font: inherit;
  color: inherit;
}
img,
canvas,
svg {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--lens);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- shell -------------------------------------------------------------------------------- */
.container {
  width: min(1180px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 18px var(--gutter);
  color: white;
}
.topbar--paper {
  position: static;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  font-variation-settings:
    'SOFT' 80,
    'WONK' 1;
}
.wordmark small {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}
.wordmark svg {
  width: 34px;
  height: 18px;
}
.nav {
  display: flex;
  gap: clamp(10px, 2vw, 26px);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.nav a {
  text-decoration: none;
  opacity: 0.86;
}
.nav a:hover,
.nav a[aria-current='page'] {
  opacity: 1;
  text-decoration: underline;
}
@media (max-width: 720px) {
  .nav {
    display: none;
  }
}

/* ---- the world stage ----------------------------------------------------------------------- */
.stage {
  position: relative;
  height: 100svh;
  min-height: 560px;
  background: var(--void);
  color: white;
  overflow: hidden;
  isolation: isolate;
}
.stage--embedded {
  border-bottom: 1px solid var(--line);
}
.stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
.stage canvas:active {
  cursor: grabbing;
}
.stage-title {
  position: absolute;
  left: var(--gutter);
  top: clamp(84px, 18vh, 160px);
  max-width: min(600px, 56vw);
  pointer-events: none;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.45);
}
.stage-title h1 {
  margin-bottom: 0.4rem;
  font-weight: 380;
}
.stage-title p {
  font-size: clamp(1rem, 0.95rem + 0.5vw, 1.3rem);
  max-width: 34ch;
  margin: 0;
  opacity: 0.92;
}
.stage-title .eyebrow {
  margin-bottom: 1rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.8;
}
.stage {
  --rail-height: 220px;
}
.stage-hint {
  position: absolute;
  left: 50%;
  bottom: calc(var(--rail-height) + 14px);
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--void-glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.stage-hint.is-hidden {
  opacity: 0;
}
.stage.is-loading::before {
  content: 'loading the world';
  position: absolute;
  left: var(--gutter);
  bottom: calc(var(--rail-height) + 14px);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  z-index: 2;
}

/* The rail: everything you can change, in one glass band at the bottom. */
.rail {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 10;
  display: grid;
  gap: 10px;
  padding: 12px var(--gutter) max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(
    to top,
    oklch(10% 0.02 320 / 0.85),
    oklch(10% 0.02 320 / 0.35) 70%,
    transparent
  );
}
.rail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.rail-row::-webkit-scrollbar {
  display: none;
}
.rail-label {
  flex: 0 0 auto;
  width: 64px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: var(--void-glass);
  backdrop-filter: blur(16px) saturate(1.3);
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.chip:hover {
  transform: translateY(-1px);
  border-color: oklch(100% 0 0 / 0.4);
}
.chip[aria-pressed='true'] {
  background: oklch(100% 0 0 / 0.14);
  border-color: var(--chip, var(--lens));
  box-shadow: 0 0 0 1px var(--chip, var(--lens)) inset;
}
.chip--lens::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    white,
    var(--chip) 55%,
    color-mix(in oklch, var(--chip), black 35%)
  );
  box-shadow: 0 0 10px color-mix(in oklch, var(--chip), transparent 40%);
}
.chip--frame canvas {
  width: 44px;
  height: 22px;
  opacity: 0.95;
}
.chip--world {
  padding: 4px 12px 4px 4px;
}
.chip--world img {
  width: 48px;
  height: 24px;
  object-fit: cover;
  border-radius: 999px;
}
.rail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.rail-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: var(--void-glass);
  backdrop-filter: blur(16px) saturate(1.3);
  color: white;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.rail-button:hover {
  transform: translateY(-1px);
  background: oklch(100% 0 0 / 0.12);
}
.rail-button--primary {
  background: var(--lens);
  color: var(--void);
  border-color: transparent;
}
.rail-button--primary:hover {
  background: color-mix(in oklch, var(--lens), white 12%);
}
.rail-button[aria-pressed='true']:not(.rail-button--primary) {
  border-color: var(--lens);
}
.rail-button--vr:disabled {
  opacity: 0.45;
  cursor: default;
}
.rail-keys {
  margin-left: auto;
  font-size: 0.72rem;
  opacity: 0.55;
  letter-spacing: 0.03em;
}
@media (max-width: 720px) {
  .rail-keys {
    display: none;
  }
  .rail-label {
    display: none;
  }
  .rail {
    gap: 8px;
    padding-top: 8px;
  }
  .rail-button {
    padding: 8px 13px;
    font-size: 0.8rem;
  }
  .chip {
    padding: 6px 10px 6px 7px;
    font-size: 0.78rem;
  }
  .stage--full .stage-hint {
    bottom: auto;
    top: 96px;
  }
}

/* The lens card: what you are looking through, in words. */
.lens-card {
  position: absolute;
  right: var(--gutter);
  top: clamp(84px, 16vh, 150px);
  z-index: 10;
  width: min(340px, calc(100% - 2 * var(--gutter)));
  max-height: calc(100% - clamp(84px, 16vh, 150px) - var(--rail-height) - 24px);
  overflow: auto;
  scrollbar-width: thin;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--void-glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(20px) saturate(1.4);
  color: white;
  font-size: 0.86rem;
  line-height: 1.5;
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.35);
}
.lens-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--lens);
}
.lens-card h2 {
  font-size: 1.7rem;
  margin: 0;
}
.lens-card .eyebrow {
  margin-bottom: 4px;
}
.lens-card p {
  margin: 0 0 10px;
}
.lens-card [data-card-tags] {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 10px;
}
.lens-card [data-card-brand] {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.98rem;
  opacity: 0.9;
}
.lens-card .card-links {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  font-weight: 600;
}
.lens-card .card-links a {
  text-decoration-color: var(--lens);
}
.adapt {
  --adapt: 0%;
  margin: 10px 0 6px;
  font-size: 0.74rem;
  opacity: 0.8;
}
.adapt::before {
  content: '';
  display: block;
  height: 3px;
  margin-bottom: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--lens) var(--adapt), oklch(100% 0 0 / 0.16) var(--adapt));
  transition: background 0.4s linear;
}
.lens-card .wear-note {
  font-size: 0.72rem;
  opacity: 0.62;
  margin: 8px 0 0;
}
.lens-card details summary {
  cursor: pointer;
  font-size: 0.78rem;
  opacity: 0.8;
}
@media (max-width: 900px) {
  .lens-card {
    display: none;
  }
  .stage--full .lens-card {
    display: block;
    top: auto;
    bottom: calc(var(--rail-height) + 10px);
    max-height: 40svh;
    right: var(--gutter);
    left: var(--gutter);
    width: auto;
    padding: 12px 14px;
  }
  .stage--full .lens-card [data-card-see],
  .stage--full .lens-card [data-card-brand],
  .stage--full .lens-card .wear-note,
  .stage--full .lens-card details {
    display: none;
  }
}

/* ?clean=1 shows the world alone, for pictures of it. */
body.is-clean .topbar,
body.is-clean .rail,
body.is-clean .lens-card,
body.is-clean .stage-hint {
  display: none;
}

/* ---- sections on paper --------------------------------------------------------------------- */
.section {
  padding: var(--space-5) 0;
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section--deep {
  background: var(--paper-deep);
}
.section-head {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  margin-bottom: var(--space-4);
}
.section-head p {
  font-size: 1.05rem;
  color: var(--ink-soft);
}
@media (max-width: 820px) {
  .section-head {
    grid-template-columns: 1fr;
  }
}
.lede {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.3;
  max-width: 30ch;
  color: var(--ink);
}
.grid {
  display: grid;
  gap: clamp(14px, 2vw, 28px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
}

/* A lens card on paper: the same world seen through CSS, no WebGL needed. */
.lens-tile {
  --lens: #ff9ec6;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.lens-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -24px color-mix(in oklch, var(--lens), black 20%);
}
.lens-view {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--void);
}
.lens-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lens-view::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lens);
  mix-blend-mode: multiply;
  opacity: 0.86;
}
.lens-view--gradient::after {
  background: linear-gradient(to bottom, var(--lens), color-mix(in oklch, var(--lens), white 65%));
}
.lens-view--clear::after {
  opacity: 0;
}
.lens-view .lens-split {
  position: absolute;
  inset: 0 50% 0 0;
  overflow: hidden;
  z-index: 1;
}
.lens-view .lens-split img {
  width: 200%;
  max-width: none;
}
.lens-tile-body {
  padding: 16px 18px 18px;
}
.lens-tile h3 {
  margin: 0 0 4px;
}
.lens-tile .tags {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.lens-tile p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}
.swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    white,
    var(--lens) 55%,
    color-mix(in oklch, var(--lens), black 30%)
  );
  vertical-align: -2px;
  margin-right: 6px;
}

.frame-tile {
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.frame-tile canvas,
.frame-tile svg {
  width: 100%;
  height: auto;
  color: var(--ink);
}
.frame-tile h3 {
  margin: 6px 0 0;
}
.frame-tile .meta {
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.frame-tile p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}
.frame-tile .pick {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--lens) 60%, var(--ink));
  font-weight: 700;
}
.frame-tile .links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.button:hover {
  transform: translateY(-1px);
  background: color-mix(in oklch, var(--ink), var(--lens) 25%);
}
.button--lens {
  background: var(--lens);
  color: var(--void);
}
.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-3);
}

/* People: Lars and Star. */
.person {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  align-items: start;
}
@media (max-width: 820px) {
  .person {
    grid-template-columns: 1fr;
  }
}
.person-aside {
  position: sticky;
  top: var(--space-3);
  display: grid;
  gap: var(--space-2);
}
.monogram {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 20% 10%, color-mix(in oklch, var(--lens), white 30%), transparent 60%),
    radial-gradient(90% 90% at 90% 90%, color-mix(in oklch, var(--lens), black 20%), transparent 60%),
    var(--void);
  color: white;
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 300;
  font-variation-settings:
    'SOFT' 100,
    'WONK' 1;
  letter-spacing: -0.04em;
}
.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}
.facts li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.facts li span:first-child {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 3px;
}
.prose p {
  max-width: var(--measure);
}
.prose h3 {
  margin-top: var(--space-4);
}
.prose blockquote {
  margin: var(--space-3) 0;
  padding-left: 18px;
  border-left: 3px solid var(--lens);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
}
.prose blockquote cite {
  display: block;
  margin-top: 8px;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--ink-mute);
}
.sources {
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.sources ol {
  padding-left: 1.2em;
}
.sources li {
  margin-bottom: 6px;
}

/* The program: big numbers, plain words. */
.numbers {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  margin: var(--space-3) 0;
}
.number {
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
}
.number b {
  display: block;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: color-mix(in oklch, var(--lens) 55%, var(--ink));
}
.number span {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--ink-mute);
}
.steps li strong {
  display: block;
  margin-bottom: 4px;
}
.steps li p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.note {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: color-mix(in oklch, var(--lens) 18%, white);
  border: 1px solid color-mix(in oklch, var(--lens) 40%, var(--line));
  font-size: 0.92rem;
}
.note p:last-child {
  margin-bottom: 0;
}

/* Lens detail page header. */
.lens-hero {
  position: relative;
  min-height: 52svh;
  display: grid;
  align-items: end;
  padding: var(--space-5) 0 var(--space-4);
  color: white;
  background: var(--void);
  overflow: hidden;
}
.lens-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lens-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lens);
  mix-blend-mode: multiply;
  opacity: 0.86;
}
.lens-hero--gradient::before {
  background: linear-gradient(to bottom, var(--lens), color-mix(in oklch, var(--lens), white 65%));
}
.lens-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(10% 0.02 320 / 0.75), transparent 60%);
}
.lens-hero .container {
  position: relative;
  z-index: 1;
}
.lens-hero h1 {
  margin-bottom: 0.3rem;
}
.lens-hero .tags {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.two-col {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}
@media (max-width: 820px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}
.aside-box {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  align-self: start;
  position: sticky;
  top: var(--space-3);
}
.aside-box h3 {
  margin: 0;
}

/* ---- footer -------------------------------------------------------------------------------- */
.footer {
  padding: var(--space-4) 0 var(--space-5);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.footer h4 {
  margin: 0 0 8px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.footer .fine {
  margin-top: var(--space-3);
  font-size: 0.78rem;
  color: var(--ink-mute);
  max-width: 80ch;
}

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