/* ════════════════════════════════════════════════════════════════
   JJ.CSS — Jaeden John portfolio
   White ground, black ink. Inter semi-bold. No italics.
   Sections: tokens · base · cursor · nav · landing · home · project
   ════════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #1f1f1f;
  --ink-3: #5a5a5a;
  --ink-4: #999999;
  --line: #ececec;
  --line-2: #f3f3f3;
  --warm: #fafaf9;

  --sans: 'Inter', -apple-system, 'SF Pro Text', BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', 'SF Mono', ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease: cubic-bezier(0.65, 0.05, 0.18, 1);

  --pad-x: clamp(20px, 5vw, 64px);
  --pill-h: 50px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }

/* No italics anywhere */
em, i { font-style: normal; font-weight: inherit; }

@media (hover: hover) and (pointer: fine) {
  html.cursor-ready, html.cursor-ready * { cursor: none !important; }
}

/* ════════════════════════════════════════════════════════════════
   CUSTOM CURSOR — bar / pill / circle
   ════════════════════════════════════════════════════════════════ */
.jj-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.jj-cursor.is-visible { opacity: 1; }
.jj-cursor-bar {
  position: relative;
  width: 2px;
  height: 22px;
  background: #ffffff;
  transition:
    width 0.34s var(--ease-out),
    height 0.34s var(--ease-out),
    border-radius 0.34s var(--ease-out);
}
.jj-cursor-label {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: #ffffff;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.26s var(--ease-out);
  pointer-events: none;
}
.jj-cursor.is-pill .jj-cursor-bar { width: 84px; height: 28px; border-radius: 999px; }
.jj-cursor.is-pill .jj-cursor-label { opacity: 1; }
.jj-cursor.is-circle .jj-cursor-bar { width: 52px; height: 52px; border-radius: 999px; }
.jj-cursor.is-circle .jj-cursor-label { opacity: 0; }

@media (hover: none), (pointer: coarse) {
  .jj-cursor { display: none; }
  html, html * { cursor: auto !important; }
}

/* ════════════════════════════════════════════════════════════════
   PILL NAV — liquid glass, single cohesive piece
   ════════════════════════════════════════════════════════════════ */
.pill-nav {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0;
  height: var(--pill-h);
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: saturate(180%) blur(34px);
  -webkit-backdrop-filter: saturate(180%) blur(34px);
  border: 0.5px solid rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.4),
    0 8px 32px rgba(0, 0, 0, 0.05),
    0 2px 6px rgba(0, 0, 0, 0.04);
}
.pill-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--pill-h) - 12px);
  padding: 0 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  border-radius: 999px;
}
.pill-nav-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--pill-h) - 12px);
  padding: 0 16px;
  /* logo glyph only — no background, no frame */
}
.pill-nav-mark img,
.pill-nav-mark svg {
  height: 22px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  /* Many of the brand SVGs ship as white-bg + dark-glyph. multiply blends
     the white background into the glass and lets only the glyph show. */
  mix-blend-mode: multiply;
  transition: opacity 0.3s var(--ease-out);
  background: transparent;
}
.pill-nav-mark:hover img,
.pill-nav-mark:hover svg { opacity: 0.6; }

@media (max-width: 640px) {
  .pill-nav { top: 14px; height: 44px; padding: 0 4px; }
  .pill-nav-link { padding: 0 14px; font-size: 12px; }
  .pill-nav-mark { padding: 0 12px; }
  .pill-nav-mark img, .pill-nav-mark svg { height: 18px; max-width: 70px; }
}

/* ════════════════════════════════════════════════════════════════
   LANDING — full-bleed cascade + center signature
   ════════════════════════════════════════════════════════════════ */
.landing {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}
.landing-sig {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 38vw, 540px);
  height: clamp(150px, 20vw, 280px);
  z-index: 50;
}
.landing-sig canvas { width: 100% !important; height: 100% !important; display: block; }
.landing-sig-glow {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.96) 32%, rgba(255,255,255,0) 72%);
  z-index: -1;
  pointer-events: none;
}

.cascade {
  position: absolute;
  inset: 0;
  z-index: 4;
  /* On touch devices the whole cascade is the swipe surface */
  pointer-events: auto;
  touch-action: pan-y;
}
.cascade-item {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  will-change: transform;
  overflow: hidden;
  background: #f4f4f4;
}
.cascade-item img,
.cascade-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Depth tiers — opacity + grayscale, no transitions to avoid lag artifacts */
.cascade-item.depth-back { filter: grayscale(1) brightness(1.06) opacity(0.38); }
.cascade-item.depth-mid { filter: grayscale(1) opacity(0.62); }
.cascade-item.depth-front { filter: grayscale(1) opacity(0.92); }
.cascade-item:hover { filter: none; }

