/* =============================================================
   FLVCRTS — Creative Studio
   ============================================================= */

/* ── Caslon Antique (local font) ──────────────────────────── */
@font-face {
  font-family: 'CaslonAntique';
  src: url('fonts/CaslonAntique-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'CaslonAntique';
  src: url('fonts/CaslonAntique-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CaslonAntique';
  src: url('fonts/CaslonAntique-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'CaslonAntique';
  src: url('fonts/CaslonAntique.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --bg:      #F2F1EF;
  --fg:      #1a1816;
  --mid:     rgba(26,24,22,.5);
  --dim:     rgba(26,24,22,.38);
  --line:    rgba(26,24,22,.18);
  --line2:   rgba(26,24,22,.28);
  --accent:  #6b6b4f;

  --serif:   'Lora', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;
  --jakarta: 'Plus Jakarta Sans', system-ui, sans-serif;

  --hdr-h:   76px;
  --si-w:    64px;     /* side indicator column width */
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4, h5 { color: var(--fg); }

/* ── Shared inner wrap (respects side indicators) ──────────── */
.si {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: calc(var(--si-w) + 1.5rem);
}


/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--hdr-h);
  background: rgba(242,241,239,.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1.5px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 0.55fr 1fr auto auto auto;
  z-index: 400;
}

.hdr-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.75rem;
  border-right: 1.5px solid var(--line);
}
.hdr-col:last-child { border-right: none; }
.hdr-col--cta {
  justify-content: center;
  align-items: center;
  padding: 0 1.25rem;
}

.hdr-label {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--dim);
  margin-bottom: .3rem;
  line-height: 1.2;
  text-transform: none;
}

/* Logo row */
.hdr-brand-row {
  display: flex;
  align-items: baseline;
  gap: .55rem;
}
.hdr-brand-divider {
  font-size: 1rem;
  font-weight: 300;
  color: var(--dim);
  line-height: 1;
}
.hdr-brand-sub {
  font-family: var(--jakarta);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--mid);
  white-space: nowrap;
}

/* Logo */
.hdr-wordmark {
  font-family: 'CaslonAntique', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  -webkit-text-stroke: 0.5px currentColor;
  paint-order: stroke fill;
}
.hdr-wordmark sup { font-size: .55em; vertical-align: super; font-style: normal; }

.hdr-mark { display: none; }
.hdr-mark img { width: 32px; height: 32px; border-radius: 7px; }

.hdr-col--brand strong,
.hdr-col--loc strong,
.hdr-col--time strong,
.hdr-col--status strong {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
}

/* Availability green-dot */
.avail-badge {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.avail-dot {
  position: relative;
  display: inline-flex;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
}
.avail-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
}
.avail-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(34,197,94,.3);
  animation: avail-pulse 2.4s ease-in-out infinite;
}
@keyframes avail-pulse {
  0%, 100% { transform: scale(.6); opacity: .7; }
  50%       { transform: scale(1.6); opacity: 0; }
}

/* Language + dark mode column */
.hdr-col--lang {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 .85rem;
  gap: .4rem;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg);
  cursor: pointer;
  background: rgba(26,24,22,.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: .45rem .8rem;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.lang-btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.lang-sep, .lang-other { color: var(--dim); margin: 0 .1rem; }
.lang-btn:hover .lang-sep,
.lang-btn:hover .lang-other { color: rgba(233,228,219,.55); }
.lang-btn.is-pt .lang-current { color: var(--dim); }
.lang-btn.is-pt .lang-other   { color: var(--fg); }

/* Dark mode toggle button */
.dark-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line2);
  border-radius: 999px;
  color: var(--fg);
  background: rgba(26,24,22,.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s, color .2s, border-color .2s;
}
.dark-btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.icon-sun { display: none; }
[data-dark] .icon-moon { display: none; }
[data-dark] .icon-sun  { display: block; }

/* Social icons column */
.hdr-col--social {
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: .6rem;
  padding: 0 1rem;
}
.hdr-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(107,107,79,.5);
  border-radius: 999px;
  color: var(--accent);
  transition: background .2s, border-color .2s;
}
.hdr-social-link:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.hdr-social-link svg { width: 14px; height: 14px; fill: currentColor; }

/* Get in touch button */
.hdr-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #1a1816;
  border: 1px solid transparent;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .65rem 1.35rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity .2s;
}
.hdr-cta:hover { opacity: .72; }

