/* ==========================================================================
   FERANO WIBISONO — DIRECTOR & CREATIVE HUB
   Design System: Apple / FinalBoard Editorial Look (Light Mode)
   References: FinalBoard.app, Apple Human Interface, The Quarry, Sandwich.co
   ========================================================================== */

:root {
  color-scheme: light;

  /* FinalBoard & Apple Warm Editorial Palette */
  --bg-primary: #faf9f6;          /* Editorial off-white canvas (Things / FinalBoard) */
  --bg-surface: #ffffff;          /* Pure white card surface */
  --bg-surface-elevated: #f4f3ef; /* Neutral subtle well / pill */
  --bg-glass: rgba(250, 249, 246, 0.85);

  --border-hairline: rgba(0, 0, 0, 0.05);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.2);
  --border-active: #191c20;

  --text-primary: #191c20;        /* Deep Apple charcoal-black */
  --text-secondary: #575e69;      /* Refined neutral body gray */
  --text-muted: #878f9b;          /* Light tertiary caption gray */
  --text-link: #1d4ed8;           /* Apple link blue */

  --accent-gold: #c2883a;
  --accent-cyan: #0284c7;
  --accent-warm: #c2410c;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Courier Prime", Menlo, Monaco, Consolas, monospace;

  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.35s var(--ease-cinematic);
  --transition-slow: 0.6s var(--ease-cinematic);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-window: 0 1px 2px rgba(0, 0, 0, 0.04), 0 20px 48px -12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.03), 0 8px 24px -6px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 16px 36px -8px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-modal: 0 30px 80px -15px rgba(0, 0, 0, 0.35);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

img, video {
  max-width: 100%;
  display: block;
}

/* --------------------------------------------------------------------------
   SANDWICH.CO ICONIC 3D FLIPPING LOADER & SPECTRUM BARS
   -------------------------------------------------------------------------- */
#animated-border {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99998;
}

/* --------------------------------------------------------------------------
   APPLE MINIMALIST CINEMATIC LOADER (Subtle Aperture Mark, Zero Text)
   -------------------------------------------------------------------------- */
.site-loader {
  position: fixed;
  inset: 0;
  background: #faf9f6;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

.site-loader.hidden {
  opacity: 0;
  transform: scale(1.02);
  visibility: hidden;
  pointer-events: none;
}

.loader-lens {
  width: 48px;
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lens-svg {
  width: 100%;
  height: 100%;
  animation: lensSpin 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.lens-ring {
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
  animation: lensRingDraw 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lens-inner {
  animation: lensIris 1.1s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
  transform-origin: center;
}

.lens-core {
  animation: lensDot 1.1s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
  transform-origin: center;
}

@keyframes lensSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes lensRingDraw {
  0% { stroke-dashoffset: 176; opacity: 0; }
  25% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes lensIris {
  0% { transform: scale(0.85); opacity: 0.25; }
  100% { transform: scale(1.1); opacity: 0.65; }
}

@keyframes lensDot {
  0% { transform: scale(0.7); }
  100% { transform: scale(1.15); }
}

/* --------------------------------------------------------------------------
   NAVIGATION HEADER (Apple / FinalBoard Frosted Glass)
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
  background: rgba(250, 249, 246, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* On-Hero Cinema Dark Mode */
.site-nav.on-hero {
  background: rgba(8, 8, 12, 0.52);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav.on-hero .brand-logo {
  color: #ffffff;
}

.site-nav.on-hero .brand-badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
}

.site-nav.on-hero .nav-link {
  color: rgba(255, 255, 255, 0.78);
}

.site-nav.on-hero .nav-link:hover,
.site-nav.on-hero .nav-link.active {
  color: #ffffff;
}

.site-nav.on-hero .mobile-toggle {
  color: #ffffff;
}

/* Scrolled Past Hero -> Back to Crisp Apple Light */
.site-nav.scrolled-past-hero {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.site-nav.scrolled-past-hero .brand-logo {
  color: var(--text-primary);
}

.site-nav.scrolled-past-hero .brand-badge {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}

.site-nav.scrolled-past-hero .nav-link {
  color: var(--text-secondary);
}

.site-nav.scrolled-past-hero .nav-link:hover,
.site-nav.scrolled-past-hero .nav-link.active {
  color: var(--text-primary);
}

.site-nav.scrolled-past-hero .mobile-toggle {
  color: var(--text-primary);
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-primary);
}

.brand-badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.nav-links-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  position: relative;
  padding: 4px 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  display: none;
}

/* Apple Velocity-Bounce Sliding Underline Indicator */
.nav-sliding-indicator {
  position: absolute;
  bottom: 0px;
  left: 0;
  height: 2px;
  background: #ffffff !important;
  border-radius: 99px;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
              width 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.2s ease;
  will-change: transform, width;
}

.nav-link.highlight {
  background: #ffffff !important;
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-link.highlight:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.nav-link.highlight::after {
  display: none;
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   THE QUARRY STYLE: HERO CINEMATIC VIDEO REEL (Keynote Frame)
   -------------------------------------------------------------------------- */
.quarry-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 48px 64px;
  overflow: hidden;
  max-width: 1560px;
  margin: 0 auto;
  width: 100%;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-window);
  background: #000000;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1.04);
  border: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0.15) 0%, 
    rgba(0, 0, 0, 0.3) 50%, 
    rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero-kicker {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4757;
  box-shadow: 0 0 10px #ff4757;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 32px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.hero-btn:first-child {
  background: #ffffff;
  color: #191c20;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.hero-btn:first-child:hover {
  background: #f4f3ef;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-btn:last-child {
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-btn:last-child:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   APPLE.COM / IPHONE-DUO DESIGN SYSTEM FOR FERANO.COM HOMEPAGE
   Reference: https://www.apple.com/iphone-duo/
   -------------------------------------------------------------------------- */

/* Fullscreen Cinematic Showreel Hero (1 Layar Penuh / 100vh Looping Video) */
.hero-showreel-screen {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  background-color: #060608;
  display: flex;
  flex-direction: column;
}

.showreel-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.showreel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.showreel-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 6, 9, 0.65) 0%,
    rgba(6, 6, 9, 0.2) 30%,
    rgba(6, 6, 9, 0.28) 60%,
    rgba(6, 6, 9, 0.9) 100%
  );
  pointer-events: none;
}

.showreel-content-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.showreel-top-spacer {
  flex: 0 0 10px;
}

.showreel-text-block {
  max-width: 860px;
  margin: auto 0 20px;
  text-align: left;
}

.showreel-kicker {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.showreel-kicker .kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 8px #34c759;
  display: inline-block;
}

.showreel-headline {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Helvetica Neue", sans-serif;
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
}

.showreel-subhead {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin-bottom: 0;
  letter-spacing: -0.012em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.showreel-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.showreel-scroll-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}

.showreel-scroll-pill:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(2px);
}

.showreel-scroll-pill .scroll-arrow {
  display: inline-block;
  animation: floatDown 2s infinite ease-in-out;
}

@keyframes floatDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (max-width: 768px) {
  .hero-showreel-screen {
    min-height: 540px;
  }
  .showreel-content-container {
    padding: 84px 20px 28px;
  }
  .showreel-headline {
    font-size: 2.5rem;
  }
  .showreel-subhead {
    font-size: 1rem;
    line-height: 1.5;
  }
  .showreel-bottom-bar {
    gap: 12px;
  }
  .showreel-reel-tag {
    display: none;
  }
}

/* Apple Brands Section */
.apple-brands-section {
  padding: 100px 48px 110px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.apple-brands-narrative {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system, sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  color: #6e6e73;
  max-width: 720px;
  margin: 16px auto 38px;
  letter-spacing: -0.012em;
}

.apple-section-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #86868b;
  margin-bottom: 12px;
}

.apple-section-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  margin-bottom: 40px;
}

