/* ═══════════════════════════════════════════
   JARON FLYNN — SITE.CSS
   Shared stylesheet for all pages
═══════════════════════════════════════════ */

/* TOKENS */
:root {
  --accent: #04CFFD;
  --accent-dark: #00A6C9;
  --bg: #030303;
  --bg2: #0A0A0A;
  --bg3: #111;
  --cream: #F5F2EC;
  --ink: #0A0A0A;
  --w50: rgba(255,255,255,0.5);
  --w35: rgba(255,255,255,0.35);
  --w18: rgba(255,255,255,0.18);
  --w08: rgba(255,255,255,0.08);
  --serif: 'DM Serif Display', 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --nav-h: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --nav-offset: calc(var(--nav-h) + var(--safe-top));
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  line-height: 1.5;
}

/* The mobile nav can slide away, but the iPhone sensor/status strip must not
   slide with it. Keep a stationary black paint cap above the transformed row. */
@supports (height: env(safe-area-inset-top)) {
  body::before {
    content: '';
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    left: 0;
    height: var(--safe-top);
    background: #030303;
    pointer-events: none;
  }
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; font-family: inherit; background: none; color: inherit; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
::selection { background: rgba(4,207,253,0.28); color: #fff; }

/* CONTAINER */
.jf-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .jf-container { padding: 0 32px; } }

/* EYEBROW */
.jf-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
@media (min-width: 768px) { .jf-eyebrow { font-size: 11px; } }
.jf-eyebrow .dash { width: 22px; height: 1px; background: var(--accent); flex-shrink: 0; }
.jf-eyebrow.dark { color: #06aacc; }
.jf-eyebrow.dark .dash { background: #06aacc; }
.jf-eyebrow.center { display: flex; justify-content: center; }

/* HEADINGS */
.jf-h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 6vw, 52px);
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--cream);
}
.jf-h2 em { font-style: italic; }
.jf-h2.dark { color: var(--ink); }
.jf-h2.center { text-align: center; }
.jf-h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 4vw, 38px);
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--cream);
}
.jf-h3 em { font-style: italic; }
.jf-h3.dark { color: var(--ink); }

/* BUTTONS */
.btn-primary, .btn-ghost, .btn-accent, .btn-outline-accent {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 24px; border-radius: 2px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s; white-space: nowrap;
}
.btn-primary { background: var(--cream); color: #000; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--w18); color: var(--w50); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent { background: var(--accent); color: #000; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline-accent { border: 1px solid rgba(4,207,253,0.4); color: var(--accent); }
.btn-outline-accent:hover { background: rgba(4,207,253,0.08); }
.link-cta {
  font-style: normal; font-weight: 700; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(4,207,253,0.3);
  padding: 10px 18px; border-radius: 2px;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background 0.2s;
}
.link-cta:hover { background: rgba(4,207,253,0.08); }

/* ═════ NAV ═════ */
.jf-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-offset); padding-top: var(--safe-top);
  background: linear-gradient(to bottom, rgba(3,3,3,0.9), rgba(3,3,3,0.5));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.28s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, height 0.3s ease;
}
.jf-nav.scrolled {
  background: rgba(3,3,3,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--w08);
  height: calc(56px + var(--safe-top));
}
.jf-nav-inner {
  height: 100%; max-width: 1240px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .jf-nav-inner { padding: 0 32px; } }
/* JF logo — hover tilt */
.jf-logo { display: inline-flex; }
.jf-logo img {
  height: 36px;
  transform-origin: 50% 60%;
}
@media (min-width: 768px) { .jf-logo img { height: 42px; } }