/* Scrolled state */
.hdr.is-scrolled .hdr-wordmark { display: none; }
.hdr.is-scrolled .hdr-mark     { display: block; }
.hdr-col--status { display: none; }
.hdr.is-scrolled .hdr-col--status { display: flex; }


/* ════════════════════════════════════════════════════════════
   SIDE INDICATORS — solid full-height strips
   ════════════════════════════════════════════════════════════ */
.side {
  position: fixed;
  top: var(--hdr-h);
  bottom: 0;
  width: var(--si-w);
  z-index: 300;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity .4s;
}
/* Left — current section, bigger & solid */
.side--l {
  left: 0;
  border-right: 1.5px solid var(--line);
  pointer-events: auto;
}
.side--l span {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Right — next section, slides in from right on hover */
.side--r {
  right: 0;
  border-left: 1.5px solid var(--line);
  opacity: 0;
  transform: translateX(100%);
  pointer-events: auto;
  transition: opacity .38s ease, transform .38s ease;
}
.side--r:hover,
.side--r.is-visible { opacity: 1; transform: translateX(0); }
.side--r span {
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(26,24,22,.55);
  writing-mode: vertical-rl;
}


/* ════════════════════════════════════════════════════════════
   PILL NAV (bottom)
   ════════════════════════════════════════════════════════════ */
.pill-nav {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(107,107,79,.8);
  border-radius: 999px;
  padding: .35rem .6rem;
  z-index: 400;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.pn-a {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(233,228,219,.55);
  padding: .4rem .85rem;
  border-radius: 999px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.pn-a:hover { color: rgba(233,228,219,.9); }
.pn-a.is-active {
  color: var(--bg);
  font-weight: 600;
}
.pn-a.was-active {
  color: rgba(233,228,219,.4);
  transition: color .4s;
}

/* Morphing active pill indicator */
.pn-indicator {
  position: absolute;
  border-radius: 999px;
  background: rgba(26,24,22,.18);
  pointer-events: none;
  transition: left .28s cubic-bezier(.4,0,.2,1),
              top  .28s cubic-bezier(.4,0,.2,1),
              width .28s cubic-bezier(.4,0,.2,1),
              height .28s cubic-bezier(.4,0,.2,1);
}


/* ════════════════════════════════════════════════════════════
   SECTION BASE
   ════════════════════════════════════════════════════════════ */
.sec { padding-bottom: 6rem; }
.sec:not(.sec--hero) { padding-top: calc(var(--hdr-h) + 4rem); }

/* ════════════════════════════════════════════════════════════
   IMAGE PANELS
   ════════════════════════════════════════════════════════════ */
.img-panel {
  width: 100%;
  height: 70vmin;
  overflow: hidden;
  position: relative;
}
.img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 8s ease;
  filter: grayscale(100%) sepia(18%) contrast(1.1) brightness(0.88);
}
.img-panel:hover img { transform: scale(1.03); }
.img-panel::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2;
  opacity: .28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  animation: film-grain .45s steps(1) infinite;
}
@keyframes film-grain {
  0%   { transform: translate(0,   0)   }
  10%  { transform: translate(-4%, -3%) }
  20%  { transform: translate(3%,  5%)  }
  30%  { transform: translate(-5%, 2%)  }
  40%  { transform: translate(4%,  -4%) }
  50%  { transform: translate(-3%, 4%)  }
  60%  { transform: translate(5%,  -2%) }
  70%  { transform: translate(-2%, 5%)  }
  80%  { transform: translate(4%,  -5%) }
  90%  { transform: translate(-4%, 3%)  }
  100% { transform: translate(0,   0)   }
}

.sec-heading {
  font-family: var(--jakarta);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 0;
}

.rule {
  height: 1px;
  background: var(--line);
  margin: 2rem 0 3rem;
}


/* ════════════════════════════════════════════════════════════
   00 HELLO — HERO
   ════════════════════════════════════════════════════════════ */
.sec--hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  margin-top: var(--hdr-h);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0c0a08;
}
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.35);
  z-index: 0;
}
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  pointer-events: none;
  z-index: 2;
}

.hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  color: #f0ebe3;
  padding: 2rem;
}

.hero-title {
  font-family: 'CaslonAntique', 'Big Caslon', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 7.5rem);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #f2f1ef;
}

.hero-tag {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
}

