/* ==========================================================================
   3 ALARM DESIGN — 2026 Redesign Stylesheet
   Inspired by: noth.in, bittercreek.studio, artycoders.com, pentagram.com
   ========================================================================== */

:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #121216;
  --bg-tertiary: #191920;
  --bg-card: rgba(22, 22, 28, 0.7);
  --bg-card-hover: rgba(30, 30, 40, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-glow: rgba(255, 77, 0, 0.4);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted: #666672;
  --text-invert: #09090b;

  /* Theme Accents */
  --accent-flame: #ff4d00;
  --accent-flame-bright: #ff6a00;
  --accent-flame-glow: rgba(255, 77, 0, 0.35);
  
  --accent-design: #00f0ff;
  --accent-photo: #ffaa00;
  --accent-prints: #ff2a5f;

  --current-accent: var(--accent-flame);

  /* Typography */
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, Menlo, monospace;
  --font-display: 'Space Grotesk', sans-serif;

  /* Spacing & Transitions */
  --header-height: 80px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Color theme overrides per section */
body[data-section="design"] {
  --current-accent: var(--accent-design);
  --border-glow: rgba(0, 240, 255, 0.35);
}
body[data-section="photography"] {
  --current-accent: var(--accent-photo);
  --border-glow: rgba(255, 170, 0, 0.35);
}
body[data-section="prints"] {
  --current-accent: var(--accent-prints);
  --border-glow: rgba(255, 42, 95, 0.35);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
  line-height: 1.5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #272730;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #3e3e4c;
}

::selection {
  background: var(--current-accent);
  color: #000;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Film Grain Texture Overlay (Bittercreek & Nothin' touch) */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Backlight Glow */
.ambient-glow {
  position: fixed;
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 60vh;
  background: radial-gradient(circle, var(--current-accent) 0%, transparent 70%);
  opacity: 0.08;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  transition: background 0.8s ease, opacity 0.8s ease;
}


/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 0.4s var(--ease-smooth), background 0.3s ease;
}

.header-container {
  max-width: 1600px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo Area */
.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  text-decoration: none;
}

.logo-badge-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s var(--ease-bounce), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: visible;
}

.logo-badge-wrap:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 85, 35, 0.4);
  background: rgba(241, 85, 35, 0.08);
  box-shadow: 0 6px 20px rgba(241, 85, 35, 0.2);
}

.logo-svg {
  width: 24px;
  height: 34px;
  position: relative;
  z-index: 1;
  overflow: visible;
  transition: filter 0.3s ease;
}

/* Solid Vector Brand Emblem (Flame + Concentric Rings & Numeral 3 Cutout, No White Fill) */
.logo-flame,
.logo-rings,
.logo-numeral {
  fill: #f15523;
  transition: fill 0.35s ease, filter 0.35s ease;
}

.logo-container:hover .logo-flame,
.logo-container:hover .logo-rings,
.logo-container:hover .logo-numeral {
  filter: drop-shadow(0 2px 8px rgba(241, 85, 35, 0.5));
}

/* Section-adaptive tints for the logo emblem */
body[data-section="design"] .logo-flame,
body[data-section="design"] .logo-rings,
body[data-section="design"] .logo-numeral {
  fill: var(--accent-design);
}
body[data-section="photography"] .logo-flame,
body[data-section="photography"] .logo-rings,
body[data-section="photography"] .logo-numeral {
  fill: var(--accent-photo);
}
body[data-section="prints"] .logo-flame,
body[data-section="prints"] .logo-rings,
body[data-section="prints"] .logo-numeral {
  fill: #f15523;
}

.logo-info {
  display: flex;
  align-items: center;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.25s ease;
}

.logo-container:hover .brand-name {
  color: #fff;
}

/* Explore Work Header Link */
.nav-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-explore-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(1px);
}

.explore-arrow {
  color: var(--current-accent);
  transition: transform 0.25s ease;
}

.nav-explore-link:hover .explore-arrow {
  transform: translateY(2px);
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}



.btn-contact {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-contact:hover {
  background: var(--text-primary);
  color: var(--text-invert);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Hero Section with Interactive Concert Spotlight
   (Featuring bs-new.jpg)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  overflow: hidden;
}

/* The Canvas & Image Layer */
.hero-stage-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #000;
}