/* Desktop nav social icons — bare, no circles */
.jf-nav-social { display: none; gap: 10px; align-items: center; }
@media (min-width: 960px) { .jf-nav-social { display: flex; } }
.jf-nav-soc {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  transition: color 0.2s, transform 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.jf-nav-soc:hover { transform: scale(1.08); background: rgba(255,255,255,0.09); }

/* Desktop nav items */
.jf-nav-items { display: none; gap: 2px; }
@media (min-width: 900px) { .jf-nav-items { display: flex; align-items: center; } }
.jf-nav-link {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 8px 12px; border-radius: 4px;
  transition: color 0.2s; position: relative;
}
.jf-nav-link:hover, .jf-nav-link.active { color: #fff; }
.jf-nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 12px; right: 12px;
  height: 1px; background: var(--accent);
}
.jf-nav-link.accent { color: var(--accent); font-weight: 600; }

/* Dropdown */
.jf-nav-drop { position: relative; }
.jf-nav-drop:hover .jf-dropdown,
.jf-nav-drop:focus-within .jf-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.jf-dropdown {
  position: absolute; top: 100%; left: -8px;
  width: 240px;
  background: transparent;
  padding-top: 12px; /* bridge the gap — no dead zone */
  opacity: 0; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.jf-dropdown-inner {
  background: #050505;
  border: 1px solid var(--w08);
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.jf-dropdown a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 4px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: all 0.2s;
}
.jf-dropdown a:hover { color: var(--accent); background: rgba(4,207,253,0.06); }
.jf-dropdown a .sub { font-size: 10px; color: var(--w35); margin-top: 1px; }
.jf-dropdown-caret {
  display: inline-block; margin-left: 3px;
  font-size: 10px; color: var(--w35);
  transition: transform 0.2s;
}
.jf-nav-drop:hover .jf-dropdown-caret,
.jf-nav-drop:focus-within .jf-dropdown-caret { transform: rotate(180deg); }

/* Nav right */
.jf-nav-right { display: flex; align-items: center; gap: 10px; }
.jf-nav-cta {
  display: none;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #000;
  background: var(--cream);
  padding: 9px 18px; border-radius: 2px;
  transition: background 0.2s;
}
@media (min-width: 768px) { .jf-nav-cta { display: inline-block; } }
.jf-nav-cta:hover { background: var(--accent); }
.jf-burger {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: #fff; border-radius: 6px;
}
@media (min-width: 900px) { .jf-burger { display: none; } }

/* Mobile Drawer */
.jf-drawer {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.7);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.jf-drawer.open { opacity: 1; pointer-events: auto; }
.jf-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(380px, 88vw);
  background: #050505;
  border-left: 1px solid var(--w08);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex; flex-direction: column;
  padding-top: var(--safe-top); padding-bottom: var(--safe-bottom);
}
.jf-drawer.open .jf-drawer-panel { transform: translateX(0); }
.jf-drawer-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--w08);
}
.jf-drawer-x { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: background 0.2s; }
.jf-drawer-x:hover { background: var(--w08); }
.jf-drawer-body { padding: 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; }
.jf-drawer-section { font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--w35); padding: 12px 12px 4px; }
.jf-drawer-link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 12px; border-bottom: 1px solid var(--w08);
  color: var(--cream); transition: all 0.2s;
  opacity: 0; transform: translateX(20px);
}
.jf-drawer.open .jf-drawer-link { opacity: 1; transform: translateX(0); transition: opacity 0.5s ease, transform 0.5s ease; }
.jf-drawer-link:hover { color: var(--accent); padding-left: 16px; }
.jf-drawer-link .num { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--w35); }
.jf-drawer-link .lbl { flex: 1; font-family: var(--serif); font-size: 20px; }
.jf-drawer-link .sub { font-size: 10px; color: var(--w35); }
.jf-drawer-link.indent { padding-left: 24px; }
.jf-drawer-link.accent .lbl { color: var(--accent); font-style: italic; }
.jf-drawer-link svg { color: var(--w35); transition: transform 0.2s; }
.jf-drawer-link:hover svg { color: var(--accent); transform: translateX(3px); }
.jf-drawer-contact {
  margin-top: 20px;
  display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: #000;
  padding: 16px 20px; border-radius: 4px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.jf-drawer-soc { margin-top: 20px; display: flex; gap: 10px; padding-top: 20px; border-top: 1px solid var(--w08); }
.jf-drawer-soc a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--w08); color: var(--w50); }
.jf-drawer-soc a:hover { color: var(--accent); border-color: rgba(4,207,253,0.4); }
.jf-drawer-loc { margin-top: 16px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--w35); }

/* ═════ HOME HERO ═════ */
.jf-hero {
  position: relative; min-height: 100vh;
  background: var(--bg);
  overflow: hidden; padding-top: var(--nav-offset);
  display: flex; align-items: center;
}
.jf-hero-wall {
  position: absolute; inset: -25%;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px; opacity: 0.32; pointer-events: none;
  will-change: transform;
}
@media (max-width: 768px) {
  .jf-hero-wall { grid-template-columns: repeat(3, 1fr); opacity: 0.22; gap: 8px; }
  .jf-hero-wall .jf-hero-col:nth-child(n+4) { display: none; }
}
.jf-hero-col {
  display: flex; flex-direction: column; gap: 12px;
  animation: jfvscroll 60s linear infinite;
}
@media (max-width: 768px) { .jf-hero-col { gap: 8px; animation-duration: 45s; } }
@keyframes jfvscroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.jf-hero-tile { background: var(--bg3); border-radius: 6px; overflow: hidden; aspect-ratio: 9/16; }
.jf-hero-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); }
.jf-hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 90% 80% at 50% 50%, transparent 0%, rgba(3,3,3,0.55) 60%, rgba(3,3,3,0.96) 100%);
}
.jf-hero-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 240px;
  background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none;
}
.jf-hero-content {
  position: relative; z-index: 2; width: 100%;
  max-width: 1240px; margin: 0 auto;
  padding: 80px 20px 60px;
}
@media (min-width: 768px) { .jf-hero-content { padding: 100px 32px 80px; } }
.jf-hero-content > * {
  opacity: 1; transform: none;
}
.jf-hero-content.in > * { opacity: 1; transform: translateY(0); }
.jf-hero-h1 {
  font-family: var(--serif); font-weight: 400;
  margin: 24px 0 0;
  line-height: 0.98; letter-spacing: -0.035em;
}
.jf-hero-h1 .line { display: block; font-size: clamp(40px, 9.5vw, 112px); color: var(--cream); }
.jf-hero-h1 .line.indent { padding-left: clamp(20px, 5vw, 80px); }
.jf-hero-h1 .line.italic { font-style: italic; }
.jf-hero-h1 .line.cyan { color: var(--accent); }
.jf-hero-meta {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--w08);
}
@media (min-width: 768px) { .jf-hero-meta { grid-template-columns: 1fr 1.4fr; gap: 48px; } }
.jf-hero-role .role-label {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; font-size: 11px; letter-spacing: 0.04em; color: var(--w50);
}
.jf-hero-role .role-label .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px rgba(4,207,253,0.7);
  animation: jfpulse 2s ease-in-out infinite;
}
@keyframes jfpulse { 0%,100%{box-shadow:0 0 8px rgba(4,207,253,0.5);}50%{box-shadow:0 0 16px rgba(4,207,253,0.9);} }
.jf-hero-role .role-rotor {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 3.5vw, 30px);
  color: #fff; line-height: 1.2; min-height: 1.4em;
}
.jf-hero-role .role-rotor span { display: inline-block; animation: jfroleIn 0.55s cubic-bezier(0.16,1,0.3,1); }
@keyframes jfroleIn { from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:translateY(0);} }
.jf-hero-body p {
  font-size: clamp(14px, 1.6vw, 16px); font-weight: 300;
  color: var(--w50); line-height: 1.75; margin-bottom: 22px; max-width: 460px;
}
.jf-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.jf-hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--w08);
}
@media (min-width: 640px) { .jf-hero-stats { grid-template-columns: repeat(4, 1fr); } }
.jf-hero-stats .stat { padding: 14px 16px 14px 0; position: relative; }
.jf-hero-stats .stat:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,0.07);
}
@media (max-width: 639px) {
  .jf-hero-stats .stat:nth-child(2n)::after { display: none; }
}
.jf-hero-stats .v { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); color: var(--cream); line-height: 1; margin-bottom: 5px; }
.jf-hero-stats .l { font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--w35); }
.jf-hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.5; transition: opacity 0.3s;
}
@media (min-width: 768px) { .jf-hero-scroll { display: flex; } }
.jf-hero-scroll:hover { opacity: 1; }
.jf-hero-scroll span:first-child { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; }
.jf-hero-scroll .line { width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent); animation: jfscroll 2s ease-in-out infinite; }
@keyframes jfscroll { 0%,100%{opacity:0.3;}50%{opacity:1;} }