.hero-play {
  width: 2.25rem;
  height: 2.25rem;
  border: 1.5px solid rgba(240,235,227,.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240,235,227,.8);
  transition: border-color .2s, color .2s;
}
.hero-play:hover { border-color: #f0ebe3; color: #f0ebe3; }

.hero-ready {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  opacity: .55;
  text-transform: uppercase;
  margin-bottom: -.5rem;
}

/* Pill dark — shared button (blue) */
.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #1a1816;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .85rem 2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: opacity .2s;
}
.btn-pill-dark:hover { opacity: .72; }


/* ════════════════════════════════════════════════════════════
   01 OUR MISSION
   ════════════════════════════════════════════════════════════ */
.mission-body {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
  gap: 1.25rem;
}
.mission-body p {
  font-size: .9375rem;
  color: var(--mid);
  line-height: 1.75;
}
.mission-body .btn-pill-dark { justify-self: flex-start; margin-top: .75rem; }


/* ════════════════════════════════════════════════════════════
   02 BRAND STRATEGY + 03 PRODUCTION
   ════════════════════════════════════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
}

.svc-col { display: flex; flex-direction: column; gap: 0; }
.svc-col--right { justify-content: space-between; }

.svc-item { margin-bottom: 3rem; }
.svc-item:last-child { margin-bottom: 0; }

.svc-title-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .875rem;
}

/* Filled icons */
.svc-icon {
  flex-shrink: 0;
  display: block;
}
/* Service icons */
.svc-icon {
  flex-shrink: 0;
  display: block;
}
/* Strategy — bare triangle (no circle) */
.svc-icon--play {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--fg);
  background: transparent;
  border-radius: 0;
}
.svc-icon--play::after { display: none; }
/* Production — filled circle */
.svc-icon--ci {
  width: 14px; height: 14px;
  background: var(--fg);
  border-radius: 50%;
}
/* Keep legacy icons for any remaining usage */
.svc-icon--sq { width: 14px; height: 14px; background: var(--fg); }
.svc-icon--di { width: 14px; height: 14px; background: var(--fg); transform: rotate(45deg); }
.svc-icon--tr { width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 14px solid var(--fg); background: transparent; }
.svc-icon--ln { width: 18px; height: 3px; background: var(--fg); border-radius: 2px; }
.svc-icon--pl { position: relative; width: 14px; height: 14px; background: transparent; }
.svc-icon--pl::before, .svc-icon--pl::after { content: ''; position: absolute; background: var(--fg); }
.svc-icon--pl::before { width: 14px; height: 2px; top: 6px; left: 0; }
.svc-icon--pl::after  { width: 2px; height: 14px; top: 0; left: 6px; }

.svc-title-row h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.svc-rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 1rem;
}

.svc-item p {
  font-size: .875rem;
  color: var(--mid);
  line-height: 1.75;
}

/* Outline button for service CTA (blue) */
.btn-outline-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #1a1816;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: opacity .2s;
  text-align: center;
  margin-top: auto;
}
.btn-outline-pill:hover { opacity: .72; }


/* ════════════════════════════════════════════════════════════
   04 WORK
   ════════════════════════════════════════════════════════════ */
.sec--work { padding-bottom: 0; }