/* ════════════════════════════════════════════════════════════════
   MUSEUM MODAL — Met label, slight blur, no white frame, morph
   ════════════════════════════════════════════════════════════════ */
.museum {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.45s var(--ease-out),
    backdrop-filter 0.6s var(--ease-out),
    background 0.45s var(--ease-out);
}
.museum.is-open {
  opacity: 1;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.32);            /* slight veil */
  backdrop-filter: saturate(140%) blur(10px);       /* slight blur — landing still faintly visible */
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.museum-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 420px);
  gap: 56px;
  width: min(1180px, 94vw);
  max-height: 88vh;
  padding: 24px;
}

.museum-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  min-height: 320px;
  /* Empty placeholder — the morph layer paints over this region */
}

/* Morph layer — single visible element that flies from grid to center */
.museum-morph {
  overflow: hidden;
  background: transparent;
  z-index: 220;
  will-change: transform, opacity;
}
.museum-morph img,
.museum-morph video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
}

.museum-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-right: 18px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out) 0.55s, transform 0.45s var(--ease-out) 0.55s;
}
.museum.is-open .museum-info { opacity: 1; transform: translateY(0); }
.museum-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.museum-title {
  font-family: var(--sans);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.museum-attribution {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: -10px;
}
.museum-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.museum-meta-line > span:empty { display: none; }
.museum-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 44ch;
}
.museum-closer {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 44ch;
  font-style: normal;
  border-left: 2px solid var(--ink-4);
  padding-left: 12px;
}
.museum-wiki {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-3);
  padding-bottom: 4px;
  width: fit-content;
}
.museum-wiki:hover { border-color: var(--ink); }

.museum-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  z-index: 2;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.museum-close:hover { background: var(--ink); color: var(--bg); }

@media (max-width: 820px) {
  .museum-card {
    grid-template-columns: 1fr;
    gap: 18px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 14px;
  }
  /* Keep a real height so the morph layer has a destination rect to fly to */
  .museum-media { min-height: 48vh; }
  .museum-media img, .museum-media video { max-height: 48vh; }
}

/* ════════════════════════════════════════════════════════════════
   HOME PAGE
   ════════════════════════════════════════════════════════════════ */
.home-main {
  padding-top: calc(var(--pill-h) + 88px);
  min-height: 100vh;
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(40px, 7vw, 100px) var(--pad-x) clamp(48px, 8vw, 120px);
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
}
.about-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.about-title {
  font-family: var(--sans);
  font-size: clamp(36px, 5.6vw, 72px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: var(--ink);
  margin-bottom: 36px;
}
.about-body p {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 18px;
  max-width: 56ch;
}
.about-body p strong { color: var(--ink); font-weight: 700; }
.about-body a {
  border-bottom: 1px solid var(--ink-3);
  transition: border-color 0.2s var(--ease-out);
}
.about-body a:hover { border-color: var(--ink); }

/* PHOTO STACK */
.stack-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stack-card {
  position: absolute;
  width: 78%;
  aspect-ratio: 3 / 4;
  background: #f0f0f0;
  overflow: hidden;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.10),
    0 2px 6px rgba(0, 0, 0, 0.06);
  will-change: transform, opacity;
  opacity: 0;
  transition:
    opacity 0.36s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.stack-card.in { opacity: 1; }
.stack-card img,
.stack-card video {
  width: 100%; height: 100%;
  object-fit: cover;
  background: #efefef;
}

@media (max-width: 880px) {
  .about {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: clamp(32px, 8vw, 80px);
  }
  .stack-stage { max-height: 60vh; order: -1; }
}

/* WORK — horizontal medallion row */
.work-section {
  padding: clamp(48px, 8vw, 120px) var(--pad-x);
  max-width: 1300px;
  margin: 0 auto;
}
.work-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 64px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.medallion-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.medallion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  /* No background, no border, no frame */
}
.medallion-mark {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.medallion-mark canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.medallion-name {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-align: center;
}
.medallion:hover .medallion-name { color: var(--ink-3); transition: color 0.25s var(--ease-out); }

@media (max-width: 880px) {
  .medallion-row { grid-template-columns: repeat(2, 1fr); gap: 48px; }
}
@media (max-width: 480px) {
  .medallion-row { grid-template-columns: 1fr; gap: 56px; max-width: 280px; margin: 0 auto; }
}

/* REACH OUT */
.reach {
  padding: clamp(80px, 12vw, 180px) var(--pad-x) clamp(40px, 6vw, 80px);
  max-width: 1300px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.reach-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.reach-headline {
  font-family: var(--sans);
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: var(--ink);
  margin-bottom: 48px;
  max-width: 16ch;
}
.reach-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.reach-cta:hover { transform: translateY(-2px); opacity: 0.86; }

.reach-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.reach-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0.5px solid var(--line);
  border-radius: 999px;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  overflow: hidden;
}
.reach-social img,
.reach-social svg {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0);
}
.reach-social:hover { background: var(--ink); border-color: var(--ink); }
.reach-social:hover img { filter: brightness(0) invert(1); }