/* ═════ PAGE HERO (inner pages) ═════ */
.jf-page-hero {
  position: relative;
  padding-top: calc(var(--nav-offset) + 60px);
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--bg2);
}
@media (min-width: 768px) { .jf-page-hero { padding-top: calc(var(--nav-offset) + 80px); padding-bottom: 100px; } }
.jf-page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.6) brightness(0.35);
}
.jf-page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(3,3,3,0.6), rgba(3,3,3,0.85));
}
.jf-page-hero-content { position: relative; z-index: 2; }
.jf-page-hero-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.jf-page-hero-label .dash { width: 20px; height: 1px; background: var(--accent); }

/* ═════ LOGO MARQUEE ═════ */
.jf-logos {
  background: var(--cream); overflow: hidden;
  height: 70px; position: relative;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.jf-logos::before, .jf-logos::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.jf-logos::before { left: 0; background: linear-gradient(to right, var(--cream), transparent); }
.jf-logos::after { right: 0; background: linear-gradient(to left, var(--cream), transparent); }
.jf-logos-track {
  display: flex; height: 100%; width: max-content; align-items: center;
  animation: jfmq 38s linear infinite;
}
.jf-logos-track:hover { animation-play-state: paused; }
@keyframes jfmq { from{transform:translateX(0);}to{transform:translateX(-33.333%);} }
.jf-logo-cell { width: 180px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 0 18px; }
.jf-logo-cell img { filter: grayscale(1) opacity(0.42); max-height: 28px; object-fit: contain; }
.jf-logo-cell span { font-family: var(--sans); color: rgba(0,0,0,0.32); letter-spacing: 0.05em; white-space: nowrap; }

/* Give the client reel enough presence on larger canvases without changing the
   compact mobile treatment below. Keep each supplied mark's native proportions. */
@media (min-width: 768px) {
  .jf-logos { height: 88px; }
  .jf-logos::before,
  .jf-logos::after { width: 104px; }
  .jf-logos-track { animation-duration: 44s; }
  .jf-logo-cell { width: 210px; padding: 0 24px; }
  .jf-logo-cell img {
    filter: grayscale(1) opacity(0.58);
    transform: scale(1.2);
    transform-origin: center;
  }
  .jf-logo-cell img[src$="digital-style-house-logo.png"] { transform: scale(1.42); }
  .jf-logo-cell span {
    color: rgba(0,0,0,0.44);
    transform: scale(1.12);
    transform-origin: center;
  }
}

@media (max-width: 480px) {
  .jf-logos { height: 74px; }
  .jf-logos::before,
  .jf-logos::after { width: 26px; }
  .jf-logo-cell { width: 150px; padding: 0 12px; }
  .jf-logo-cell img { filter: grayscale(1) opacity(0.6); max-height: 30px; }
  .jf-logos-track { animation-duration: 32s; }
}

@media (prefers-reduced-motion: reduce) {
  .jf-logos-track { animation: none !important; }
}

/* ═════ CAPABILITIES ═════ */
.jf-caps { background: var(--bg2); padding: 80px 0; position: relative; overflow: hidden; border-top: 1px solid rgba(0,0,0,0.5); }
@media (min-width: 768px) { .jf-caps { padding: 120px 0; } }
.jf-caps-watermark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--serif); font-size: clamp(80px, 14vw, 200px);
  color: rgba(255,255,255,0.022); white-space: nowrap; pointer-events: none; user-select: none;
  letter-spacing: -0.04em;
}
.jf-caps-hd { display: grid; gap: 24px; margin-bottom: 48px; }
@media (min-width: 900px) { .jf-caps-hd { grid-template-columns: 1.5fr 1fr; align-items: end; gap: 60px; margin-bottom: 64px; } }
.jf-caps-intro { font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--w50); max-width: 380px; }
.jf-caps-list { border-top: 1px solid var(--w08); }
.jf-cap-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: 'num title' 'desc desc' 'tags tags';
  gap: 8px 16px; padding: 18px 0; border-bottom: 1px solid var(--w08);
  border-left: 2px solid transparent; transition: all 0.25s ease; cursor: default;
}
@media (min-width: 900px) {
  .jf-cap-row {
    grid-template-columns: 56px 1.2fr 1.5fr auto;
    grid-template-rows: auto; grid-template-areas: 'num title desc tags';
    gap: 28px; align-items: center; padding: 22px 0;
  }
}
.jf-cap-row.hov { border-left-color: var(--accent); padding-left: 14px; background: rgba(4,207,253,0.025); }
.jf-cap-row .num { grid-area: num; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--w18); transition: color 0.2s; }
.jf-cap-row.hov .num { color: var(--accent); }
.jf-cap-row .title { grid-area: title; font-family: var(--serif); font-size: clamp(17px, 2vw, 22px); color: rgba(255,255,255,0.78); transition: color 0.2s; }
.jf-cap-row.hov .title { color: var(--cream); }
.jf-cap-row .desc { grid-area: desc; font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--w35); }
@media (min-width: 900px) { .jf-cap-row .desc { opacity: 0.55; transition: opacity 0.25s; } }
.jf-cap-row.hov .desc { opacity: 1; color: rgba(255,255,255,0.55); }
.jf-cap-row .tags { grid-area: tags; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-start; }
@media (min-width: 900px) { .jf-cap-row .tags { justify-content: flex-end; } }
.jf-cap-row .tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--w35); border: 1px solid var(--w08); padding: 4px 8px; border-radius: 2px; transition: all 0.2s;
}
.jf-cap-row.hov .tag { color: var(--accent); border-color: rgba(4,207,253,0.4); }
.jf-caps-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 36px; flex-wrap: wrap; gap: 16px;
  font-size: 13px; font-weight: 300; color: var(--w35); font-style: italic;
}