.apple-brand-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 14px;
  max-width: 1100px;
  margin: 0 auto;
}

.apple-brand-pill {
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #86868b;
  box-shadow: none;
  transition: color 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.apple-brand-pill:hover {
  color: #1d1d1f;
  transform: translateY(-2px);
  border: none;
  box-shadow: none;
}

/* ==========================================================================
   FINALBOARD NEO-CAROUSEL SYSTEM (Clean, Borderless, Warm Editorial)
   Reference: https://finalboard.app
   ========================================================================== */

.neo-carousel-section {
  position: relative;
  padding: 100px 48px 60px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.neo-carousel-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 0 20px;
}

.neo-eyebrow {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c2410c; /* FinalBoard warm accent */
  margin-bottom: 12px;
}

.neo-carousel-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.neo-carousel-desc {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* FinalBoard Segmented Control Bar */
.neo-segmented-container {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
  padding: 0 16px;
  width: 100%;
}

.neo-segmented-control {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.05);
  padding: 5px;
  border-radius: 9999px;
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.neo-segmented-control::-webkit-scrollbar {
  display: none;
}

.neo-tab-pill {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 9999px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  outline: none;
  user-select: none;
}

.neo-tab-pill:hover {
  color: var(--text-primary);
}

.neo-tab-pill.active {
  background: #ffffff;
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09), 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Clean, Borderless Viewport & Stage */
.neo-carousel-viewport {
  position: relative;
  width: 100%;
  min-height: 500px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 0 0;
  box-shadow: none;
}

.neo-carousel-track {
  position: relative;
  width: 100%;
}

.neo-carousel-slide {
  display: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.neo-carousel-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.neo-slide-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

@media (max-width: 1024px) {
  .neo-slide-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.neo-slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.neo-slide-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(194, 65, 12, 0.08);
  color: #c2410c;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.neo-slide-heading {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.neo-slide-p {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.neo-slide-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.neo-slide-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.neo-slide-checklist svg {
  color: #16a34a;
  flex-shrink: 0;
}

.neo-slide-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.neo-slide-action-btn:hover {
  color: #0071e3;
  gap: 12px;
}

/* Rich Visual Showcase on Right Column */
.neo-slide-visual {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.neo-visual-hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.14);
}

.neo-visual-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.neo-visual-hero-frame:hover img {
  transform: scale(1.03);
}

.neo-visual-badge-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 14px;
  background: rgba(15, 17, 21, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 9999px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  pointer-events: none;
}

.neo-visual-thumb-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.neo-visual-sub-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.neo-visual-sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.neo-visual-sub-thumb:hover img {
  transform: scale(1.06);
}

/* Controls (Arrow buttons + Dots) */
.neo-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.neo-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.neo-arrow-btn:hover {
  background: #f4f3ef;
  transform: scale(1.06);
  border-color: rgba(0, 0, 0, 0.16);
}

.neo-arrow-btn:active {
  transform: scale(0.96);
}

.neo-dots-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.neo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: all 0.25s ease;
}

.neo-dot.active {
  width: 24px;
  border-radius: 9999px;
  background: #ffffff !important;
}

/* ==========================================================================
   PHOTO ARCHIVE STREAM CAROUSEL (Lots of Photos, Horizontal Flow)
   ========================================================================== */
.gallery-stream-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 10px 0 24px;
  overflow: hidden;
}

.gallery-stream-track {
  display: flex;
  gap: 24px;
  padding: 10px 48px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-stream-track::-webkit-scrollbar {
  display: none;
}

.photo-stream-card {
  flex: 0 0 380px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 3 / 2;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, opacity 0.3s ease;
  user-select: none;
}

.photo-stream-card.hidden {
  display: none;
}

.photo-stream-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px -6px rgba(0, 0, 0, 0.2);
}

.photo-stream-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-stream-card:hover .photo-stream-img {
  transform: scale(1.05);
}

.photo-stream-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 22px;
  color: #ffffff;
  pointer-events: none;
}

.photo-stream-tag {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f97316;
  margin-bottom: 4px;
}

.photo-stream-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 4px;
}