/* Client ticker */
.ticker-wrap {
  overflow: hidden;
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
  padding-block: 1.5rem;
  margin-bottom: 4rem;
}
.ticker {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.ticker span {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg);
}
.td { color: var(--dim); }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Work category tabs */
.work-cats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.wcat {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line2);
  color: var(--mid);
  cursor: pointer;
  background: rgba(26,24,22,.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s, color .2s, border-color .2s;
}
.wcat:hover { color: var(--fg); border-color: var(--fg); background: rgba(26,24,22,.08); }
.wcat.is-active {
  background: rgba(26,24,22,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(233,228,219,.95);
  border-color: rgba(233,228,219,.12);
}

/* Video grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.wcard {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}
.wcard img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  filter: brightness(.82);
  transition: transform .6s ease, filter .4s;
}
.wcard:hover img { transform: scale(1.04); filter: brightness(.62); }
.wcard-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity .3s;
}
.wcard:hover .wcard-play { opacity: 1; }
.wcard-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 100%);
  padding: 2.5rem 1rem 1rem;
  color: #f0ebe3;
}
.wcard-cat {
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .6;
  margin-bottom: .3rem;
}
.wcard-title {
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.3;
}

.work-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 1rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--fg);
  cursor: pointer;
  background: rgba(26,24,22,.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s;
  margin-bottom: 4rem;
}
.work-more:hover { background: rgba(26,24,22,.1); border-color: var(--fg); }
.work-more[hidden] { display: none; }

/* Films heading in Work section */
.films-gallery-heading {
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: .35rem;
}
.films-gallery-sub {
  font-size: .875rem;
  color: var(--mid);
  margin-bottom: 1.5rem;
}

/* Photo gallery section (below videos in Work panel) */
.photo-gallery-section { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.photo-gallery-heading {
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.photo-gallery-sub {
  font-size: .875rem;
  color: var(--mid);
  margin-bottom: 1.5rem;
}
.photo-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 4rem;
}
.photo-cat-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.photo-cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.7);
  transition: transform .6s ease, filter .4s;
}
.photo-cat-card:hover img { transform: scale(1.04); filter: brightness(.55); }
.photo-cat-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  color: #f0ebe3;
}
.photo-cat-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.photo-cat-desc {
  font-size: .7rem;
  opacity: .65;
  margin-top: .2rem;
  line-height: 1.4;
}
.photo-cat-overlay {
  position: absolute;
  inset: 0;
  background: rgba(110,105,98,.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  z-index: 2;
}
.photo-cat-overlay svg { opacity: .9; }
.photo-cat-overlay span {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.photo-cat-card.is-locked { pointer-events: none; cursor: default; }

/* Video card embed iframe state */
.wcard-embed {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}
.wcard-embed iframe {
  width: 100%; height: 100%;
  display: block;
  border: none;
}

/* Latest project */
.work-lp-title {
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .35rem;
}
.work-lp-sub {
  font-size: .875rem;
  color: var(--mid);
  margin-bottom: 2rem;
}

.work-project {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 6rem;
}
.work-project img {
  width: 100%;
  height: 58vh;
  object-fit: cover;
  display: block;
  filter: brightness(.75);
  transition: transform .6s ease;
}
.work-project:hover img { transform: scale(1.02); }

.work-project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: #f0ebe3;
}
.work-project-overlay h4 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 400;
}


/* ════════════════════════════════════════════════════════════
   05 ABOUT
   ════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
.about-photo.photo-missing {
  background: #1a1614;
  border-radius: 14px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
}
.about-photo.photo-missing .about-photo-caption {
  position: static;
  background: none;
  padding: 1.25rem 1.5rem;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  display: block;
  filter: grayscale(15%);
  transition: transform .6s ease;
}
.about-photo:hover img { transform: scale(1.02); }
.about-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.68) 0%, transparent 100%);
  padding: 3rem 1.5rem 1.25rem;
  color: #f0ebe3;
  border-radius: 0 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.about-photo-caption strong { font-size: 1rem; font-weight: 700; }
.about-photo-caption span { font-size: .75rem; opacity: .65; }

.about-quote {
  font-family: 'CaslonAntique', 'Big Caslon', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(.8rem, 1vw, 1.05rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 2rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--fg);
}

.about-body { min-width: 0; }

.about-bios { margin-bottom: 1.75rem; }
.about-bios p {
  font-size: .875rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-manifesto {
  border-top: 1.5px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.about-manifesto p {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.6;
}


/* Logo wall */
.about-logos {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1.5px solid var(--line);
}
.about-logos-eyebrow {
  display: block;
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.25rem;
}