/* ═════ WORK / PORTFOLIO ═════ */
.jf-work { background: var(--bg); padding: 80px 0; }
@media (min-width: 768px) { .jf-work { padding: 120px 0; } }
.jf-work-hd { display: grid; gap: 24px; margin-bottom: 32px; }
@media (min-width: 768px) { .jf-work-hd { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 48px; } }
.jf-tabs { display: inline-flex; border: 1px solid var(--w18); border-radius: 2px; overflow: hidden; }
.jf-tabs button { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 22px; transition: all 0.2s; color: var(--w50); }
.jf-tabs button.on { background: var(--accent); color: #000; }
.jf-motion-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .jf-motion-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .jf-motion-grid { grid-template-columns: repeat(3, 1fr); } }
.jf-motion-card { position: relative; aspect-ratio: 16/10; background: var(--bg3); border-radius: 4px; overflow: hidden; cursor: pointer; }
@media (min-width: 1024px) { .jf-motion-card.feat { grid-column: span 2; grid-row: span 2; aspect-ratio: 16/9; } }
.jf-motion-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s; filter: saturate(0.6); }
.jf-motion-card:hover img,
.jf-motion-card:focus-visible img { transform: scale(1.04); filter: saturate(1); }
.jf-motion-meta {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  padding: 20px; display: flex; flex-direction: column; justify-content: flex-end;
}
.jf-motion-meta .logo { height: 18px; max-width: 80px; object-fit: contain; filter: brightness(0) invert(1) opacity(0.7); margin-bottom: 8px; }
.jf-motion-meta .title { font-family: var(--serif); font-size: 18px; color: #fff; margin-bottom: 2px; }
.jf-motion-meta .sub { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.jf-motion-play {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0; transition: opacity 0.3s;
}
.jf-motion-card:hover .jf-motion-play,
.jf-motion-card:focus-visible .jf-motion-play { opacity: 1; }
.jf-stills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; grid-auto-rows: 160px; }
@media (min-width: 768px) { .jf-stills-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; } }
.jf-stills-card { position: relative; overflow: hidden; border-radius: 3px; background: var(--bg3); cursor: pointer; }
.jf-stills-card.tall { grid-row: span 2; }
@media (min-width: 768px) { .jf-stills-card.wide { grid-column: span 2; } }
.jf-stills-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.jf-stills-card:hover img,
.jf-stills-card:focus-visible img { transform: scale(1.06); }
/* ── stills card always-visible bottom strip — reset old .lbl hover ── */
.jf-stills-card .lbl { display: none; } /* disabled — replaced by inline meta */
.jf-work-foot { text-align: center; margin-top: 36px; }