.photo-stream-meta {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

/* Scroll Indicator Bar */
.gallery-scroll-indicator {
  width: 180px;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.gallery-scroll-bar {
  height: 100%;
  width: 25%;
  background: #ffffff !important;
  border-radius: 9999px;
  transition: transform 0.1s ease-out;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .neo-carousel-section {
    padding: 60px 20px 40px;
  }
  .neo-carousel-header {
    padding: 0;
    margin-bottom: 24px;
  }
  .neo-segmented-container {
    padding: 0;
    margin-bottom: 28px;
  }
  .neo-tab-pill {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
  .neo-slide-grid {
    gap: 28px;
  }
  .neo-visual-thumb-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .photo-stream-card {
    flex: 0 0 280px;
  }
  .gallery-stream-track {
    padding: 10px 20px;
  }
}

/* Apple Duo Comparison Cards (Saltlab vs Paperwolf) */
.apple-duo-section {
  padding: 60px 48px 120px;
  max-width: 1560px;
  margin: 0 auto;
  width: 100%;
}

.duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

@media (max-width: 960px) {
  .duo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.duo-card {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.duo-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.duo-badge {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0071e3;
  margin-bottom: 12px;
}

.duo-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  margin-bottom: 10px;
}

.duo-tagline {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 1.12rem;
  line-height: 1.5;
  color: #6e6e73;
  margin-bottom: 28px;
}

.duo-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  margin-bottom: 28px;
}

.duo-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.duo-card:hover .duo-media-wrap img {
  transform: scale(1.05);
}

/* Rich Multi-Photo Duo Collage */
.duo-photo-strip {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.duo-photo-primary {
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 4 / 3;
}

.duo-photo-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.duo-card:hover .duo-photo-primary img {
  transform: scale(1.04);
}

.duo-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.duo-photo-sub {
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  flex: 1;
  min-height: 0;
  position: relative;
  aspect-ratio: 16 / 10;
}

.duo-photo-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.duo-card:hover .duo-photo-sub img {
  transform: scale(1.04);
}

.duo-story-text {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #424245;
  margin-bottom: 24px;
}

.duo-disciplines-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  padding-top: 14px;
  border-top: none;
}

.duo-discipline-pill {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86868b;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.duo-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #0071e3;
  transition: gap 0.2s ease;
}

.duo-action-btn:hover {
  gap: 12px;
}

/* Apple Bento Section (Artisan Philosophy & Storytelling) */
.apple-bento-section {
  padding: 100px 48px 130px;
  max-width: 1560px;
  margin: 0 auto;
  width: 100%;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.bento-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.bento-card-num {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #0071e3;
  margin-bottom: 20px;
}

.bento-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  line-height: 1.25;
  margin-bottom: 16px;
}

.bento-desc {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #6e6e73;
}

.bento-photo-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 24px;
  background: #000;
  position: relative;
}

.bento-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-photo-thumb img {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   EDITORIAL PARALLAX & TEXT COLLISION (NABRAK)
   -------------------------------------------------------------------------- */
.editorial-overlap-section {
  padding: 100px 48px 120px;
  max-width: 1560px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.editorial-overlap-stage {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.25);
  aspect-ratio: 21 / 9;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .editorial-overlap-stage {
    aspect-ratio: 16 / 10;
  }
}

.editorial-overlap-stage img {
  width: 100%;
  height: 125%;
  object-fit: cover;
  position: absolute;
  top: -12%;
  left: 0;
  will-change: transform;
}

.editorial-stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 80%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}

.editorial-stage-badge {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 3;
  padding: 8px 18px;
  background: rgba(18, 18, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 980px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

/* The Overlapping Text Collision Block (Nabrak) */
.editorial-collision-text {
  position: relative;
  z-index: 6;
  margin-top: 44px;
  padding: 0 44px;
  max-width: 1080px;
  will-change: transform;
}

@media (max-width: 768px) {
  .editorial-collision-text {
    margin-top: 28px;
    padding: 0 16px;
  }
}

.collision-kicker {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0071e3;
  margin-bottom: 12px;
}

.collision-headline {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #1d1d1f;
  margin-bottom: 20px;
}

.collision-desc {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: #424245;
  max-width: 820px;
}

/* --------------------------------------------------------------------------
   EDITORIAL TRIBUTE & DEDICATION (Shiro & FinalBoard - Open, Breathable Layout)
   -------------------------------------------------------------------------- */
.editorial-tribute-section {
  padding: 100px 48px 130px;
  max-width: 1560px;
  margin: 0 auto;
  width: 100%;
}

.finalboard-story-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1440px;
  margin: 0 auto;
}

.finalboard-primary-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 1080px) {
  .finalboard-primary-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.finalboard-primary-narrative {
  display: flex;
  flex-direction: column;
}

.shiro-closure-block {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: center;
  padding-top: 60px;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 1080px) {
  .shiro-closure-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.shiro-closure-copy {
  display: flex;
  flex-direction: column;
}

.shiro-icon-shoutout {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #1d1d1f;
  margin-bottom: 18px;
}

.shiro-tribute-text {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 1.05rem;
  line-height: 1.68;
  color: #515154;
}

.shiro-tribute-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.2);
}

.tribute-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 1080px) {
  .tribute-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

.tribute-narrative {
  display: flex;
  flex-direction: column;
}

.tribute-headline {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #1d1d1f;
  margin-bottom: 24px;
}

.tribute-lead {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  color: #1d1d1f;
  margin-bottom: 18px;
  font-weight: 500;
}

.tribute-desc {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 1.02rem;
  line-height: 1.68;
  color: #515154;
  margin-bottom: 20px;
}

.tribute-links-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tribute-clean-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #0071e3;
  transition: gap 0.2s ease, color 0.2s ease;
}

.tribute-clean-btn:hover {
  gap: 12px;
  color: #0077ed;
}

.tribute-visuals {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Large Shiro Portrait (Zeiss 16:9 Lens Flare) */
.tribute-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.16);
}

.tribute-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.tribute-photo-frame:hover img {
  transform: scale(1.03);
}

.tribute-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}

.tribute-photo-caption {
  position: absolute;
  bottom: 22px;
  left: 26px;
  right: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #ffffff;
}

.tribute-photo-name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tribute-photo-tag {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
}

/* FinalBoard macOS Canvas Frame */
.tribute-app-preview {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.tribute-app-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.tribute-app-badge {
  padding: 10px 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: #86868b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fbfbfd;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}



/* =====================================================
   SHIRO FUN SECTION — heyclicky-inspired playful tribute
   Light, fun, NOT a funeral. GIF + stickers + breezy copy.
   ===================================================== */

@keyframes shiro-float {
  0%, 100% { transform: translateY(0px) rotate(-0.5deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
}

@keyframes shiro-sticker-pop {
  0% { transform: scale(0) rotate(-15deg); opacity: 0; }
  60% { transform: scale(1.12) rotate(4deg); opacity: 1; }
  100% { transform: scale(1) rotate(-3deg); opacity: 1; }
}

.shiro-fun-section {
  background: #f7f6f2;
  background-image: radial-gradient(circle, rgba(0,0,0,0.055) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 100px 48px 110px;
  width: 100%;
  box-sizing: border-box;
}

.shiro-fun-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

@media (max-width: 1000px) {
  .shiro-fun-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---- GIF Column ---- */
.shiro-gif-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.shiro-gif-wrap {
  position: relative;
  display: inline-block;
  border-radius: 20px;
  overflow: visible;
}

.shiro-animated-gif {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 18px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.04),
    0 20px 48px -8px rgba(0,0,0,0.14),
    0 0 0 3px rgba(255,255,255,0.9);
  animation: shiro-float 3.8s ease-in-out infinite;
  transform-origin: center bottom;
}

/* Floating sticker labels */
.shiro-sticker {
  position: absolute;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 13px;
  border-radius: 999px;
  pointer-events: none;
  animation: shiro-sticker-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.shiro-sticker-woof {
  background: #fff9c4;
  color: #7a6800;
  border: 2px solid rgba(180,160,0,0.2);
  top: -16px;
  right: -20px;
  transform: rotate(8deg);
  animation-delay: 0.3s;
  opacity: 0;
}

.shiro-sticker-years {
  background: #e0f4ff;
  color: #0066aa;
  border: 2px solid rgba(0,100,200,0.15);
  bottom: -16px;
  left: 12px;
  transform: rotate(-5deg);
  animation-delay: 0.55s;
  opacity: 0;
}

.shiro-polaroid-label {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 0.75rem;
  color: #86868b;
  letter-spacing: 0.04em;
  margin-top: 4px;
  padding-left: 4px;
}

/* ---- Copy Column ---- */
.shiro-copy-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.shiro-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 1.5rem;
  color: #86868b;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  user-select: none;
}

.shiro-headline {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #1d1d1f;
  margin-bottom: 24px;
}

.shiro-highlight {
  color: #0071e3;
  font-style: italic;
}

.shiro-body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 1.08rem;
  line-height: 1.72;
  color: #3a3a3c;
}

.shiro-body strong {
  color: #1d1d1f;
  font-weight: 700;
}

.shiro-emoji-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 1.5rem;
}

.shiro-emoji-row span {
  display: inline-block;
  line-height: 1;
}

.shiro-forever-badge {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #86868b;
  background: rgba(0,0,0,0.04);
  padding: 7px 16px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .shiro-fun-section {
    padding: 72px 20px 80px;
  }
  .shiro-animated-gif {
    max-width: 100%;
  }
  .shiro-sticker-woof {
    top: -12px;
    right: -10px;
  }
  .shiro-sticker-years {
    bottom: -12px;
    left: 8px;
  }
}

/* Apple Collab & Contact Hub Section (Open, Borderless) */
.apple-collab-section {
  padding: 100px 48px 140px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.collab-card {
  background: transparent;
  border-radius: 0;
  padding: 40px 0 0;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 680px) {
  .collab-card {
    padding: 20px 0 0;
  }
}

.collab-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #1d1d1f;
  line-height: 1.1;
  margin-bottom: 18px;
}

.collab-subhead {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: #6e6e73;
  max-width: 720px;
  margin-bottom: 40px;
}

.collab-action-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.collab-hit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0071e3;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 16px 44px;
  border-radius: 980px;
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
}

.collab-hit-btn:hover {
  background: #0077ed;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 113, 227, 0.35);
}

.collab-hit-btn:active {
  transform: scale(0.98);
}

.collab-copy-text {
  background: transparent;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.94rem;
  color: #86868b;
  cursor: pointer;
  padding: 6px 16px;
  border-radius: 980px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.collab-copy-text span {
  color: #1d1d1f;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.collab-copy-text:hover {
  background: rgba(0, 0, 0, 0.04);
}

.collab-copy-text:hover span {
  color: #0071e3;
  text-decoration-color: #0071e3;
}

.collab-social-channels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.collab-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 980px;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1d1d1f;
  transition: all 0.2s ease;
  box-shadow: none;
}

.collab-social-pill span {
  color: #0071e3;
  font-weight: 500;
}

.collab-social-pill:hover {
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border: none;
  box-shadow: none;
}

.collab-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.88rem;
  color: #86868b;
  flex-wrap: wrap;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   APPLE FLOATING SCROLL REVEAL & HERO CHOREOGRAPHY
   -------------------------------------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1), transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Split Kinetic Entrance: Left and Right into Center */
.reveal-left {
  opacity: 0;
  transform: translate3d(-70px, 0, 0) scale(0.96);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1), transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.reveal-right {
  opacity: 0;
  transform: translate3d(70px, 0, 0) scale(0.96);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1), transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.reveal-left.is-revealed,
.reveal-right.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Stagger Delays for Grouped Elements */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.28s; }
.reveal-delay-4 { transition-delay: 0.38s; }