.hero-stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.85) contrast(1.15);
  transition: transform 0.8s var(--ease-out-expo);
  transform: scale(1.02);
}

/* Spotlight Flare Simulation from original stage light */
.stage-flare-origin {
  position: absolute;
  top: 15%;
  right: 18%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 220, 180, 0.4) 30%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  animation: flarePulse 4s infinite alternate ease-in-out;
  z-index: 2;
}

@keyframes flarePulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0.95; }
}

/* Gradient Fade into Content */
.hero-stage-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 12, 0.65) 0%,
    rgba(10, 10, 12, 0.2) 30%,
    rgba(10, 10, 12, 0.65) 75%,
    rgba(10, 10, 12, 1) 100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-pretitle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.badge-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--current-accent);
  backdrop-filter: blur(8px);
}


.hero-title {
  font-size: clamp(2.8rem, 7.5vw, 6.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 2rem;
  max-width: 1300px;
}

.hero-title .word-highlight {
  display: inline-block;
  color: #ffffff;
}

/* ==========================================================================
   Hero Slot Machine Word Tumbler / Easter Egg
   ========================================================================== */
.hero-slot-machine {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  vertical-align: baseline;
  cursor: pointer;
  user-select: none;
  padding: 0 0.04em;
  margin: 0;
  outline: none;
  transition: transform 0.2s ease;
}

.hero-slot-machine:focus-visible {
  outline: 2px solid var(--current-accent, #f15523);
  outline-offset: 4px;
  border-radius: 4px;
}

.slot-window {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  height: 1.18em;
  line-height: 1.18em;
  white-space: nowrap;
  clip-path: inset(-0.06em 0 -0.18em 0);
  overflow: visible;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.slot-word {
  display: inline-block;
  white-space: nowrap;
  color: var(--current-accent, #f15523);
  font-weight: 800;
  letter-spacing: -0.04em;
  will-change: transform, opacity, filter;
  transition: color 0.4s ease;
}

.slot-word.slot-current {
  position: relative;
  transform: translateY(0%);
  opacity: 1;
  filter: blur(0px);
}

.slot-word.slot-next {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(120%);
  opacity: 0;
  filter: blur(2px);
  pointer-events: none;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.55;
  font-weight: 400;
  text-wrap: pretty;
}

.hero-tagline strong {
  color: #fff;
  font-weight: 600;
}

.hero-disciplines {
  display: flex;
  gap: 2rem;
}

.discipline-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.discipline-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--current-accent);
  font-weight: 700;
}

.discipline-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.discipline-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ==========================================================================
   Section Controls Bar (Pentagram & Nothin' Inspired)
   ========================================================================== */
.section-toolbar {
  position: sticky;
  top: var(--header-height);
  scroll-margin-top: calc(var(--header-height) - 1px);
  z-index: 900;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
  padding: 1rem 0;
}

.toolbar-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.toolbar-heading {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.toolbar-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--current-accent);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.toolbar-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  color: #fff;
  border-color: var(--border-strong);
}

.filter-btn.active {
  background: var(--current-accent);
  color: var(--text-invert);
  border-color: var(--current-accent);
  font-weight: 700;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* View Mode Switcher (Grid vs Index) */
.view-mode-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.2rem;
}

.view-btn {
  padding: 0.35rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-radius: 4px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.view-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ==========================================================================
   Works / Portfolio Grid (Pentagram + Bittercreek + Arty Coders)
   ========================================================================== */
.works-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1.5rem;
  position: relative;
  z-index: 10;
}

/* Grid Layout */
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem 2rem;
  transition: opacity 0.3s ease;
}

/* Work Card */
.work-card {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.work-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 30px -10px var(--border-glow);
}

/* Card Sizing Variants (Editorial Rhythm like Pentagram) */
.work-card.col-span-12 { grid-column: span 12; }
.work-card.col-span-8  { grid-column: span 8; }
.work-card.col-span-6  { grid-column: span 6; }
.work-card.col-span-4  { grid-column: span 4; }

.work-media-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111115;
}

.work-card.col-span-12 .work-media-wrap { height: 560px; }
.work-card.col-span-8 .work-media-wrap  { height: 480px; }
.work-card.col-span-6 .work-media-wrap  { height: 420px; }
.work-card.col-span-4 .work-media-wrap  { height: 380px; }