/* Marquee ticker */
.logo-ticker {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.logo-ticker__track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: logo-scroll 28s linear infinite;
}
.logo-ticker__track:hover { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.alogo {
  font-family: 'CaslonAntique', Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  line-height: 1;
  opacity: .32;
  color: var(--fg);
  transition: opacity .25s ease;
  flex-shrink: 0;
  cursor: default;
}
.alogo:hover { opacity: .72; }


/* ════════════════════════════════════════════════════════════
   06 READY?
   ════════════════════════════════════════════════════════════ */
.sec--ready {
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}
.ready-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding-block: 5rem;
}
.sec--ready h2 {
  font-family: var(--jakarta);
  font-size: clamp(2rem, 4vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}


/* ════════════════════════════════════════════════════════════
   07 HAUS HIGHLIGHTS
   ════════════════════════════════════════════════════════════ */
.hl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1.5px solid var(--line);
  border-top: 1.5px solid var(--line);
}
.hl-card {
  padding: 2.25rem 2rem;
  border-right: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.hl-tag {
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
}
.hl-card h3 {
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.hl-card > p {
  font-size: .8125rem;
  color: var(--mid);
  line-height: 1.75;
  flex: 1;
}
.hl-link {
  font-size: .8125rem;
  font-weight: 500;
  opacity: .65;
  transition: opacity .2s;
}
.hl-link:hover { opacity: 1; }


/* ════════════════════════════════════════════════════════════
   FOOTER — dark card, inset, rounded top corners
   ════════════════════════════════════════════════════════════ */
.ftr {
  background: var(--bg);
  padding-inline: var(--si-w);   /* inset to match side indicator columns */
}

/* The dark card — all corners rounded, inset from bottom too */
.ftr-card {
  background: #1e1c1a;
  border-radius: 16px;
  padding: 3.5rem 4rem 2.5rem;
  color: rgba(233,228,219,.85);
  margin-bottom: 1.5rem;
}

/* Large logo at top of footer */
.ftr-wordmark {
  display: inline-block;
  font-family: 'CaslonAntique', Georgia, serif;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(233,228,219,.9);
  margin-bottom: 3.5rem;
}
.ftr-wordmark sup { font-size: .45em; vertical-align: super; font-style: normal; }

/* 2-column grid (follow column removed) */
.ftr-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
}

/* Column heading — with underline */
.fc h4 {
  font-family: var(--sans);
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(233,228,219,.9);
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(233,228,219,.18);
  margin-bottom: 1.25rem;
}
.ftr-h4-gap { margin-top: 2.25rem; }

/* Body text inside footer */
.fc > p:not(.ftr-fine):not(.nl-ok):not(.nl-err) {
  font-size: .8125rem;
  color: rgba(233,228,219,.5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* WhatsApp CTA button (blue) */
.ftr-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--accent);
  color: #1a1816;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .9rem 1.5rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: opacity .2s;
  margin-top: .75rem;
}
.ftr-wa-btn:hover { opacity: .72; }
.ftr-wa-btn svg { flex-shrink: 0; }

/* Social / link lists */
.ftr-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.ftr-links a {
  font-size: .875rem;
  color: rgba(233,228,219,.65);
  transition: color .2s;
  line-height: 1.5;
}
.ftr-links a:hover { color: rgba(233,228,219,.95); }

/* Team member sub-label */
.ftr-team-links li { display: flex; flex-direction: column; gap: .1rem; margin-bottom: .75rem; }
.ftr-member-role {
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(233,228,219,.3);
}

/* Footer GET IN TOUCH headline lines */
.ftr-ready-line {
  font-size: .8125rem !important;
  color: rgba(233,228,219,.45) !important;
  line-height: 1.4 !important;
  margin-bottom: .3rem !important;
}
.ftr-talk-line {
  font-family: var(--jakarta);
  font-size: clamp(1.25rem, 2vw, 1.75rem) !important;
  font-weight: 700 !important;
  color: rgba(233,228,219,.92) !important;
  line-height: 1.1 !important;
  margin-bottom: 1.25rem !important;
  letter-spacing: -.02em;
}

/* Email link */
.ftr-email {
  font-size: .875rem;
  color: rgba(233,228,219,.65);
  transition: color .2s;
  line-height: 1.5;
}
.ftr-email:hover { color: rgba(233,228,219,.95); }

/* Find more social links */
.ftr-social-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: .75rem;
}
.ftr-social-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(233,228,219,.65);
  transition: color .2s;
}
.ftr-social-link:hover { color: rgba(233,228,219,.95); }
.ftr-social-link svg { flex-shrink: 0; }

/* Copyright bar */
.ftr-bottom {
  border-top: 1px solid rgba(233,228,219,.1);
  padding-top: 1.5rem;
}
.ftr-bottom p {
  font-size: .5625rem;
  letter-spacing: .07em;
  color: rgba(233,228,219,.28);
}


/* ════════════════════════════════════════════════════════════
   BODY GRAIN — animated film grain overlay
   ════════════════════════════════════════════════════════════ */
@keyframes grain-shift {
  0%,100% { transform: translate(0,    0   ); }
  11%     { transform: translate(-4%,  -5% ); }
  22%     { transform: translate(5%,   3%  ); }
  33%     { transform: translate(-3%,  6%  ); }
  44%     { transform: translate(4%,   -4% ); }
  55%     { transform: translate(-5%,  4%  ); }
  66%     { transform: translate(3%,   -6% ); }
  77%     { transform: translate(-4%,  3%  ); }
  88%     { transform: translate(3%,   -4% ); }
}