/* ═════ TESTIMONIALS ═════ */
.jf-testi { background: var(--bg); padding: 80px 0; border-top: 1px solid var(--w08); }
@media (min-width: 768px) { .jf-testi { padding: 120px 0; } }
.jf-testi-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .jf-testi-grid { grid-template-columns: 280px 1fr; gap: 60px; align-items: start; } }
.jf-testi-list { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; }
.jf-testi-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 0; text-align: left; border-bottom: 1px solid var(--w08);
  transition: all 0.2s; opacity: 0.5; cursor: pointer;
  min-width: 0;
}
.jf-testi-item .dot { width: 6px; height: 6px; border-radius: 50%; margin-top: 6px; background: var(--w18); flex-shrink: 0; transition: all 0.2s; }
.jf-testi-item.on { opacity: 1; }
.jf-testi-item.on .dot { background: var(--accent); box-shadow: 0 0 8px rgba(4,207,253,0.6); }
.jf-testi-item:focus-visible,
.jf-testi-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.jf-testi-item .n { font-size: 13px; font-weight: 600; color: var(--cream); margin-bottom: 2px; }
.jf-testi-item .r { font-size: 11px; color: var(--w35); }
.jf-testi-card {
  position: relative; padding: 32px 24px; border: 1px solid var(--w08);
  border-radius: 4px; background: rgba(255,255,255,0.015);
  animation: jffadeIn 0.5s cubic-bezier(0.16,1,0.3,1);
}
@media (min-width: 768px) { .jf-testi-card { padding: 48px; } }
@keyframes jffadeIn { from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);} }
.jf-testi-card .tag {
  display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent);
  padding: 4px 10px; border: 1px solid rgba(4,207,253,0.3); border-radius: 2px; margin-bottom: 24px;
}
.jf-testi-card .qmark { position: absolute; top: 16px; right: 28px; font-family: var(--serif); font-size: 120px; line-height: 1; color: rgba(4,207,253,0.08); pointer-events: none; }
.jf-testi-card blockquote { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 26px); line-height: 1.5; color: var(--cream); margin-bottom: 24px; }
.jf-testi-card .who .n { font-size: 14px; font-weight: 600; color: var(--cream); margin-bottom: 2px; }
.jf-testi-card .who .r { font-size: 12px; color: var(--w50); }
.jf-testi-hint { display: none; }

/* ═════ ABOUT (light section) ═════ */
.jf-about { background: var(--cream); color: var(--ink); padding: 80px 0; overflow: hidden; }
@media (min-width: 768px) { .jf-about { padding: 120px 0; } }
.jf-about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .jf-about-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; } }
.jf-about-photo { position: relative; max-width: 480px; margin: 0 auto; }
.jf-about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.jf-about-photo .cyan-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
.jf-about-photo .quote-card {
  position: absolute; bottom: 24px; right: -16px;
  background: var(--ink); padding: 18px 22px; border-radius: 3px; max-width: 220px;
}
@media (max-width: 540px) { .jf-about-photo .quote-card { right: 12px; } }
.jf-about-photo .quote-card em { font-family: var(--serif); font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; margin-bottom: 10px; display: block; }
.jf-about-photo .quote-card .dash { width: 24px; height: 1px; background: var(--accent); }
.jf-about-body { font-size: 15px; font-weight: 300; line-height: 1.85; color: rgba(0,0,0,0.6); margin: 24px 0 32px; max-width: 480px; }
.jf-tl { margin-bottom: 32px; }
.jf-tl-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,0.07); }
.jf-tl-row:last-child { border-bottom: none; }
.jf-tl-row .bar { width: 3px; align-self: stretch; border-radius: 2px; flex-shrink: 0; }
.jf-tl-row .y { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(0,0,0,0.4); margin-bottom: 3px; }
.jf-tl-row .r { font-family: var(--serif); font-size: 16px; color: var(--ink); margin-bottom: 2px; }
.jf-tl-row .co { font-size: 11px; font-weight: 600; }
.jf-about-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #000; border-bottom: 2px solid var(--accent); padding-bottom: 4px;
  transition: gap 0.2s;
}
.jf-about-cta:hover { gap: 14px; }

