@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin-variable.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --background: #000000;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --line: #38383a;
  --tile: #1c1c1e;
  --radius: 20px;
  --radius-small: 10px;
  --grid-color: rgb(196 196 196 / 20%);
  --reveal-distance: 22px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgb(245 245 245 / 12%); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; border-radius: 4px; }
::selection { color: var(--background); background: var(--text); }

.page { width: min(640px, calc(100% - 40px)); margin-inline: auto; }
.profile { padding-top: 44px; padding-bottom: 36px; text-align: center; border-bottom: 1px solid var(--line); }
.portrait { width: 104px; height: 104px; margin-inline: auto; border-radius: 50%; object-fit: cover; }
h1 { margin-top: 20px; font-size: 32px; line-height: 1.25; font-weight: 700; letter-spacing: -.8px; }
.claim { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; min-height: 70px; margin-top: 22px; }
.socials a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 20px; background-clip: padding-box; overflow: hidden; color: #c4c4c4; transition: color 160ms ease, border-color 160ms ease; }
.social-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 22px; width: 22px; height: 22px; }
.social-icon img { max-width: 22px; max-height: 22px; width: auto; height: auto; }
.social-label { font-size: 13px; line-height: 1.5; white-space: nowrap; }
.socials a:focus-visible { border-radius: 20px; border-color: var(--text); }
.section { padding-block: 40px; border-bottom: 1px solid var(--line); }
h2 { margin-bottom: 20px; font-size: 22px; line-height: 1.35; font-weight: 700; letter-spacing: -.5px; }
.collaboration h2, .latest h2 { font-size: 27px; text-align: center; }
.featured h2 { max-width: 610px; margin-inline: auto; font-size: 28px; font-weight: 700; letter-spacing: -.65px; line-height: 1.25; text-align: center; text-wrap: balance; }
.featured-video { display: block; border-radius: var(--radius); }
.thumbnail { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 200ms ease; }
.agency { display: flex; align-items: center; gap: 20px; padding: 24px 20px; background: #111111; border: 1px solid var(--line); border-radius: var(--radius); transition: background-color 160ms ease, border-color 160ms ease; }
.agency-logo { flex: 0 0 80px; width: 80px; height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.agency-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.agency-name { font-size: 16px; font-weight: 500; line-height: 1.5; }
.agency-description { font-size: 14px; color: var(--muted); line-height: 1.5; }
.arrow { flex-shrink: 0; width: 34px; height: 34px; padding: 8px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: color 160ms ease, transform 160ms ease; }
.vlogs { display: grid; gap: 24px; list-style: none; margin: 0; padding: 0; }
.vlogs li { min-width: 0; }
.vlog { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: start; border-radius: var(--radius); }
.vlog .thumbnail { position: relative; flex-shrink: 0; isolation: isolate; overflow: hidden; border-radius: var(--radius-small); transform: translateZ(0); }
.vlog .thumbnail img { position: absolute; inset: 0; object-position: center; transform-origin: 50% 50%; transform: scale(1); }
.vlog h3 { font-size: 14px; line-height: 1.55; font-weight: 400; overflow-wrap: break-word; text-wrap: pretty; }
.footer { display: flex; align-items: center; flex-direction: column; gap: 12px; padding-block: 22px 36px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.65; text-align: center; }
.legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.legal > a { padding-block: 6px; }
.pending { font-size: 11px; }
.skip-link { position: absolute; top: 8px; left: 20px; padding: 8px 12px; background: var(--text); color: var(--background); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

@media (hover: hover) {
  /* Keep the image's compositing layer stable when the zoom returns to scale(1). */
  .vlog .thumbnail img { will-change: transform; }
  .socials a:hover { color: var(--text); }
  .socials a:hover { border-color: var(--muted); }
  .featured-video:hover .thumbnail img, .vlog:hover .thumbnail img { transform: scale(1.02); }
  .agency:hover { background: #292929; border-color: #555; }
  .agency:hover .arrow { color: var(--text); transform: translate(1px, -1px); }
}

@media (min-width: 600px) {
  .profile { padding-top: 64px; padding-bottom: 40px; }
  .claim { font-size: 16px; }
  h1 { font-size: 34px; }
  h2 { font-size: 24px; }
  .collaboration h2, .latest h2 { font-size: 30px; }
  .featured h2 { font-size: 32px; }
  .section { padding-block: 44px; }
  .agency { padding: 28px 26px; gap: 26px; }
  .agency-logo { flex-basis: 100px; width: 100px; }
  .agency-description { font-size: 14px; }
  .vlogs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .vlog { display: flex; flex-direction: column; gap: 12px; }
  .vlog .thumbnail { width: 100%; }
  .footer { padding-block: 22px 48px; }
}

@media (max-width: 599px) {
  .vlogs { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-padding-inline: 0; scroll-behavior: smooth; margin: -5px 0; padding: 5px 8%; scrollbar-width: none; }
  .vlogs::-webkit-scrollbar { display: none; }
  .vlogs > li { flex: 0 0 100%; scroll-snap-align: center; }
  .vlog { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .vlog .thumbnail { width: 100%; }
}

@media (max-width: 359px) {
  .vlog { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
  .agency { gap: 12px; padding: 18px 14px; }
  .agency-logo { flex-basis: 64px; width: 64px; }
  .arrow { width: 28px; height: 28px; padding: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .thumbnail img, .agency .arrow { transform: none !important; }
  .vlog .thumbnail img { will-change: auto; }
  .vlogs { scroll-behavior: auto; }
}

/* Same grid geometry as LK Media. Only its color is adapted, as requested, for
   the existing black background. One continuous grid, independent of the reveals. */
body {
  background-image: radial-gradient(circle, var(--grid-color) .95px, transparent 1.15px);
  background-size: 32px 32px;
}
.page {
  position: relative;
  isolation: isolate;
}
/* A stationary, narrow clearance keeps grid dots away from the dividers.
   It sits behind the existing border and never joins an animated text layer. */
.profile, .section { position: relative; }
.profile::after, .section::after {
  content: '';
  position: absolute;
  inset-inline: -8px;
  bottom: -10px;
  height: 21px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--background) 30%, var(--background) 70%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8px, #000 calc(100% - 8px), transparent);
  pointer-events: none;
}
.raster-mask {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  background: var(--background);
}
.raster-mask::before {
  content: '';
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 48px;
  background: var(--background);
  box-shadow: 0 0 20px 20px var(--background);
  filter: blur(24px);
  pointer-events: none;
}
/* Static mask owners keep the original margins. Only their children animate. */
.raster-name { margin-top: 20px; }
.raster-name > h1 { margin-top: 0; }
.raster-claim { margin-top: 10px; }
.raster-claim > .claim { margin-top: 0; }
.raster-socials { margin-top: 22px; }
.raster-socials > .socials { margin-top: 0; }
.raster-heading { margin-bottom: 20px; }
.raster-heading > h2 { margin-bottom: 0; }
.raster-featured, .raster-agency, .raster-gallery { width: 100%; }
.reveal-pending {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
}
.profile, .section, .footer { overflow-anchor: none; }
@media (max-width: 799px) {
  :root { --reveal-distance: 16px; }
}
@media (max-width: 599px) {
  .raster-gallery { margin-block: -5px; }
  .raster-gallery > .vlogs { margin-block: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-pending { opacity: 1; transform: none; }
}
.featured-video:focus-visible, .agency:focus-visible, .vlog:focus-visible {
  border-radius: var(--radius);
}

/* A narrower soft clearance lets the unchanged grid reach closer to mobile
   content. The opaque cores still protect all text and grouped gallery gaps. */
@media (max-width: 599px) {
  .footer { font-size: 11px; }
  .raster-mask::before {
    inset: -6px 0;
    box-shadow: 0 0 12px 4px var(--background);
    filter: blur(12px);
  }
}