body::before {
  content: '';
  position: fixed;
  inset: -100px;
  z-index: 9980;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  animation: grain-shift .9s steps(1) infinite;
}


/* ════════════════════════════════════════════════════════════
   DARK MODE
   ════════════════════════════════════════════════════════════ */
[data-dark] {
  --bg:   #0f0e0d;
  --fg:   #e8e3dc;
  --mid:  rgba(232,227,220,.5);
  --dim:  rgba(232,227,220,.38);
  --line: rgba(232,227,220,.22);
  --line2:rgba(232,227,220,.34);
}
[data-dark] .hdr {
  background: rgba(15,14,13,.82);
}
[data-dark] .side {
  background: var(--bg);
}
[data-dark] .pill-nav {
  background: rgba(107,107,79,.8);
  border: 1px solid rgba(107,107,79,.18);
  backdrop-filter: blur(14px);
}
[data-dark] .pn-a { color: rgba(232,227,220,.5); }
[data-dark] .pn-a:hover { color: rgba(232,227,220,.9); }
[data-dark] .pn-a.is-active { color: rgba(232,227,220,.95); }
[data-dark] .pn-indicator { background: rgba(26,24,22,.2); }
[data-dark] .ftr-card { background: #080706; }
[data-dark] .about-photo img { filter: grayscale(20%); }
[data-dark] .flv-cursor { background: var(--accent); box-shadow: 0 0 0 3px rgba(107,107,79,.3); }
[data-dark] .lang-btn { color: var(--fg); border-color: var(--line2); }
[data-dark] .lang-btn:hover { background: var(--fg); color: var(--bg); }
[data-dark] .dark-btn { color: var(--fg); border-color: var(--line2); }
[data-dark] .dark-btn:hover { background: var(--fg); color: var(--bg); }
[data-dark] .hdr-social-link { color: var(--fg); border-color: var(--line2); }
[data-dark] .hdr-social-link:hover { background: var(--fg); color: var(--bg); }
[data-dark] .wcat { border-color: var(--line2); color: var(--mid); }
[data-dark] .wcat:hover { color: var(--fg); border-color: var(--fg); }
[data-dark] .wcat.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
[data-dark] .work-more { border-color: var(--line2); color: var(--fg); }
[data-dark] .work-more:hover { background: rgba(232,227,220,.06); }


/* ════════════════════════════════════════════════════════════
   REVEAL
   ════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }


/* ════════════════════════════════════════════════════════════
   HORIZONTAL SCROLL — desktop ≥ 1024px
   ════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  body { overflow: hidden; height: 100vh; }

  .panels-track {
    position: fixed;
    top: var(--hdr-h);
    left: 0;
    display: flex;
    flex-direction: row;
    height: calc(100vh - var(--hdr-h));
    will-change: transform;
    /* width = auto, grows to fit all panels */
  }

  /* Every direct panel child */
  .panels-track > .sec,
  .panels-track > .ftr {
    flex-shrink: 0;
    width: 100vw;
    height: 100%;
    overflow: hidden;
    /* reset mobile vertical padding */
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  /* Image panels — full-viewport panel, no padding */
  .panels-track > .img-panel {
    flex-shrink: 0;
    width: 100vw;
    height: 100%;
    padding: 0;
  }
  .panels-track > .img-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Hero panel — no top pad, fills panel */
  .panels-track > .sec--hero {
    padding: 0;
    margin-top: 0;
    min-height: unset;
  }

  /* Panels that scroll vertically within the horizontal layout */
  .panels-track > .sec--work,
  .panels-track > .sec--about,
  .panels-track > .ftr {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: none;
  }
  .panels-track > .sec--work::-webkit-scrollbar,
  .panels-track > .sec--about::-webkit-scrollbar,
  .panels-track > .ftr::-webkit-scrollbar { display: none; }

  /* Footer card sits inside the panel, with top/bottom breathing room */
  .ftr { padding-inline: calc(var(--si-w) + 2rem); padding-block: 1.5rem; }
  .ftr-card { min-height: unset; }

  /* Side indicators are full-height strips — override the top/bottom */
  .side { top: var(--hdr-h); bottom: 0; }

  /* Clickable sidebars */
  .side--l, .side--r { cursor: pointer; }
  .side--l:hover span, .side--r:hover span { opacity: .75; }
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  :root { --si-w: 0px; }
  .side { display: none; }
  .hdr { grid-template-columns: 1fr auto auto; }
  .hdr-col--loc,
  .hdr-col--time,
  .hdr-col--status,
  .hdr-col--lang { display: none; }
  .hdr-col--brand { border-right: none; }
  .hdr.is-scrolled .hdr-col--status { display: none; }
  .photo-cats-grid { grid-template-columns: repeat(2, 1fr); }

  .si { padding-inline: 1.5rem; }

  .svc-grid { grid-template-columns: 1fr; gap: 0; }
  .svc-col--right .svc-item:first-child { margin-top: 0; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo img { aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; }

  .work-grid { grid-template-columns: repeat(2, 1fr); }

  .ftr { padding-inline: 0; padding-block: .75rem; }
  .ftr-card { border-radius: 14px; padding: 2.5rem 1.5rem 2rem; margin-inline: .75rem; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .ready-inner h2 { font-size: clamp(1.75rem, 8vw, 3rem); }
}

@media (max-width: 639px) {
  .si { padding-inline: 1.25rem; }
  .pill-nav { width: calc(100% - 2rem); justify-content: center; flex-wrap: wrap; border-radius: 16px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .ftr-card { padding: 2rem 1.25rem 1.5rem; margin-inline: .5rem; }
  .hdr-col--cta { padding: 0 1rem; }
  .hero-title { font-size: clamp(2rem, 10vw, 3.5rem); }
  .mob-br { display: block; }
  .work-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════
   MOBILE MENU
   ════════════════════════════════════════════════════════════ */

/* Burger button — hidden on desktop */
.hdr-col--burger { display: none; }
.mob-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: .35rem;
}
.mob-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* Overlay */
.mob-menu {
  position: fixed;
  inset: 0;
  background: rgba(10,9,8,.97);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2.5rem;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.77,0,.175,1);
}
.mob-menu.is-open { transform: translateX(0); }

.mob-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(232,227,220,.6);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: .25rem .5rem;
  transition: color .2s;
}
.mob-menu-close:hover { color: rgba(232,227,220,1); }

.mob-menu-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}
.mob-menu-link {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 6vw, 2rem);
  font-weight: 300;
  color: rgba(232,227,220,.75);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(232,227,220,.1);
  letter-spacing: -.01em;
  transition: color .2s, padding-left .2s;
}
.mob-menu-link:first-child { border-top: 1px solid rgba(232,227,220,.1); }
.mob-menu-link:hover { color: rgba(232,227,220,1); padding-left: .5rem; }