/* ═════ BRANDS ═════ */
.jf-brands { background: var(--bg2); padding: 80px 0; border-top: 1px solid var(--w08); }
@media (min-width: 768px) { .jf-brands { padding: 100px 0; } }
.jf-brands-hd { text-align: center; margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; }
.jf-brands-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .jf-brands-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.jf-brand {
  position: relative; padding: 32px 28px; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--w08); transition: transform 0.3s ease, border-color 0.3s ease;
  min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end;
}
.jf-brand:hover,
.jf-brand:focus-visible { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); }
.jf-brand .bg { position: absolute; inset: 0; opacity: 0.7; transition: opacity 0.3s; }
.jf-brand:hover .bg,
.jf-brand:focus-visible .bg { opacity: 1; }
.jf-brand.sww .bg { background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%); }
/* R2J brand gradient — magenta → blue → purple → orange splash */
.jf-brand.r2j .bg {
  background: linear-gradient(135deg, #FF0080 0%, #2B6BFF 38%, #8B00FF 68%, #FF6801 100%);
  background-size: 200% 200%; animation: jfgrad 9s ease infinite;
}
@keyframes jfgrad { 0%,100%{background-position:0% 50%;}50%{background-position:100% 50%;} }
.jf-brand .content { position: relative; z-index: 1; }
.jf-brand .badge { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.4); padding: 4px 10px; border-radius: 2px; margin-bottom: 16px; }
.jf-brand .name { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); color: #fff; margin-bottom: 4px; line-height: 1.05; }
.jf-brand .tag { font-family: var(--serif); font-style: italic; font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.jf-brand .desc { font-size: 13px; color: rgba(255,255,255,0.78); line-height: 1.6; margin-bottom: 18px; max-width: 380px; }
.jf-brand .link { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.jf-brand:hover .link,
.jf-brand:focus-visible .link { gap: 12px; }

/* ═════ J-HOLE ═════ */
.jf-jhole { background: #01011E; padding: 80px 0; position: relative; overflow: hidden; }
@media (min-width: 768px) { .jf-jhole { padding: 120px 0; } }
.jf-jhole-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(4,207,253,0.08) 0%, transparent 65%); pointer-events: none;
}
.jf-jhole-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 900px) { .jf-jhole-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }
.jf-jhole-h { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 9vw, 76px); line-height: 0.95; letter-spacing: -0.035em; color: var(--cream); margin: 12px 0 22px; }
.jf-jhole-h em { font-style: italic; color: var(--accent); display: block; }
.jf-jhole-p { font-size: 14px; font-weight: 300; color: var(--w50); line-height: 1.85; margin-bottom: 28px; max-width: 400px; }
.jf-jhole-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.jf-jhole-tags span { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(4,207,253,0.6); border: 1px solid rgba(4,207,253,0.2); padding: 4px 10px; border-radius: 2px; }
.jf-jhole-cta { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--w50); display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s, gap 0.2s; }
.jf-jhole-cta:hover { color: var(--accent); gap: 14px; }
.jf-jhole-crest { position: relative; width: 320px; height: 320px; margin: 0 auto; }
@media (max-width: 768px) { .jf-jhole-crest { width: 240px; height: 240px; } }
.jf-jhole-crest .ring { position: absolute; border-radius: 50%; border: 1px solid; }
.jf-jhole-crest .ring.r1 { inset: 0; border-color: rgba(4,207,253,0.18); }
.jf-jhole-crest .ring.r2 { inset: 40px; border-color: rgba(4,207,253,0.1); }
.jf-jhole-crest .core { position: absolute; inset: 95px; border-radius: 50%; background: rgba(4,207,253,0.06); display: flex; align-items: center; justify-content: center; }
@media (max-width: 768px) { .jf-jhole-crest .core { inset: 70px; } }
.jf-jhole-crest .core img { height: 44px; opacity: 0.55; filter: drop-shadow(0 0 12px rgba(4,207,253,0.4)); }
.jf-jhole-crest .orbit { position: absolute; inset: 0; animation: jforbit 24s linear infinite; opacity: 0.35; }
@keyframes jforbit { from{transform:rotate(0);}to{transform:rotate(360deg);} }

/* ═════ CONTACT ═════ */
.jf-contact { background: var(--bg); padding: 80px 0; border-top: 1px solid var(--w08); }
@media (min-width: 768px) { .jf-contact { padding: 100px 0; } }
.jf-contact-card {
  max-width: 640px; margin: 0 auto; padding: 40px 24px; border-radius: 8px;
  background: linear-gradient(180deg, rgba(4,207,253,0.05), transparent);
  border: 1px solid var(--w08); text-align: center;
}
@media (min-width: 768px) { .jf-contact-card { padding: 56px 48px; } }
.jf-contact-soc { display: flex; gap: 10px; justify-content: center; margin: 24px 0; }
.jf-contact-soc a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--w18); color: var(--w50); transition: all 0.2s;
}
.jf-contact-soc a:hover { color: var(--accent); border-color: rgba(4,207,253,0.4); background: rgba(4,207,253,0.06); }
.jf-contact-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; color: var(--w50); transition: color 0.2s; }
.jf-contact-mail:hover { color: var(--accent); }
.jf-form { display: flex; flex-direction: column; gap: 12px; max-width: 480px; margin: 32px auto 0; text-align: left; }
.jf-form input, .jf-form textarea, .jf-form select {
  width: 100%; padding: 14px 16px; border-radius: 4px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--w18);
  color: var(--cream); font-family: inherit; font-size: 14px;
  outline: none; transition: border-color 0.2s;
  resize: vertical;
}
.jf-form input:focus, .jf-form textarea:focus, .jf-form select:focus { border-color: var(--accent); }
.jf-form input::placeholder, .jf-form textarea::placeholder { color: var(--w35); }
.jf-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.jf-form select option { background: #111; color: var(--cream); }
.jf-form label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--w35); margin-bottom: 4px; display: block; }