/* Hero Entrance Choreography (on page entrance) */
.hero-reveal-kicker {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  will-change: opacity, transform;
}

.hero-reveal-headline {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.22s, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
  will-change: opacity, transform;
}

.hero-reveal-subhead {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.36s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.36s;
  will-change: opacity, transform;
}

.hero-reveal-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
  will-change: opacity, transform;
}

.hero-reveal-stage {
  opacity: 0;
  transform: translateY(36px) scale(0.975);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.65s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.65s;
  will-change: opacity, transform;
}

body.hero-animated .hero-reveal-kicker,
body.hero-animated .hero-reveal-headline,
body.hero-animated .hero-reveal-subhead,
body.hero-animated .hero-reveal-cta,
body.hero-animated .hero-reveal-stage {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .reveal-left,
  .reveal-right,
  .hero-reveal-kicker,
  .hero-reveal-headline,
  .hero-reveal-subhead,
  .hero-reveal-cta,
  .hero-reveal-stage {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.section-tag {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 8px;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.pillar-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
  filter: brightness(0.92) contrast(1.05);
}

.pillar-card:hover .pillar-bg {
  transform: scale(1.05);
  filter: brightness(0.96) contrast(1.05);
}

.pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(25, 28, 32, 0.1) 0%, 
    rgba(25, 28, 32, 0.4) 40%, 
    rgba(25, 28, 32, 0.88) 100%);
  pointer-events: none;
}

.pillar-header, .pillar-footer {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.pillar-num {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  margin-bottom: 8px;
  font-weight: 600;
}

.pillar-brand {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #ffffff;
}

.pillar-desc {
  font-size: 0.94rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
}

.pillar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pillar-count {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.pillar-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transition: all var(--transition-fast);
}

.pillar-card:hover .pillar-arrow {
  background: #ffffff;
  color: #191c20;
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   SANDWICH.CO WORK CATEGORY LAYOUT + APPLE.COM SF PRO TYPOGRAPHY
   Reference: https://sandwich.co/work/category/featured/
   -------------------------------------------------------------------------- */

/* Section Info (Editorial Header) */
.sandwich-header {
  padding: 130px 48px 36px;
  max-width: 1680px;
  margin: 0 auto;
  width: 100%;
}

.sandwich-title-wrap {
  margin-bottom: 20px;
}

.sandwich-headline {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #1d1d1f;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.sandwich-headline .brand-pill {
  font-size: clamp(0.85rem, 1.6vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 980px;
  background: #f5f5f7;
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: middle;
}

/* Sandwich.co signature animated spectrum line */
.spectrum-bar-header {
  height: 4px;
  width: 140px;
  margin-top: 14px;
  margin-bottom: 24px;
  border-radius: 2px;
  background: #ffffff !important;
  background-size: 200% 100%;
  animation: spectrumShift 6s linear infinite;
}

.sandwich-description {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: #6e6e73;
  max-width: 840px;
  letter-spacing: -0.015em;
}

.sandwich-description strong {
  color: #1d1d1f;
  font-weight: 600;
}

/* Sandwich.co Sticky Category Navigation — Left-Aligned Modern Capsule Pills */
.category-nav-wrap {
  position: sticky;
  top: 60px;
  z-index: 80;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 48px;
  width: 100%;
  transition: background 0.3s ease;
}

.category-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1680px;
  margin: 0;
  padding: 4px 0;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #515154;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.category-nav-item:hover {
  color: #111113;
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
}

.category-nav-item.active {
  color: #ffffff !important;
  background: #111113 !important;
  border-color: #111113 !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
}

.category-nav-item.active::after {
  display: none !important;
}

/* Apple Standard Curved Search Bar */
.search-toolbar {
  padding: 20px 48px 12px;
  max-width: 1680px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.search-bar-wrap {
  position: relative;
  flex: 1;
  max-width: 560px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.search-bar-wrap:focus-within {
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15), 0 4px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.search-bar-wrap .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #86868b;
  font-size: 0.95rem;
  pointer-events: none;
}

.search-bar-input {
  width: 100%;
  height: 46px;
  padding: 0 46px 0 48px;
  background: transparent;
  border: none;
  border-radius: 9999px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", sans-serif;
  font-size: 0.92rem;
  color: #1d1d1f;
  outline: none;
  box-shadow: none;
  transition: all 0.2s ease;
}

.search-bar-input::placeholder {
  color: #86868b;
}

.search-bar-input:focus {
  border-color: transparent;
  box-shadow: none;
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #6e6e73;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.15s ease;
  border: none;
}

.search-clear-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.search-count-badge {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #86868b;
  padding: 6px 14px;
  border-radius: 980px;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

/* Legacy Filter Toolbar compat */
.filter-toolbar {
  display: none;
}

/* --------------------------------------------------------------------------
   SANDWICH.CO 16:9 WORK ITEMS GRID (Full-Bleed Tiles + Apple SF Pro)
   -------------------------------------------------------------------------- */
.work-items-container, .portfolio-container {
  padding: 32px 48px 120px;
  max-width: 1680px;
  margin: 0 auto;
  width: 100%;
}

.work-grid, .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

@media (max-width: 900px) {
  .work-grid, .portfolio-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2px !important;
  }
}

@media (max-width: 600px) {
  .work-grid, .portfolio-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2px !important;
  }
  .sandwich-header, .category-nav-wrap, .search-toolbar, .work-items-container, .portfolio-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* Single Work Item Card (4:3 Classic Film Ratio + Hairline Instagram Gap) */
.work-item, .project-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  overflow: hidden;
  background: #050507;
  cursor: pointer;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  transition: opacity 0.2s ease;
}

.work-item:hover, .project-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  z-index: 1;
}

.work-item .media, .project-card .card-media-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.work-item .poster, .project-card .card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.work-item:hover .poster, .project-card:hover .card-poster {
  transform: none;
  filter: brightness(1.08);
}

.work-item .gradient-overlay, .project-card .gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0) 30%, 
    rgba(0, 0, 0, 0.4) 65%, 
    rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.work-item:hover .gradient-overlay, .project-card:hover .gradient-overlay {
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0.15) 0%, 
    rgba(0, 0, 0, 0.45) 50%, 
    rgba(0, 0, 0, 0.94) 100%);
}

