* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: #0a0a0a;
  color: #eee;
  font-family: "owners-wide", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
}

.dotted-bg {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -1;
}

/* ---- Nav ---- */
nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: #000;
  border-bottom: 1px solid #1a1a1a;
  min-height: 110px;
}

.logo {
  font-family: "owners-wide", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 18px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #eee;
  text-decoration: none;
  font-family: "owners-wide", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.nav-links a.active {
  border-bottom: 1px solid #fff;
  padding-bottom: 4px;
}

.nav-links a:hover {
  color: #aaa;
}

.nav-stats {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Soft broadcast texture, with clean stationary digits between transitions. */
.nav-count-number {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: "owners-wide", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 42px;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: #d8d8d8;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
}

.digit-slot {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.4em;
  width: 0.80em;
  vertical-align: top;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
}

.digit-strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.digit {
  height: 1.4em;
  line-height: 1.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: repeating-linear-gradient(to bottom, #ededed 0px, #ededed 2px, #e3e3e3 2px, #e3e3e3 2.5px, #ededed 3px);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: -0.3px 0 rgba(255,65,65,.12), 0.3px 0 rgba(65,160,255,.14);
}

.digit-comma {
  display: inline-block;
  width: 0.30em;
  text-align: center;
  color: #b8b8b8;
}

.nav-live-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.nav-label {
  font-family: "owners-wide", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f2f2f2;
}

/* ---- Single showreel banner ---- */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background: linear-gradient(to bottom, rgba(10,10,10,0) 0%, rgba(10,10,10,0.80) 60%, #0a0a0a 94%, #0a0a0a 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-video {
  display: block;
  width: 100%;
  height: clamp(340px, 38vw, 560px);
  object-fit: cover;
  object-position: center;
  background: #000;
}

/* ---- Floating stats card (legacy, unused) ---- */

.pulse-wrap {
  position: relative;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff2e2e;
  box-shadow: 0 0 8px 2px rgba(255,46,46,0.7);
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #ff2e2e;
  animation: pulse-out 4.6s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}

.pulse-ring.delay { animation-delay: 2.3s; }

@keyframes pulse-out {
  0% { width: 8px; height: 8px; opacity: 0.8; }
  100% { width: 38px; height: 38px; opacity: 0; }
}



/* ---- Animated logo marquee over the video feather ---- */
.logo-marquee-label {
  position: absolute;
  bottom: 87px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "owners-wide", sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  z-index: 2;
}

.logo-marquee-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 85px;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee-scroll 70s linear infinite;
}

.logo-track img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 40px)); }
}

/* ---- Stats block (sits above the work grid) ---- */
.stats-block {
  text-align: center;
  padding: 60px 20px 10px;
}

/* ---- Page header (Work / About) ---- */
.page-header {
  padding: 60px 40px 20px;
  text-align: center;
}

.page-header h1 {
  font-family: "owners-wide", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-header p {
  font-family: "owners-wide", sans-serif;
  font-weight: 300;
  color: #888;
  font-size: 14px;
  margin-top: 8px;
}

/* ---- Work grid ---- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 20px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(135deg, #2a2a2a, #161616);
  border: 1px solid #2a2a2a;
  cursor: pointer;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-tile.in-view {
  opacity: 1;
  transform: translateY(0);
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.project-tile:hover img {
  transform: scale(1.06);
  opacity: 0.4;
}

.project-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-family: "owners-wide", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.project-tile:hover .project-title {
  opacity: 1;
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-video { height: clamp(250px, 68vw, 360px); }
  .hero-wrap::after { height: 150px; }
  .logo-marquee-label { bottom: 68px; font-size: 11px; }
  .logo-marquee-wrap { height: 64px; }
  .logo-track img { height: 36px; }
  .nav-links { display: none; }
  .nav-stats { display: none; }
}

/* ---- About page ---- */
.about-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 40px 100px;
  font-family: "owners-wide", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #ccc;
  font-size: 15px;
}