.mob-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #1a1816;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 1rem 2rem;
  border-radius: 999px;
  margin-top: 2rem;
  align-self: flex-start;
  transition: opacity .2s;
}
.mob-menu-cta:hover { opacity: .8; }

/* Show burger on mobile, hide everything else */
@media (max-width: 1023px) {
  .hdr-col--burger { display: flex; align-items: center; padding: 0 1rem; }
  .hdr-col--cta    { display: none; }
  .hdr-col--social { display: none; }
  .hdr-col--lang   { display: none; }
  .hdr { grid-template-columns: 1fr auto; }
  .pill-nav        { display: none; }
}


/* ════════════════════════════════════════════════════════════
   CUSTOM CURSOR — mouse devices only
   ════════════════════════════════════════════════════════════ */
.flv-cursor { display: none; }

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

  .flv-cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 16px; height: 16px;
    margin-left: -8px;
    margin-top: -8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(107,107,79,.22);
    pointer-events: none;
    z-index: 999999;
    transition: width .15s ease, height .15s ease,
                margin .15s ease, box-shadow .15s ease;
  }

  .flv-cursor.is-prev,
  .flv-cursor.is-next {
    width: 24px;
    height: 24px;
    margin-left: -12px;
    margin-top: -12px;
    box-shadow: 0 0 0 5px rgba(107,107,79,.18);
  }
}

/* ════════════════════════════════════════════════════════════
   GLOBAL GRAIN OVERLAY — dark mode only
   ════════════════════════════════════════════════════════════ */
.global-grain {
  display: none;
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9990;
  opacity: .09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  animation: film-grain .45s steps(1) infinite;
}
[data-dark] .global-grain { display: block; }