.work-item .play-badge, .project-card .play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  padding-left: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
}

.work-item:hover .play-badge, .project-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.work-item .badge-top-right, .project-card .card-preview-indicator, .badge-top-right {
  display: none !important;
}

.work-item .item-info, .project-card .item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  z-index: 3;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transform: translateY(2px);
  transition: transform 0.3s ease;
}

@media (max-width: 900px) {
  .work-item .item-info, .project-card .item-info {
    padding: 10px 10px;
    gap: 2px;
  }
  .work-item .item-info .client, .project-card .item-info .client {
    font-size: 0.88rem;
  }
  .work-item .item-info .title, .project-card .item-info .title {
    font-size: 0.78rem;
  }
}

@media (max-width: 600px) {
  .work-item .item-info, .project-card .item-info {
    padding: 6px 6px;
    gap: 1px;
  }
  .work-item .item-info .client, .project-card .item-info .client {
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .work-item .item-info .title, .project-card .item-info .title {
    display: none;
  }
  .work-item .item-info .meta-row, .project-card .item-info .meta-row {
    display: none;
  }
}

.work-item:hover .item-info, .project-card:hover .item-info {
  transform: translateY(0);
}

.work-item .item-info .title-row, .project-card .item-info .title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.2;
}

.work-item .item-info .client, .project-card .item-info .client {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-transform: uppercase;
}

.work-item .item-info .title, .project-card .item-info .title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-weight: 400;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
}

.work-item .item-info .meta-row, .project-card .item-info .meta-row {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   APPS & DEVELOPER PAGE (FinalBoard Showcase Style)
   -------------------------------------------------------------------------- */
.apps-hero {
  padding: 130px 48px 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.finalboard-featured {
  margin: 40px auto 80px;
  max-width: 1200px;
  padding: 0 48px;
}

.fb-card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-window);
}

.fb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(2, 132, 199, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.fb-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.fb-tagline {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 16px 0 28px;
}

.fb-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.fb-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.fb-check {
  color: var(--accent-cyan);
  font-weight: 700;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: #ffffff !important;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.fb-preview-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   CINEMA MODAL PLAYER (Apple Light Theater Frame)
   -------------------------------------------------------------------------- */
.cinema-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 20, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.cinema-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 24px 16px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-modal);
  transform: scale(0.95) translateY(10px);
  transition: transform var(--transition-smooth);
  overflow: hidden;
}

.cinema-modal.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 14px 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.modal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-mute-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-mute-btn:hover {
  background: #e5e5ea;
  transform: scale(1.02);
}

.modal-mute-btn.muted {
  background: rgba(255, 59, 48, 0.1);
  border-color: rgba(255, 59, 48, 0.25);
  color: #ff3b30;
}

.modal-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.modal-close-btn:hover {
  background: #e5e5ea;
  transform: scale(1.05);
}

/* Modal Scroll Stream (Multi-Video Stream per Project) */
.modal-scroll-stream {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 6px 24px 6px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-height: calc(90vh - 130px);
  scroll-behavior: smooth;
}

.stream-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stream-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 4px;
}

.stream-card-badge {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0071e3;
}

.stream-card-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* Uncropped Full-Frame Cinema Player & Precision Scrub Bar */
.modal-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border: none;
}

.modal-player-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Apple Instant Tap Zone: Fast 220ms Flash Icon & Unobstructed Timeline Scrubber */
.player-tap-zone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  bottom: 46px; /* Completely leaves the bottom 46px scrub bar & time controls accessible */
  z-index: 4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.tap-flash-indicator {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  transition: opacity 0.22s ease-out, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.tap-flash-indicator.flash {
  opacity: 1;
  transform: scale(1);
}

.tap-flash-indicator svg {
  width: 24px;
  height: 24px;
  display: none;
}

.tap-flash-indicator.state-play .tap-icon-play {
  display: block;
  transform: translateX(1.5px);
}

.tap-flash-indicator.state-pause .tap-icon-pause {
  display: block;
}

/* Custom Cinema Replay Overlay (Kills YouTube More Videos Screen) */
.modal-replay-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 21, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-replay-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.replay-badge-wrap {
  text-align: center;
  max-width: 480px;
  padding: 0 24px;
}

.replay-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.replay-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.replay-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.replay-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #111111;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.replay-btn-primary:hover {
  transform: scale(1.04);
  background: #f0f0f0;
}

.replay-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.replay-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-cuts-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 4px;
  overflow-x: auto;
}

.cut-btn {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.cut-btn:hover {
  background: #e8e8ed;
  color: var(--text-primary);
}

.cut-btn.active {
  background: #ffffff !important;
  color: #ffffff;
  border-color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 6px 0;
}

.modal-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-link-btn {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0071e3 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 980px;
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.15);
  transition: all 0.2s ease;
  text-decoration: none;
}

.modal-link-btn:hover {
  background: rgba(0, 113, 227, 0.16);
  color: #0077ed !important;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   FOOTER (Apple Clean Baseline)
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 48px;
  background: #ffffff;
}