/* Wide display lettering with a lighter weight and open tracking. */
.logo, .page-header h1, .project-title { font-weight: 700; }
.nav-links a { text-transform: uppercase; letter-spacing: 0.055em; }
.logo-marquee-label { font-weight: 500; letter-spacing: 0.04em; }
.page-header p { font-style: italic; }
.logo-track > * { flex-shrink: 0; }
/* Frame the original transparent artwork without changing the supplied asset. */
.lil-baby-logo {
  display: block;
  position: relative;
  height: 52px;
  width: 79.473px;
  overflow: hidden;
}
.logo-track .lil-baby-logo img {
  position: absolute;
  width: 117.776%;
  height: 180%;
  max-width: none;
  left: -8.833%;
  top: -40%;
}
@media (max-width: 1100px) and (min-width: 901px) {
  nav { padding-inline: 24px; }
  .logo { font-size: 15px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; }
  .nav-count-number { font-size: 32px; }
  .nav-label { font-size: 10px; }
}
@media (max-width: 900px) {
  .lil-baby-logo { height: 36px; width: 55.02px; }
  .page-header { padding-inline: 20px; }
}

/* Refresh entrance: quick lift, then a long, soft settle without overshoot.
   Animate translate separately to preserve positioned elements' transforms. */
@keyframes entrance-rise {
  from { opacity: 0; translate: 0 var(--entrance-distance, 32px); }
  to { opacity: 1; translate: 0 0; }
}
nav,
.hero-video,
.logo-marquee-label,
.logo-marquee-wrap,
.page-header h1,
.page-header p,
.about-content {
  animation: entrance-rise 1.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--entrance-delay, 0s);
}
nav { --entrance-distance: 18px; --entrance-delay: 0.04s; }
.hero-video { --entrance-distance: 0px; --entrance-delay: 0.14s; }
.logo-marquee-label { --entrance-distance: 16px; --entrance-delay: 0.32s; }
.logo-marquee-wrap { --entrance-distance: 22px; --entrance-delay: 0.4s; }
.page-header h1 { --entrance-delay: 0.42s; }
.page-header p { --entrance-distance: 22px; --entrance-delay: 0.5s; }
.about-content { --entrance-delay: 0.58s; }
@media (prefers-reduced-motion: reduce) {
  nav, .hero-video, .logo-marquee-label, .logo-marquee-wrap,
  .page-header h1, .page-header p, .about-content { animation: none; }
  .project-tile { opacity: 1; transform: none; transition: none; }
  .logo-track, .pulse-ring { animation: none; }
  .digit-strip { transition: none !important; }
}