.work-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo), filter 0.4s ease;
}

.work-card:hover .work-media {
  transform: scale(1.05);
}

/* Card Overlay & Glare */
.work-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 12, 0) 40%,
    rgba(10, 10, 12, 0.8) 100%
  );
  transition: opacity 0.3s ease;
}

.work-category-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  z-index: 2;
  transition: all 0.3s ease;
}

.work-card[data-discipline="design"] .work-category-badge {
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--accent-design);
}
.work-card[data-discipline="photography"] .work-category-badge {
  border-color: rgba(255, 170, 0, 0.4);
  color: var(--accent-photo);
}
.work-card[data-discipline="prints"] .work-category-badge {
  border-color: rgba(255, 42, 95, 0.4);
  color: var(--accent-prints);
}

.work-year-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(10px);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  z-index: 2;
}

.work-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  z-index: 3;
}

.work-client-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.work-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.work-card:hover .work-title {
  color: #fff;
}

.work-card[data-discipline="design"]:hover .work-title { color: var(--accent-design); }
.work-card[data-discipline="photography"]:hover .work-title { color: var(--accent-photo); }
.work-card[data-discipline="prints"]:hover .work-title { color: var(--accent-prints); }

.work-snippet {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-meta-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.meta-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Index / List View (Pentagram & Nothin' Typographic Table)
   ========================================================================== */
.works-index-view {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.works-index-view.active {
  display: flex;
}

.works-grid.hidden {
  display: none;
}

.index-row {
  display: grid;
  grid-template-columns: 80px 2.5fr 1.5fr 1fr 1fr auto;
  align-items: center;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background 0.2s ease, padding 0.2s ease;
  position: relative;
}

.index-row:hover {
  background: rgba(255, 255, 255, 0.03);
  padding-left: 1.5rem;
}

.index-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.index-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.index-row:hover .index-title {
  color: var(--current-accent);
}

.index-client {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.index-discipline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.index-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.index-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.index-row:hover .index-arrow {
  transform: translateX(6px);
  color: #fff;
}

/* Floating Hover Preview Thumbnail (Nothin' & Pentagram Inspired) */
.index-hover-preview {
  position: fixed;
  width: 320px;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  pointer-events: none;
  z-index: 9990;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out-expo);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--border-glow);
  border: 1px solid var(--border-strong);
}

.index-hover-preview.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.index-hover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Special Section Featurette: The Darkroom / Photography Mode
   ========================================================================== */
.darkroom-featurette {
  margin: 1.5rem 0 2rem;
  background: radial-gradient(circle at 80% 20%, rgba(255, 170, 0, 0.08) 0%, rgba(18, 18, 24, 0.9) 70%);
  border: 1px solid rgba(255, 170, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.darkroom-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.darkroom-title-wrap h3 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.darkroom-title-wrap p {
  color: var(--text-secondary);
  max-width: 600px;
  margin-top: 0.5rem;
}

.darkroom-toggle-group {
  display: flex;
  gap: 0.75rem;
}

.darkroom-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.darkroom-btn.active {
  background: var(--accent-photo);
  color: #000;
  font-weight: 700;
}

.darkroom-canvas-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.darkroom-viewer {
  position: relative;
  height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #000;
  cursor: crosshair;
}

.darkroom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.darkroom-loupe {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid var(--accent-photo);
  box-shadow: 0 0 25px rgba(255, 170, 0, 0.5), inset 0 0 15px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.darkroom-viewer:hover .darkroom-loupe {
  opacity: 1;
}

.darkroom-specs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.exif-card {
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.exif-card h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-photo);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.exif-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.exif-item {
  display: flex;
  flex-direction: column;
}

.exif-key {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.exif-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

/* ==========================================================================
   Prints & Silkscreen Studio Featurette
   ========================================================================== */
.prints-featurette {
  margin: 1.5rem 0 2rem;
  background: radial-gradient(circle at 20% 80%, rgba(255, 42, 95, 0.08) 0%, rgba(18, 18, 24, 0.9) 70%);
  border: 1px solid rgba(255, 42, 95, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.prints-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.prints-header h3 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.prints-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.print-edition-card {
  background: rgba(10, 10, 12, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.print-edition-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-prints);
}

.print-edition-thumb {
  height: 280px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  background: #111;
}

.print-edition-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.print-edition-card:hover .print-edition-thumb img {
  transform: scale(1.06);
}

.print-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.print-desc {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Case Study Modal / Drawer (Full Experience)
   ========================================================================== */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.modal-sheet {
  position: relative;
  z-index: 1;
  width: 95vw;
  max-width: 1200px;
  max-height: 90vh;
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 40px var(--border-glow);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s var(--ease-out-expo);
}

.case-modal.active .modal-sheet {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: sticky;
  top: 1.5rem;
  right: 1.5rem;
  margin-left: auto;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--current-accent);
  color: #000;
  transform: rotate(90deg);
}

.modal-body {
  padding: 2.5rem 3.5rem 4.5rem;
}

.modal-header-section {
  margin-bottom: 2.5rem;
}

.modal-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-discipline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--current-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal-client {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}

.modal-hero-media {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 3rem;
  background: #000;
  border: 1px solid var(--border-subtle);
}

.modal-hero-media img {
  width: 100%;
  display: block;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.modal-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.modal-description p + p {
  margin-top: 1.5rem;
}

.modal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-box {
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.sidebar-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--current-accent);
  margin-bottom: 0.75rem;
}

.sidebar-content {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.5;
}

.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.modal-gallery-grid img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: #111;
}

.modal-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.modal-nav-btn {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.modal-nav-btn:hover {
  color: #fff;
  border-color: var(--border-strong);
}

/* ==========================================================================
   About / Philosophy Section (Nothin' & Pentagram Inspired)
   ========================================================================== */
.about-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 3.5rem 2rem 3.5rem;
  position: relative;
  z-index: 10;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.about-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--current-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.about-headline {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-content p strong {
  color: #fff;
}

.clients-bar {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.clients-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0;
}

.clients-logos {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  padding-top: 5px;
}

.client-logo-item {
  height: 28px;
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.client-logo-item:hover {
  opacity: 1;
}

.client-logo-item img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(0.9);
  transition: filter 0.3s ease;
}

.client-logo-item:hover img {
  filter: brightness(0) invert(1);
}

.client-logo-text {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.client-logo-item:hover .client-logo-text {
  color: #fff;
}

/* ==========================================================================
   Contact / Let's Talk Section
   ========================================================================== */
.contact-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.contact-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-content,
.contact-left {
  max-width: 1100px;
}

.contact-content h2,
.contact-left h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.75rem;
}

.contact-content p,
.contact-left p {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 960px;
  margin-bottom: 2.75rem;
  line-height: 1.65;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-link-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 1.05rem;
}

.contact-link-label {
  color: var(--text-muted);
  width: 90px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.contact-link-val {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.contact-link-val:hover {
  color: var(--current-accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #08080a;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
}

.footer-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: var(--current-accent);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Adaptations & Mobile Architecture
   ========================================================================== */

/* Tablet Landscape & Medium Desktops (<= 1200px) */
@media (max-width: 1200px) {
  .work-card.col-span-8,
  .work-card.col-span-6,
  .work-card.col-span-4 {
    grid-column: span 6;
  }
  .prints-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Portrait & Large Foldables (<= 900px) */
@media (max-width: 900px) {
  .header-container,
  .hero-content,
  .toolbar-container,
  .works-section,
  .about-section,
  .contact-container,
  .footer-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .nav-explore-link {
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-disciplines {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .work-card.col-span-12,
  .work-card.col-span-8,
  .work-card.col-span-6,
  .work-card.col-span-4 {
    grid-column: span 12;
  }

  .work-card.col-span-12 .work-media-wrap,
  .work-card.col-span-8 .work-media-wrap,
  .work-card.col-span-6 .work-media-wrap,
  .work-card.col-span-4 .work-media-wrap {
    height: clamp(260px, 48vw, 360px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .modal-details-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .modal-body {
    padding: 2rem 2rem 3rem;
  }

  .modal-gallery-grid {
    grid-template-columns: 1fr;
  }

  .index-row {
    grid-template-columns: 40px 1.5fr 1fr auto;
  }

  .index-client,
  .index-year {
    display: none;
  }

  /* Disable hover previews on touch devices */
  .index-hover-preview {
    display: none !important;
    pointer-events: none;
  }
}

/* Small Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
  /* Section Toolbar: Header & View Switch on top, scrollable filter chips below */
  .section-toolbar {
    padding: 0.75rem 0;
  }

  .toolbar-container {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "heading toggle"
      "filters filters";
    gap: 0.75rem 1rem;
    align-items: center;
  }

  .toolbar-left {
    display: contents;
  }

  .toolbar-heading {
    grid-area: heading;
    font-size: 1.15rem;
  }

  .toolbar-right {
    grid-area: toggle;
  }

  .toolbar-filters {
    grid-area: filters;
    width: 100%;
    overflow-x: auto;
    display: flex;
    gap: 0.5rem;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .toolbar-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    padding: 0.42rem 0.85rem;
    font-size: 0.76rem;
  }

  /* Single-column prints featurette cards on tablet/mobile */
  .prints-cards-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .print-edition-card {
    padding: 0.85rem;
  }

  .print-edition-thumb {
    height: clamp(260px, 65vw, 360px);
  }

  .prints-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Case study modal becomes an immersive, fullscreen mobile sheet */
  .modal-sheet {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    transform: translateY(100%);
  }

  .case-modal.active .modal-sheet {
    transform: translateY(0);
  }

  .modal-close-btn {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .modal-body {
    padding: 1.75rem 1.25rem 3rem;
  }

  .modal-title {
    font-size: clamp(1.75rem, 5.5vw, 2.5rem);
    margin-bottom: 1.25rem;
  }

  .modal-hero-media {
    margin-bottom: 2rem;
  }

  .modal-details-grid {
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .modal-nav-row {
    padding-top: 1.5rem;
    gap: 0.75rem;
  }

  .modal-nav-btn {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 0.85rem;
    font-size: 0.78rem;
  }
}

/* Standard Mobile Viewports (<= 640px: iPhone Pro, Galaxy, Pixel) */
@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .header-container,
  .hero-content,
  .toolbar-container,
  .works-section,
  .about-section,
  .contact-container,
  .footer-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Header */
  .nav-explore-link {
    display: none; /* Hide middle shortcut on phones so logo and Let's Talk have generous room */
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .btn-contact {
    padding: 0.42rem 0.95rem;
    font-size: 0.8rem;
  }

  /* Hero */
  .hero-section {
    padding: calc(var(--header-height) + 2rem) 0 3.25rem;
    min-height: auto;
  }

  .hero-pretitle {
    font-size: 0.78rem;
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7.8vw, 3.2rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
  }

  .hero-tagline {
    font-size: 1.12rem;
    line-height: 1.6;
  }

  .hero-disciplines {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .discipline-label {
    font-size: 0.92rem;
  }

  .discipline-desc {
    font-size: 0.7rem;
  }

  /* Works Grid */
  .works-section {
    padding-top: 2rem;
  }

  .works-grid {
    gap: 1.75rem;
  }

  .work-card.col-span-12 .work-media-wrap,
  .work-card.col-span-8 .work-media-wrap,
  .work-card.col-span-6 .work-media-wrap,
  .work-card.col-span-4 .work-media-wrap {
    height: clamp(210px, 56vw, 300px);
  }

  .work-info {
    padding: 0.85rem 0.15rem 0;
  }

  .work-title {
    font-size: 1.35rem;
  }

  .work-meta {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  /* Client Logos */
  .clients-logos {
    gap: 1.5rem 2rem;
    justify-content: flex-start;
  }

  .client-logo-item {
    height: 24px;
  }

  .client-logo-item img {
    max-width: 130px;
  }

  /* About / Studio Ethos */
  .about-section {
    padding: 3rem 1.25rem;
  }

  .about-left h2 {
    font-size: clamp(1.85rem, 6.5vw, 2.75rem);
  }

  .about-content {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  /* Contact Section */
  .contact-section {
    padding: 3.5rem 0 4rem;
  }

  .contact-content h2,
  .contact-left h2 {
    font-size: clamp(2rem, 6.8vw, 3.2rem);
    margin-bottom: 1.25rem;
  }

  .contact-content p,
  .contact-left p {
    font-size: 1.08rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .contact-link-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .contact-link-label {
    width: auto;
  }

  .contact-link-val {
    font-size: 1.1rem;
    word-break: break-all;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-socials {
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
  }

  /* Intro Curtain Loading Screen */
  .intro-logo-wrap {
    width: min(78vw, 240px);
    height: min(48vh, 320px);
  }

  .intro-stage {
    gap: 1.75rem;
    padding: 0 1.25rem;
  }

  .intro-meta-status {
    max-width: 140px;
    font-size: 0.64rem;
  }
}

/* Compact Mobile Viewports (<= 440px: iPhone Standard & Mini) */
@media (max-width: 440px) {
  .hero-disciplines {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .discipline-item {
    flex-direction: row;
    align-items: baseline;
    gap: 0.6rem;
  }

  /* Index list view adapts to compact mobile width */
  .index-row {
    grid-template-columns: 24px 1fr auto;
    padding: 0.75rem 0.25rem;
  }

  .index-discipline {
    display: none;
  }

  .index-num {
    font-size: 0.75rem;
  }

  .index-title {
    font-size: 0.95rem;
  }

  .clients-logos {
    gap: 1.25rem 1.75rem;
  }

  .client-logo-item {
    height: 22px;
  }

  .client-logo-item img {
    max-width: 110px;
  }

  .intro-logo-wrap {
    width: min(74vw, 205px);
    height: min(44vh, 275px);
  }

  .intro-stage {
    gap: 1.5rem;
  }

  .intro-meta-status {
    max-width: 120px;
    font-size: 0.6rem;
  }

  .intro-coords {
    display: none;
  }
}

/* Ultra-Compact Screens (<= 360px: iPhone SE, Galaxy Z Fold Cover) */
@media (max-width: 360px) {
  .header-container,
  .hero-content,
  .toolbar-container,
  .works-section,
  .about-section,
  .contact-container,
  .footer-container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .btn-contact {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .intro-logo-wrap {
    width: min(70vw, 175px);
    height: min(38vh, 235px);
  }

  .modal-body {
    padding: 1.25rem 0.85rem 2.5rem;
  }

  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================================
   Cinematic Site Intro Curtain & Masked Logo Loading Screen
   ========================================================================== */
.site-intro-curtain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
  user-select: none;
  cursor: default;
  transition: transform 0.85s cubic-bezier(0.85, 0, 0.15, 1);
  will-change: transform;
}

.site-intro-curtain.curtain-up {
  transform: translateY(-100%);
  pointer-events: none;
}

body.intro-active {
  overflow: hidden !important;
}

.intro-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  z-index: 2;
  transition: opacity 0.4s ease, transform 0.5s ease;
}

/* Center Logo Wrapper (3 Alarm Pure Flame Emblem) */
.intro-logo-wrap {
  width: min(72vw, 300px);
  height: min(56vh, 424px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: introLogoFloat 4s ease-in-out infinite alternate;
}

@keyframes introLogoFloat {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-6px) scale(1.015); }
}

.intro-logo-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Pure Solid Vector Brand Graphic (3 Alarm No Fill Emblem) */
.intro-flame-path,
.intro-ring-path,
.intro-numeral-path {
  fill: #f15523;
}

/* Pixelated Reveal Canvas */
.intro-pixel-canvas {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Dedicated Silkscreen Halftone / Pixelated Dissolve Reveal */
.site-intro-curtain.revealing-pixel {
  background: transparent !important;
  pointer-events: none;
}
.site-intro-curtain.revealing-pixel .intro-stage {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.38s ease, transform 0.45s ease;
}

/* Hero Background Image Counter-Parallax on Reveal */
body.intro-active .hero-media-wrap {
  transform: scale(1.08) translateY(-25px);
}
body.site-revealed .hero-media-wrap {
  transform: scale(1) translateY(0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Studio Loading Box */
.intro-loader-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}

.intro-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted, #8a8a93);
}

.intro-meta-label {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.12em;
}

.intro-meta-status {
  color: rgba(241, 85, 35, 0.9);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 210px;
}

.intro-percent {
  font-weight: 700;
  color: #ffffff;
  font-feature-settings: 'tnum';
  min-width: 36px;
  text-align: right;
}

/* Linear Progress Bar Track */
.intro-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.intro-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f15523, #ff7a45);
  box-shadow: 0 0 12px rgba(241, 85, 35, 0.8), 0 0 20px rgba(255, 122, 69, 0.5);
  border-radius: 999px;
  transition: width 0.08s linear;
}

.intro-sub-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
  padding-top: 0.25rem;
}

.intro-coords {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
}