.footer-inner {
  max-width: 1560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.social-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (Tablets & Mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-nav {
    padding: 0 24px;
  }
  .quarry-hero {
    padding: 120px 24px 48px;
  }
  .pillars-section, .portfolio-container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pillar-card {
    height: 380px;
  }
  .fb-card {
    grid-template-columns: 1fr;
    padding: 36px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 0 20px;
    height: 64px;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    color: var(--text-primary);
    cursor: pointer;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
  }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px 32px;
    gap: 16px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-cinematic), opacity 0.3s var(--ease-cinematic);
    z-index: 99;
    display: flex;
  }
  .site-nav.menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 6px 0;
    width: 100%;
  }
  .nav-link.highlight {
    margin-top: 8px;
    justify-content: center;
  }
  .quarry-hero {
    min-height: 75vh;
    padding: 100px 20px 40px;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .pillars-section, .portfolio-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .filter-toolbar {
    padding: 14px 20px;
    top: 64px;
  }
  .filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .search-box {
    max-width: 100%;
  }
  .category-chips {
    padding-bottom: 8px;
  }
  .modal-container {
    padding: 16px;
    border-radius: var(--radius-md);
  }
  .modal-title {
    font-size: 1.15rem;
  }
  /* Apple Duo Mobile Layout Refinements */
  .apple-duo-hero {
    padding: 100px 20px 40px;
  }
  .apple-headline {
    font-size: 2.5rem;
  }
  .apple-subhead {
    font-size: 1.05rem;
    margin-bottom: 28px;
  }
  .apple-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .apple-btn-primary, .apple-btn-secondary, .apple-btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .apple-brands-section {
    padding: 50px 20px 60px;
  }
  .apple-brand-pill {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  .apple-duo-section {
    padding: 40px 20px 80px;
  }
  .duo-card {
    padding: 0;
    border-radius: 0;
  }
  .duo-title {
    font-size: 2.2rem;
  }
  .apple-bento-section {
    padding: 50px 20px 80px;
  }
  .bento-card {
    padding: 0;
    border-radius: 0;
  }
  .apple-software-section {
    padding: 50px 20px 80px;
  }
  .software-card-wrap {
    padding: 0;
    border-radius: 0;
  }
  .apple-collab-section {
    padding: 60px 20px 100px;
  }
  .collab-card {
    padding: 10px 0 0;
    border-radius: 0;
  }
  .collab-hit-btn {
    width: 100%;
    max-width: 300px;
    padding: 15px 32px;
    font-size: 1.1rem;
  }
  .collab-copy-text {
    font-size: 0.88rem;
    text-align: center;
  }
  .cinema-poster-layer {
    padding: 16px;
  }
  .cinema-top-pill {
    font-size: 0.68rem;
    padding: 6px 12px;
  }
  .cinema-center-trigger {
    padding: 12px 24px;
    gap: 10px;
  }
  .cinema-play-label {
    font-size: 0.95rem;
  }
  .cinema-bottom-bar {
    font-size: 0.72rem;
  }
  .editorial-overlap-section {
    padding: 50px 20px 70px;
  }
  .editorial-overlap-stage {
    border-radius: 20px;
    aspect-ratio: 16 / 11;
  }
  .editorial-stage-badge {
    top: 16px;
    left: 16px;
    font-size: 0.68rem;
    padding: 6px 12px;
  }
  .editorial-collision-text {
    margin-top: 24px;
    padding: 0 12px;
  }
  .duo-photo-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .duo-photo-stack {
    flex-direction: row;
    width: 100%;
    height: auto;
  }
  .duo-photo-sub {
    flex: 1;
    min-width: 0;
    aspect-ratio: 16 / 10;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   SALTLAB YELLOW THEME & HIGH-CONTRAST EDITORIAL STYLING
   -------------------------------------------------------------------------- */
body[data-brand="Saltlab"] {
  background-color: #D9E73C !important;
  color: #0b0c0e !important;
  --bg-canvas: #D9E73C;
  --bg-surface: rgba(0, 0, 0, 0.05);
  --bg-surface-elevated: #ffffff;
  --text-primary: #0b0c0e;
  --text-secondary: #27282b;
  --text-muted: #4e4f54;
  --border-subtle: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.22);
}

body[data-brand="Saltlab"] .site-nav.scrolled-past-hero {
  background: rgba(217, 231, 60, 0.94) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body[data-brand="Saltlab"] .category-nav-wrap {
  background: rgba(217, 231, 60, 0.94) !important;
  border-bottom: 1px solid rgba(24, 26, 77, 0.12) !important;
}

body[data-brand="Saltlab"] .category-nav-item {
  color: #181A4D !important;
  background: rgba(24, 26, 77, 0.07) !important;
  border: 1px solid rgba(24, 26, 77, 0.14) !important;
}

body[data-brand="Saltlab"] .category-nav-item:hover {
  background: rgba(24, 26, 77, 0.15) !important;
  border-color: rgba(24, 26, 77, 0.25) !important;
}

body[data-brand="Saltlab"] .category-nav-item.active {
  background: #181A4D !important;
  color: #D9E73C !important;
  border-color: #181A4D !important;
  box-shadow: 0 4px 14px rgba(24, 26, 77, 0.22) !important;
}

body[data-brand="Saltlab"] .sandwich-headline {
  color: #181A4D !important;
}

body[data-brand="Saltlab"] .sandwich-description {
  color: #283287 !important;
}

body[data-brand="Saltlab"] .brand-pill {
  background: #181A4D !important;
  color: #D9E73C !important;
  border: 1px solid #181A4D !important;
}

body[data-brand="Saltlab"] .search-bar-wrap {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(24, 26, 77, 0.18) !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 18px rgba(24, 26, 77, 0.08) !important;
}

body[data-brand="Saltlab"] .search-bar-wrap:focus-within {
  border-color: #181A4D !important;
  box-shadow: 0 0 0 3px rgba(24, 26, 77, 0.15), 0 6px 22px rgba(24, 26, 77, 0.12) !important;
}

body[data-brand="Saltlab"] .search-bar-input {
  color: #181A4D !important;
}

body[data-brand="Saltlab"] .search-bar-input::placeholder {
  color: #636688 !important;
}

body[data-brand="Saltlab"] .search-count-badge {
  background: rgba(24, 26, 77, 0.08) !important;
  color: #181A4D !important;
  border: 1px solid rgba(24, 26, 77, 0.14) !important;
}

body[data-brand="Saltlab"] .site-footer {
  background: #0b0c0e !important;
  color: #D9E73C !important;
  border-top: 1px solid rgba(0, 0, 0, 0.2) !important;
}

body[data-brand="Saltlab"] .site-footer .footer-copy {
  color: rgba(217, 231, 60, 0.85) !important;
}

body[data-brand="Saltlab"] .site-footer .social-link {
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   BRAND IDENTITY LOGOS (wearesaltlab & paperwolf studios)
   -------------------------------------------------------------------------- */
.brand-logo-custom-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.brand-logo-flame {
  height: 24px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.brand-logo-wolf {
  height: 28px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* No border on Paperwolf */
.paperwolf-borderless, .paperwolf-brand-link {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.site-nav.scrolled-past-hero .paperwolf-brand-link .brand-logo-text {
  color: var(--text-primary);
}

.site-nav.on-hero .brand-logo-custom-link .brand-logo-text {
  color: #ffffff;
}

.site-nav.scrolled-past-hero .saltlab-brand-link .brand-logo-text {
  color: #181A4D !important;
}

/* --------------------------------------------------------------------------
   SMOOTH REVEAL TRANSITION (Opacity & Position UP)
   -------------------------------------------------------------------------- */
.scroll-reveal, 
.hero-reveal-headline, 
.hero-reveal-subhead, 
.hero-reveal-stage, 
.hero-reveal-cta,
.project-card.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.82s cubic-bezier(0.16, 1, 0.3, 1), transform 0.82s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-revealed,
.hero-reveal-headline.is-revealed,
.hero-reveal-subhead.is-revealed,
.hero-reveal-stage.is-revealed,
.hero-reveal-cta.is-revealed,
.project-card.scroll-reveal.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* --------------------------------------------------------------------------
   IMMERSIVE ASPECT RATIOS & CARDS
   -------------------------------------------------------------------------- */
.project-card .aspect-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(10, 10, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  z-index: 4;
}

.project-card .layout-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 9px;
  border-radius: 6px;
  background: #0071e3;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  z-index: 4;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.35);
}

/* --------------------------------------------------------------------------
   CLIENT SUBPAGE MODAL (3-Column Grid for Multiple Projects)
   -------------------------------------------------------------------------- */
.client-subpage-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-subpage-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.subpage-container {
  width: 100%;
  max-width: 1320px;
  max-height: 92vh;
  background: #ffffff;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.client-subpage-modal.active .subpage-container {
  transform: translateY(0) scale(1);
}

.subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.subpage-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.subpage-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f4f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d1d1f;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subpage-back-btn:hover {
  background: #e5e5ea;
}

.subpage-client-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}

.subpage-count-badge {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
}

.subpage-scroll-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 28px;
}

/* 3-Column Grid inside client subpage */
.subpage-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .subpage-grid-3col {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 580px) {
  .subpage-grid-3col {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.subpage-item-card {
  position: relative;
  background: #08080c;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subpage-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.subpage-item-card.aspect-9-16 {
  aspect-ratio: 9 / 16;
}

.subpage-item-card.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.subpage-item-card.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.subpage-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.subpage-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px;
  color: #ffffff;
}

.subpage-item-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 4px;
}

.subpage-item-meta {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   DOUBLE SLIDE MODAL (2-Slide Atas-Bawah Presentation)
   -------------------------------------------------------------------------- */
.double-slide-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 12, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.double-slide-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.double-slide-container {
  width: 100%;
  max-width: 1100px;
  max-height: 94vh;
  background: #ffffff;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.double-slide-modal.active .double-slide-container {
  transform: translateY(0) scale(1);
}

.double-slide-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.double-slide-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fbfbfd;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 16px;
}

.double-slide-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.double-slide-card-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1d1d1f;
}

.double-slide-video-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.double-slide-video-wrap video {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}

/* --------------------------------------------------------------------------
   IMMERSIVE NATIVE CINEMA PLAYER
   -------------------------------------------------------------------------- */
.cinema-native-video-wrap {
  position: relative;
  width: 100%;
  max-height: calc(85vh - 120px);
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinema-native-video-wrap video {
  width: 100%;
  height: 100%;
  max-height: calc(85vh - 120px);
  object-fit: contain;
  display: block;
}

/* If vertical 9:16 */
.modal-container.aspect-9-16 {
  max-width: 480px;
}

.modal-container.aspect-9-16 .cinema-native-video-wrap {
  aspect-ratio: 9 / 16;
}

/* If widescreen 16:9 */
.modal-container.aspect-16-9 {
  max-width: 1080px;
}

.modal-container.aspect-16-9 .cinema-native-video-wrap {
  aspect-ratio: 16 / 9;
}

/* If 4:3 */
.modal-container.aspect-4-3 {
  max-width: 880px;
}

.modal-container.aspect-4-3 .cinema-native-video-wrap {
  aspect-ratio: 4 / 3;
}


/* --- ULTRA-CLEAN THUMBNAIL & HOVER OVERLAY --- */
.item-hover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(4px);
  z-index: 5;
}

.work-item:hover .item-hover-overlay,
.project-card:hover .item-hover-overlay {
  opacity: 1;
  transform: translateY(0);
}

.hover-client {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
}

.hover-films-count {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hide permanent badges on thumbnail to keep it pristine */
.work-item .aspect-badge,
.project-card .aspect-badge,
.work-item .layout-badge,
.project-card .layout-badge,
.work-item .item-info,
.project-card .item-info {
  display: none !important;
}

/* Remove spectrum bar */
.spectrum-bar-header {
  display: none !important;
}

/* Category Nav Active Indicator - Clean Minimalist Dark Line */
.category-nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 18px;
  right: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: #ffffff !important;
}

body[data-brand="Saltlab"] .category-nav-item.active::after {
  background: #000000;
}

/* Fix Mobile Nav Indicator & Clean Hamburger */
@media (max-width: 768px) {
  .nav-sliding-indicator {
    display: none !important;
  }
  .mobile-toggle {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 1.4rem !important;
  }
}


/* Ensure FinalBoard Section is Prominent & Always Visible */
.editorial-tribute-section {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.finalboard-primary-narrative,
.finalboard-primary-visual {
  opacity: 1 !important;
  transform: none !important;
}


/* FinalBoard & Shiro Guarantee: Always 100% Visible */
#finalboardShiro,
#finalboardShiro .scroll-reveal,
#finalboardShiro .finalboard-story-container,
#finalboardShiro .finalboard-primary-grid,
#finalboardShiro .finalboard-primary-narrative,
#finalboardShiro .finalboard-primary-visual,
#shiroSection,
#shiroSection .shiro-fun-inner,
#shiroSection .shiro-gif-col,
#shiroSection .shiro-copy-col {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}


/* ==========================================================================
   ROCK-SOLID MOBILE NAV & 100% CONTENT VISIBILITY GUARANTEE
   ========================================================================== */

/* 1. Mobile Menu Open Support */
@media (max-width: 768px) {
  .site-nav {
    padding: 0 20px;
    height: 64px;
    z-index: 1000;
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.5rem !important;
    color: var(--text-primary);
    cursor: pointer;
    background: transparent !important;
    border: none !important;
    z-index: 1001;
    position: relative;
  }
  .site-nav.on-hero .mobile-toggle {
    color: #ffffff !important;
  }
  .site-nav.menu-open .mobile-toggle {
    color: #1d1d1f !important;
  }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px 32px;
    gap: 16px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 999;
    display: flex;
  }
  .site-nav.menu-open .nav-links,
  .nav-links-wrap.mobile-open .nav-links {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .site-nav.menu-open .nav-link,
  .nav-links-wrap.mobile-open .nav-link {
    color: #1d1d1f !important;
  }
}

/* 2. Content 100% Always Loaded & Visible */
.scroll-reveal,
.project-card,
.work-item,
.apple-brands-section,
.editorial-tribute-section,
.shiro-fun-section,
.apple-collab-section,
.finalboard-primary-grid,
.finalboard-primary-narrative,
.finalboard-primary-visual,
#brandsBridge,
#featuredGrid,
#finalboardShiro,
#shiroSection {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}


/* Enhanced Mobile Menu Open State across Themes */
@media (max-width: 768px) {
  .mobile-toggle {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .site-nav.menu-open {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  .site-nav.menu-open .brand-logo,
  .site-nav.menu-open .brand-logo-text,
  .site-nav.menu-open .brand-badge {
    color: #1d1d1f !important;
  }
  .site-nav.menu-open .mobile-toggle {
    color: #1d1d1f !important;
  }
  body[data-brand="Saltlab"] .site-nav.menu-open {
    background: #D9E73C !important;
  }
  body[data-brand="Saltlab"] .site-nav.menu-open .nav-links {
    background: #D9E73C !important;
  }
}


/* ==========================================================================
   SANDWICH.CO WORK TILES & LIVE HOVER PLAYBACK
   ========================================================================== */
.sandwich-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000000;
  cursor: pointer;
  border-radius: 4px;
}

.sandwich-tile .media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sandwich-tile .poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.sandwich-tile .hover-preview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
  pointer-events: none;
}

.sandwich-tile.video-playing .hover-preview-video {
  opacity: 1;
}

.sandwich-tile .sandwich-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0) 40%, 
    rgba(0, 0, 0, 0.25) 70%, 
    rgba(0, 0, 0, 0.85) 100%);
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sandwich-tile:hover .sandwich-card-scrim {
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0) 30%, 
    rgba(0, 0, 0, 0.3) 60%, 
    rgba(0, 0, 0, 0.92) 100%);
}