/* Keep a continuous opaque base beneath video and feather during entrance. */
.hero-wrap { background: #0a0a0a; isolation: isolate; }
.hero-video { background: #0a0a0a; }
#work { position: relative; background: #0a0a0a; }

/* About: paired full-frame portraits and a readable biography. */
.about-content { max-width: 1040px; }
.about-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.about-photos img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.about-bio { max-width: 780px; margin: 0 auto; line-height: 1.85; }
@media (max-width: 600px) {
  .about-content { padding: 16px 20px 64px; font-size: 14px; }
  .about-photos { gap: 10px; margin-bottom: 24px; }
}

/* Project collections */
.project-tile { display: block; text-decoration: none; }
.project-tile:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.project-tile:focus-visible .project-title { opacity: 1; }
.project-tile:focus-visible img { opacity: .4; }
.project-page { max-width: 1200px; padding: 32px 40px 80px; margin: auto; }
.back-link, .project-footer a { color: #ccc; text-decoration: none; font-size: 13px; }
.back-link:hover, .project-footer a:hover { color: white; text-decoration: underline; }
.project-page .page-header { padding: 36px 0 40px; }
.project-page h1 { line-height: 1.12; overflow-wrap: anywhere; }
.project-gallery { display: grid; gap: 32px; }
.project-media { margin: 0; background: #050505; border: 1px solid #242424; border-radius: 4px; overflow: hidden; }
.project-media video { display: block; width: 100%; height: min(78vh, 780px); object-fit: contain; background: #000; }
.project-media img { display: block; width: 100%; max-height: 90vh; object-fit: contain; }
.project-footer { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; }
@media (hover: none) { .project-title { opacity: 1; align-items: flex-end; padding: 36px 10px 14px; font-size: 13px; background: linear-gradient(transparent 55%, rgba(0,0,0,.8)); } }
@media (max-width: 600px) { .work-grid { padding: 20px 16px 48px; } .project-page { padding: 24px 16px 48px; } .project-gallery { gap: 20px; } .project-footer { flex-direction: column; } .project-page h1 { font-size: 30px; } }

/* Photo collections: a responsive gallery, separate from the video players. */
.photo-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.photo-gallery .project-media { border: 0; background: none; }
.photo-gallery a { display: block; }
.photo-gallery img { width: 100%; height: auto; max-height: none; transition: opacity .2s ease; }
.photo-gallery a:hover img { opacity: .85; }
.photo-gallery a:focus-visible { outline: 2px solid white; outline-offset: 3px; }
@media(max-width: 700px) { .photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* Keep entrance motion from changing the browser's restored scroll position. */
html { overflow-anchor: none; }
/* Reserve consistent text and media geometry before fonts/images finish loading. */
.page-header p { line-height: 1.5; }
.logo, .nav-links { line-height: 1.3; }
.nav-label, .logo-marquee-label { line-height: 1.4; }
.project-tile { min-width: 0; }
.project-tile > img { position: absolute; inset: 0; display: block; }

.about-skills { max-width: 780px; margin: 30px auto 0; }
.about-skills h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #999; margin-bottom: 14px; line-height: 1.5; }
.about-skills ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.about-skills li { border: 1px solid #333; border-radius: 4px; padding: 6px 12px; font-size: 12px; line-height: 1.5; color: #ddd; }

/* Readable typography with a little more room between letters. */
html, body { letter-spacing: .025em; font-weight: 400; }
.page-header p, .about-content { font-weight: 400; letter-spacing: .025em; }
.page-header p { font-style: normal; color: #aaa; }
.about-content { font-size: 16px; }
.about-bio { text-align: center; line-height: 1.9; max-width: 780px; }
.about-skills { text-align: center; }
.about-skills ul { justify-content: center; gap: 12px; }
.about-skills li { font-size: 13px; font-weight: 400; letter-spacing: .035em; padding: 8px 14px; }
.back-link, .project-footer a { letter-spacing: .025em; font-weight: 400; }
@media(max-width:600px) { .about-content { font-size: 15px; } .about-skills ul { gap: 8px; } }

/* Contact and shared business credit. */
.site-footer { text-align: center; padding: 28px 20px; color: #888; font-size: 11px; font-weight: 400; line-height: 1.6; letter-spacing: .04em; }
.contact-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.contact-content { flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; }
.contact-content a { color: #eee; text-decoration: none; font-size: clamp(16px, 2.4vw, 32px); font-weight: 400; letter-spacing: .035em; line-height: 1.5; overflow-wrap: anywhere; }
.contact-content a:hover { text-decoration: underline; text-underline-offset: .2em; }
.contact-content a:focus-visible { outline: 2px solid white; outline-offset: 8px; }

/* v18: restrained light, original artwork and responsive navigation. */
.logo { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #eee; outline-offset: 6px; }
nav { z-index: 10; }
.menu-toggle { display: none; }
.dotted-bg { z-index: 30; pointer-events: none; opacity: .025; background-size: 180px 180px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.6' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.ambient-surface { position: relative; isolation: isolate; }
.ambient-surface::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 10%, rgba(255,255,255,.018), transparent 65%); }
.ambient-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s ease; background: radial-gradient(circle 220px at var(--light-x,50%) var(--light-y,50%), rgba(255,255,255,.055), rgba(255,255,255,.012) 45%, transparent 100%); }
.ambient-surface.is-lit > .ambient-light { opacity: 1; }
.logo-track { gap: 0; animation: marquee-scroll 70s linear infinite; }
.logo-group { display: flex; align-items: center; gap: 80px; padding-right: 80px; flex-shrink: 0; }
.logo-group > * { flex-shrink: 0; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Frame transparent padding in CSS; the uploaded PNG stays byte-for-byte unchanged. */
.soflo-logo { display: block; position: relative; width: 135px; height: 36px; overflow: hidden; }
.logo-track .soflo-logo img { position: absolute; width: 157px; height: 157px; max-width: none; left: -11px; top: -62px; filter: none; }
.hero-video, .logo-marquee-wrap { filter: blur(var(--scroll-blur,0px)); }
.hero-wrap { --scroll-blur: 0px; }
.hero-video, .logo-marquee-wrap { opacity: var(--scroll-opacity,1); }
/* Keep scroll fading independent of the existing opacity entrance. */
.hero-wrap { filter: opacity(var(--scroll-opacity,1)); }
.site-footer { padding: 48px 20px; }
.brand-lockup { position: relative; width: max-content; max-width: 100%; min-height: 34px; padding-left: 32px; margin: auto; display: flex; align-items: center; text-align: left; }
.brand-mark-frame { position: absolute; width: 20px; height: 34px; left: 0; top: 0; }
.personal-mark { position: absolute; width: 48px; height: 48px; max-width: none; object-fit: contain; left: -14px; top: -7px; }
.brand-credit { margin-left: 0; line-height: 1.8; font-size: clamp(7px, 2.1vw, 11px); white-space: nowrap; }

.brand-ready .brand-mark-frame { left: 50%; transform: translateX(-50%); opacity: 0; }
.brand-ready .brand-credit { opacity: 0; clip-path: inset(0 100% 0 0); }
.brand-ready.brand-visible .brand-mark-frame { animation: brand-swipe 2.3s cubic-bezier(.16,1,.3,1) both; }
.brand-ready.brand-visible .brand-credit { animation: brand-reveal 1.7s .6s cubic-bezier(.16,1,.3,1) both; }
@keyframes brand-swipe { 0% { left: 50%; transform: translateX(-50%) scale(.92); opacity: 0; } 25% { left: 50%; transform: translateX(-50%) scale(1); opacity: 1; } 100% { left: 0; transform: translateX(0) scale(1); opacity: 1; } }
@keyframes brand-reveal { from { opacity: 0; clip-path: inset(0 100% 0 0); translate: -12px 0; } to { opacity: 1; clip-path: inset(0); translate: 0 0; } }
@media (max-width: 1200px) and (min-width: 901px) { nav { padding-inline: 24px; } .logo { font-size: 14px; } .nav-links { gap: 15px; } .nav-links a { font-size: 11px; } .nav-count-number { font-size: 30px; } .nav-label { font-size: 10px; } }
@media (max-width: 900px) {
 nav { min-height: 80px; padding: 24px 60px; justify-content: center; flex-wrap: wrap; }
 nav .logo { font-size: 9px; text-align: center; line-height: 1.4; }
 .home-page nav { padding: 12px 48px 14px; min-height: 0; flex-direction: column; gap: 0; }
 .nav-stats { display: block; position: static; transform: none; text-align: center; }
 .nav-count-number { font-size: clamp(25px, 6.3vw, 36px); }
 .nav-live-row { gap: 6px; margin-top: 0; }
 .nav-label { font-size: clamp(8px, 2vw, 11px); white-space: nowrap; }
 .pulse-wrap { width: 12px; height: 12px; }
 .pulse-dot { width: 6px; height: 6px; }
 .menu-toggle { position: absolute; top: 15px; right: 10px; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; align-items: center; border: 0; background: transparent; color: #eee; cursor: pointer; }
 .menu-toggle span { display: block; width: 21px; height: 1px; background: currentColor; transition: transform .35s ease, opacity .35s ease; }
 .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
 .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
 .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
 .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 24px; background: #080808; border-bottom: 1px solid #222; box-shadow: 0 14px 24px #0008; flex-direction: column; align-items: stretch; gap: 0; }
 .nav-links.is-open { display: flex; }
 .nav-links a { display: block; padding: 15px 8px; text-align: center; font-size: 12px; }
 .nav-links a.active { border-bottom: 0; padding-bottom: 15px; text-decoration: underline; text-underline-offset: 6px; }
 .hero-video { height: clamp(250px, 68vw, 360px); aspect-ratio: auto; object-fit: cover; }
 .hero-wrap::after { display: block; height: 150px; }
 .logo-marquee-label { position: absolute; bottom: 56px; margin-top: 0; padding: 0 16px; font-size: 8px; }
 .logo-marquee-wrap { position: absolute; bottom: 0; height: 64px; margin-top: 0; }
 .logo-group { gap: 80px; padding-right: 80px; }
 .soflo-logo { width: 108px; height: 28px; }
 .logo-track .soflo-logo img { width: 126px; height: 126px; left: -9px; top: -50px; }
 .page-header { padding-top: 42px; }
}
@media (prefers-reduced-motion: reduce) {
 .hero-wrap { filter: none; }
 .hero-video, .logo-marquee-wrap { filter: none; opacity: 1; }
 .ambient-light { display: none; }
 .brand-ready .brand-mark-frame, .brand-ready.brand-visible .brand-mark-frame { animation: none; left: 0; transform: none; opacity: 1; }
 .brand-ready .brand-credit, .brand-ready.brand-visible .brand-credit { animation: none; opacity: 1; clip-path: none; translate: none; }
 .logo-track { animation: none; }
 .logo-marquee-wrap { overflow-x: auto; }
 .logo-group[aria-hidden="true"] { display: none; }
}
/* SoFlo: match the optical weight of the neighboring client marks. */
.soflo-logo { width: 88px; height: 24px; }
.logo-track .soflo-logo img { width: 102px; height: 102px; left: -7px; top: -40px; }
@media (max-width: 900px) {
 .soflo-logo { width: 70px; height: 19px; }
 .logo-track .soflo-logo img { width: 81px; height: 81px; left: -5.7px; top: -32px; }
}

/* Let the reel feather meet the exact same black before ambient light builds. */
#work.ambient-surface::before,
#work.ambient-surface > .ambient-light {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
}

/* Mobile: compact header and a fixed-size, compositor-friendly status pulse. */
@media (max-width: 900px) {
 .home-page nav .logo { line-height: 1.1; }
 .home-page .nav-stats { line-height: 1; }
 .home-page .menu-toggle { top: 8px; }
 .pulse-wrap { flex: 0 0 12px; }
 .pulse-dot { box-shadow: 0 0 5px 1px rgba(255,46,46,.4); }
 .pulse-ring { width: 6px; height: 6px; border-width: 1px; animation: mobile-status-pulse 4.6s ease-out infinite; }
 .pulse-ring.delay { display: none; }
}
@keyframes mobile-status-pulse {
  0% { transform: scale(1); opacity: .55; }
  65%, 100% { transform: scale(2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .pulse-ring { animation: none; display: none; } }


/* Grid texture only behind About and Contact content. Home is untouched. */
.about-content::after, .contact-content::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("subtle-grid.jpg") center top / 1800px auto repeat;
  opacity: .035;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 100px, #000 calc(100% - 100px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 100px, #000 calc(100% - 100px), transparent);
}