/* ═════ FOOTER ═════ */
.jf-footer { background: #000; padding: 64px 0 32px; border-top: 1px solid var(--w08); }
.jf-footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 768px) { .jf-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.jf-footer-brand img { height: 56px; margin-bottom: 16px; }
.jf-footer-brand p { font-size: 13px; color: var(--w50); line-height: 1.7; max-width: 320px; margin-bottom: 18px; }
.jf-footer-brand .soc { display: flex; gap: 8px; }
.jf-footer-brand .soc a { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--w08); color: var(--w50); transition: all 0.2s; }
.jf-footer-brand .soc a:hover { color: var(--accent); border-color: rgba(4,207,253,0.4); }
.jf-footer-col h4 { font-size: 12px; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: 0.04em; }
.jf-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.jf-footer-col a { font-size: 12px; color: var(--w50); transition: color 0.2s; }
.jf-footer-col a:hover { color: var(--accent); }
.jf-footer-foot {
  padding-top: 24px; border-top: 1px solid var(--w08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 11px; color: var(--w35); letter-spacing: 0.04em;
}

/* ═════ INNER PAGE SPECIFICS ═════ */
.jf-section { padding: 80px 0; }
@media (min-width: 768px) { .jf-section { padding: 100px 0; } }
.jf-section.dark { background: var(--bg2); }
.jf-section.cream { background: var(--cream); color: var(--ink); }
.jf-section.black { background: #000; }

.jf-timeline-trigger {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 0;
  text-align: left;
}

/* Service detail cards */
.jf-service-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .jf-service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .jf-service-grid { grid-template-columns: repeat(3, 1fr); } }
.jf-service-card {
  padding: 28px 24px; border: 1px solid var(--w08); border-radius: 4px;
  background: rgba(255,255,255,0.02); transition: all 0.3s ease;
}
.jf-service-card:hover { border-color: rgba(4,207,253,0.3); background: rgba(4,207,253,0.04); }
.jf-service-card .icon { width: 40px; height: 40px; border: 1px solid rgba(4,207,253,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 18px; }
.jf-service-card h3 { font-family: var(--serif); font-size: 20px; color: var(--cream); margin-bottom: 10px; }
.jf-service-card p { font-size: 13px; font-weight: 300; color: var(--w50); line-height: 1.7; }
.jf-service-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.jf-service-card ul li { font-size: 12px; color: var(--w35); display: flex; align-items: flex-start; gap: 8px; }
.jf-service-card ul li::before { content: '—'; color: var(--accent); font-size: 10px; flex-shrink: 0; margin-top: 2px; }

/* Agency cards (marketing page) */
.jf-agency-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
@media (min-width: 768px) { .jf-agency-grid { grid-template-columns: repeat(3, 1fr); } }
.jf-agency-card {
  position: relative; padding: 32px 28px; border-radius: 8px; overflow: hidden;
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.3s ease;
}
.jf-agency-card:hover { transform: translateY(-4px); }
.jf-agency-card .bg { position: absolute; inset: 0; }
.jf-agency-card .content { position: relative; z-index: 1; }
.jf-agency-card .logo-wrap { height: 32px; margin-bottom: 20px; display: flex; align-items: center; }
.jf-agency-card .logo-wrap img { max-height: 28px; object-fit: contain; filter: brightness(0) invert(1) opacity(0.85); }
.jf-agency-card .logo-wrap span { font-size: 15px; font-weight: 800; letter-spacing: 0.04em; color: rgba(255,255,255,0.85); }
.jf-agency-card h3 { font-family: var(--serif); font-size: 22px; color: #fff; margin-bottom: 8px; }
.jf-agency-card p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.jf-agency-card .role { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 12px; }

/* Social proof bar */
.jf-social-bar { background: var(--bg2); border-top: 1px solid var(--w08); border-bottom: 1px solid var(--w08); }
.jf-social-bar-inner { max-width: 1240px; margin: 0 auto; padding: 20px 32px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: center; }
.jf-social-bar-item { display: flex; align-items: center; gap: 12px; }
.jf-social-bar-item .val { font-family: var(--serif); font-size: 28px; color: var(--cream); }
.jf-social-bar-item .lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--w35); }
.jf-social-bar-item .sep { width: 1px; height: 32px; background: var(--w08); }

/* CTA band */
.jf-cta-band {
  background: var(--bg2); padding: 80px 0; text-align: center;
  border-top: 1px solid var(--w08);
}
.jf-cta-band h2 { font-family: var(--serif); font-size: clamp(28px, 5vw, 48px); color: var(--cream); margin-bottom: 20px; line-height: 1.1; }
.jf-cta-band h2 em { font-style: italic; color: var(--accent); }
.jf-cta-band p { font-size: 15px; font-weight: 300; color: var(--w50); max-width: 500px; margin: 0 auto 32px; line-height: 1.7; }
.jf-cta-band-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Availability badge */
.jf-available {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(4,207,253,0.8); padding: 6px 14px;
  border: 1px solid rgba(4,207,253,0.2); border-radius: 2px;
  margin-bottom: 24px;
}
.jf-available .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: jfpulse 2s ease-in-out infinite; }

/* Soc icon */
.jf-soc { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); border: 1px solid var(--w08); transition: all 0.2s; }
.jf-soc:hover { color: var(--accent); border-color: rgba(4,207,253,0.4); background: rgba(4,207,253,0.08); }

/* ═════ MOBILE REFINEMENTS ═════ */

/* Nav: tighter on small screens */
@media (max-width: 767px) {
  .jf-nav {
    height: var(--nav-offset);
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
  }
  .jf-nav.nav-hidden {
    transform: none;
    pointer-events: auto;
  }
  .jf-nav.nav-hidden:focus-within {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }
  :root { --nav-h: 56px; }
  .jf-logo img { height: 30px; }
  .jf-nav-inner { padding: 0 max(16px, var(--safe-right)) 0 max(16px, var(--safe-left)); }
  .jf-nav-right { gap: 6px; }
  .jf-nav-cta { padding: 8px 14px; font-size: 10px; }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .jf-nav { transition-duration: 0.01ms; }
}