.sandwich-tile .sandwich-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  z-index: 4;
  pointer-events: none;
}

.sandwich-tile .sandwich-card-label {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system, sans-serif;
  font-size: clamp(0.78rem, 1.25vw, 0.95rem);
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  letter-spacing: -0.01em;
  white-space: normal;
  display: block;
}

.sandwich-tile .sandwich-card-label strong {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin-right: 4px;
}

@media (max-width: 768px) {
  .sandwich-tile .sandwich-card-info {
    padding: 10px 10px;
  }
  .sandwich-tile .sandwich-card-label {
    font-size: 0.8rem;
    line-height: 1.2;
  }
  .sandwich-tile .sandwich-card-label strong {
    font-weight: 700;
  }
}

/* ==========================================================================
   MODERN APPLE SEARCH BAR & CONTEMPORARY CATEGORY NAV
   ========================================================================== */
.search-toolbar {
  padding: 24px 0 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.search-input-wrap {
  position: relative;
  max-width: 480px;
  width: 100%;
}

.search-icon-left {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #86868b;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 48px;
  border-radius: 9999px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.95rem;
  color: #1d1d1f;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-input:focus {
  border-color: #0071e3 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18), 0 4px 16px rgba(0, 0, 0, 0.06);
}

body[data-brand="Saltlab"] .search-input {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(24, 26, 77, 0.15) !important;
  color: #181A4D !important;
}

body[data-brand="Saltlab"] .search-input:focus {
  border-color: #181A4D !important;
  box-shadow: 0 0 0 4px rgba(24, 26, 77, 0.15);
}

/* Category Filter Bar — Left-Aligned, Modern Capsule Pills */
.category-nav-wrap {
  position: sticky;
  top: 64px;
  z-index: 70;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px 48px;
}

body[data-brand="Saltlab"] .category-nav-wrap {
  background: rgba(217, 231, 60, 0.94) !important;
  border-bottom: 1px solid rgba(24, 26, 77, 0.1) !important;
}

.category-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  max-width: 1440px;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav-item {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 18px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.04);
  color: #48484a;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-nav-item:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
}