.foot {
  margin-top: clamp(60px, 10vw, 140px);
  padding: 24px var(--pad-x) 32px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

/* ════════════════════════════════════════════════════════════════
   PROJECT PAGES
   ════════════════════════════════════════════════════════════════ */
.proj-main {
  padding-top: calc(var(--pill-h) + 80px);
  padding-bottom: 80px;
}

.proj-hero {
  padding: clamp(24px, 6vw, 80px) var(--pad-x) clamp(32px, 5vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
}
.proj-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 22px;
}
.proj-title {
  font-family: var(--sans);
  font-size: clamp(48px, 8.4vw, 120px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 24px;
}
.proj-tagline {
  font-family: var(--sans);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 40ch;
  margin-bottom: 36px;
}
.proj-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 16px;
}
.proj-meta-item { display: flex; flex-direction: column; gap: 6px; }
.proj-meta-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.proj-meta-value { font-size: 14px; font-weight: 600; color: var(--ink); }

.proj-image {
  max-width: 1300px;
  margin: clamp(32px, 5vw, 64px) auto;
  padding: 0 var(--pad-x);
}
.proj-image.full { padding: 0; max-width: none; }
.proj-image img,
.proj-image video {
  width: 100%;
  height: auto;
  display: block;
  background: var(--warm);
}

.proj-body {
  max-width: 720px;
  margin: clamp(48px, 8vw, 96px) auto;
  padding: 0 var(--pad-x);
}
.proj-body p {
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.proj-body p strong { color: var(--ink); font-weight: 700; }
.proj-body h2 {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.024em;
  color: var(--ink);
  margin: 56px 0 24px;
}
.proj-body a {
  border-bottom: 1px solid var(--ink-3);
  transition: border-color 0.2s var(--ease-out);
}
.proj-body a:hover { border-color: var(--ink); }

.proj-pull {
  max-width: 1080px;
  margin: clamp(60px, 9vw, 120px) auto;
  padding: 0 var(--pad-x);
  font-family: var(--sans);
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.024em;
  color: var(--ink);
}

.proj-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(8px, 1.5vw, 20px);
  max-width: 1300px;
  margin: clamp(48px, 7vw, 80px) auto;
  padding: 0 var(--pad-x);
}
.proj-gallery img,
.proj-gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--warm);
  aspect-ratio: 4 / 3;
}

/* SPRAY video grid — compact side-by-side, phone-screen content sized small
   so users can see surrounding text without scrolling past tall videos. */
.proj-video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 36px);
  max-width: 1100px;
  margin: clamp(40px, 6vw, 72px) auto;
  padding: 0 var(--pad-x);
}
.proj-video-grid figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: clamp(180px, 22vw, 260px);
}
.proj-video-grid video {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  background: #111;
  border-radius: 18px;
}
.proj-video-grid figcaption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}
@media (max-width: 640px) {
  .proj-gallery { grid-template-columns: 1fr; }
}

.proj-spec {
  max-width: 720px;
  margin: clamp(40px, 6vw, 72px) auto;
  padding: 0 var(--pad-x);
}
.proj-spec table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.proj-spec td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.proj-spec td:first-child {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  width: 40%;
}

.proj-cta {
  max-width: 720px;
  margin: clamp(40px, 6vw, 72px) auto;
  padding: 0 var(--pad-x);
}
.proj-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.proj-cta-link:hover { transform: translateY(-2px); opacity: 0.86; }

/* ════════════════════════════════════════════════════════════════
   REVEAL + GRAIN — disabled by default (uncomment to re-enable)
   ════════════════════════════════════════════════════════════════ */
.reveal { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  mix-blend-mode: multiply;
}