/* Hero: smaller type on very small screens */
@media (max-width: 480px) {
  .jf-hero-h1 .line { font-size: clamp(32px, 10vw, 52px); }
  .jf-hero-content { padding: 60px 16px 40px; }
  .jf-hero-stats { margin-top: 32px; }
  .jf-hero-stats .stat { padding: 10px 10px 10px 0; }
}

/* Caps cards: better mobile height */
@media (max-width: 639px) {
  .jf-caps-card { min-height: 160px; }
  .jf-caps-cards { margin: 24px 0 0; }
  .jf-caps-foot {
    flex-direction: column; align-items: flex-start;
    gap: 12px; margin-top: 24px; padding: 0 20px;
  }
}

/* About stats bar: 2-up on mobile */
@media (max-width: 639px) {
  .jf-social-bar-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; padding: 20px 16px;
  }
  .jf-social-bar-sep { display: none; }
  .jf-social-bar-item { justify-content: center; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
  .jf-social-bar-item .val { font-size: 22px; }
}

/* Testimonials: compact selector + unmistakable active note on mobile */
@media (max-width: 899px) {
  .jf-testi { padding: 64px 0; }
  .jf-testi-grid { gap: 16px; }
  .jf-testi-grid > aside { min-width: 0; }
  .jf-testi-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(72vw, 220px);
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 2px 2px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(4,207,253,0.55) rgba(255,255,255,0.06);
    -webkit-overflow-scrolling: touch;
  }
  .jf-testi-item {
    width: 100%;
    min-height: 62px;
    align-items: center;
    border: 1px solid var(--w08);
    border-radius: 4px;
    padding: 10px 12px;
    scroll-snap-align: start;
  }
  .jf-testi-item .dot { margin-top: 0; }
  .jf-testi-item > div { min-width: 0; }
  .jf-testi-item .r { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .jf-testi-item.on {
    border-color: rgba(4,207,253,0.58);
    background: rgba(4,207,253,0.06);
    box-shadow: inset 0 0 0 1px rgba(4,207,253,0.08);
  }
  .jf-testi-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 0;
    color: var(--w50);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .jf-testi-hint svg { color: var(--accent); flex: 0 0 auto; transform: rotate(90deg); }
  .jf-testi-card {
    min-width: 0;
    padding: 24px 20px;
    scroll-margin-top: calc(var(--nav-offset) + 12px);
  }
  .jf-testi-card .tag { margin-bottom: 18px; }
  .jf-testi-card .qmark { top: 12px; right: 18px; font-size: 88px; }
  .jf-testi-card blockquote {
    font-size: clamp(18px, 5.4vw, 22px);
    line-height: 1.42;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .jf-testi { padding: 56px 0; }
  .jf-testi-card { padding: 22px 18px; }
  .jf-testi-card blockquote { font-size: 18px; line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .jf-hero-col,
  .jf-hero-role .role-rotor span,
  .jf-hero-role .role-label .dot,
  .jf-hero-scroll .line,
  .jf-logos-track,
  .jf-brand.r2j .bg,
  .jf-jhole-crest .orbit,
  .jf-available .dot,
  .dev-cursor,
  .jf-testi-card { animation: none !important; }
  .jf-drawer,
  .jf-drawer-panel,
  .jf-drawer-link,
  .jf-hero-content > *,
  .jf-motion-card img,
  .jf-motion-play,
  .jf-stills-card img,
  .jf-brand,
  .jf-brand .bg,
  .jf-brand .link { transition: none !important; }
  .jf-drawer.open .jf-drawer-link { opacity: 1; transform: none; }
  .jf-testi-list { scroll-behavior: auto; }
  .jf-testi-item,
  .jf-testi-item .dot { transition: none; }
}

/* About photo: no overflow on mobile */
@media (max-width: 540px) {
  .jf-about-photo .quote-card { display: none; }
  .jf-about-photo { max-width: 100%; }
}

/* Footer: tighter on mobile */
@media (max-width: 767px) {
  .jf-footer { padding: 48px 0 28px; }
  .jf-footer-grid { gap: 28px; }
  .jf-footer-brand img { height: 40px; }
  .jf-footer-foot { font-size: 10px; }
}

/* Contact grid: full-width on mobile */
@media (max-width: 767px) {
  .jf-contact-card { padding: 28px 16px; }
}

/* Brands grid: single column on mobile enforced */
@media (max-width: 639px) {
  .jf-brands-grid { grid-template-columns: 1fr; }
  .jf-brand { min-height: 220px; padding: 24px 20px; }
}

/* Drawer body scroll fix */
@media (max-width: 767px) {
  .jf-drawer-body { gap: 2px; padding: 16px; }
  .jf-drawer-link .lbl { font-size: 17px; }
}

/* CTA band: tighter on mobile */
@media (max-width: 639px) {
  .jf-cta-band { padding: 56px 0; }
  .jf-cta-band-btns { flex-direction: column; align-items: center; }
}

/* Buttons: never overflow on tiny screens */
@media (max-width: 400px) {
  .btn-primary, .btn-ghost, .btn-accent { padding: 12px 18px; font-size: 10px; }
}

/* The entrance enhancer animates the composition, not staggered sentences.
   Source-page mount effects must never hide readable copy if they fail. */
.jf-page-hero-content h1,
.jf-page-hero-content p { opacity:1!important; transform:none!important; transition:none!important; }