.category-nav-item.active {
  background: #111113 !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.category-nav-item.active::after {
  display: none !important;
}

body[data-brand="Saltlab"] .category-nav-item {
  background: rgba(24, 26, 77, 0.08);
  color: #181A4D;
}

body[data-brand="Saltlab"] .category-nav-item:hover {
  background: rgba(24, 26, 77, 0.15);
}

body[data-brand="Saltlab"] .category-nav-item.active {
  background: #181A4D !important;
  color: #D9E73C !important;
}

/* ==========================================================================
   CLIENT LOGOS INFINITE MARQUEE TICKER (Left to Right Loop)
   ========================================================================== */
.brand-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0 24px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.brand-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
  will-change: transform;
}

.brand-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0%, 0, 0); }
}

.brand-marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  flex-shrink: 0;
}

.brand-logo-item {
  height: 28px;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
}

.brand-logo-item img, .brand-logo-item svg {
  height: 26px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.brand-text-logo {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary, #1d1d1f);
  white-space: nowrap;
  user-select: none;
  display: inline-block;
  line-height: 1;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.brand-text-logo.brand-serif {
  font-family: "Didot", "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 1.15rem;
}

.brand-text-logo.brand-bold {
  font-weight: 900;
  letter-spacing: 0.14em;
}

.brand-text-logo.brand-italic {
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.brand-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

.brand-logo-item:hover .brand-text-logo {
  opacity: 1;
  color: #000000;
}

/* ==========================================================================
   APPLE SMOOTH REVEAL & STAGGERED SEARCH ANIMATION
   ========================================================================== */
@keyframes appleRevealUp {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.apple-enter {
  animation: appleRevealUp 0.62s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* White menu underline */
.nav-sliding-indicator {
  background: #ffffff !important;
}
.site-nav.on-hero .nav-sliding-indicator {
  background: #ffffff !important;
}
.site-nav.scrolled .nav-sliding-indicator {
  background: #ffffff !important;
}
body[data-brand="Saltlab"] .site-nav.scrolled .nav-sliding-indicator {
  background: #ffffff !important;
}

/* ==========================================================================
   STACKED DUAL-STUDIO SHOWCASE (SALTLAB & PAPERWOLF VERTICAL STACK)
   ========================================================================== */
.studios-stacked-section {
  padding: 80px 48px 60px;
  max-width: 1680px;
  margin: 0 auto;
  width: 100%;
}

.studio-showcase-block {
  padding: 64px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.studio-showcase-block:last-child {
  border-bottom: none;
  padding-bottom: 20px;
}

.studio-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: center;
}

.studio-copy-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.studio-badge-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.studio-heading {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.studio-desc {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.studio-action-row {
  margin-top: 14px;
}

.studio-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px;
  background: #111113;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
  background: #000000;
  color: #ffffff;
}

.studio-visual-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.studio-hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.18);
}

.studio-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.studio-hero-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(15, 17, 21, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.9);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.studio-sub-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.studio-sub-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.studio-sub-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.studio-micro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.studio-sub-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 6px;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/* Paperwolf studios without border */
.studio-paperwolf .studio-hero-frame {
  border: none !important;
}

@media (max-width: 960px) {
  .studios-stacked-section {
    padding: 48px 20px 36px;
  }
  .studio-showcase-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ==========================================================================
   PAGE ENTER & EXIT TRANSITIONS (Apple Fluid Easing)
   ========================================================================== */
body {
  opacity: 1;
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

body.page-enter {
  animation: applePageEnter 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.page-exit {
  opacity: 0;
  pointer-events: none;
}

@keyframes applePageEnter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ==========================================================================
   INSTAGRAM REELS VERTICAL FEED PLAYER (9:16 Fullscreen Snap Scroll)
   ========================================================================== */
.reels-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000000;
  display: none;
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.reels-modal.active {
  display: block;
  opacity: 1;
}

.reels-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  pointer-events: none;
}

.reels-top-bar > * {
  pointer-events: auto;
}

.reels-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 7px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.reels-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
  animation: pulseRed 1.8s infinite;
}

@keyframes pulseRed {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.reels-client-name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reels-count-badge {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.reels-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reels-mute-btn, .reels-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reels-mute-btn:hover, .reels-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.06);
}

.reels-scroll-container {
  position: absolute;
  inset: 0;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reels-scroll-container::-webkit-scrollbar {
  display: none;
}

.reel-item {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  flex-shrink: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  overflow: hidden;
}

.reel-video-container {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 9 / 16;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.reel-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0.4) 0%, 
    transparent 20%, 
    transparent 60%, 
    rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}

.reel-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 34px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reel-client-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reel-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.reel-swipe-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.reel-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: bounceDown 1.6s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.reels-nav-arrows {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 90;
}

.reels-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reels-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .reels-nav-arrows {
    display: none;
  }
  .reel-video-container {
    width: 100vw;
    max-width: 100vw;
    aspect-ratio: auto;
    height: 100dvh;
  }
  .reel-info {
    padding: 20px 16px 28px;
  }
  .reels-top-bar {
    padding: 16px 18px;
  }
}
