/*
Theme Name: Krutant Iyer Portfolio
Theme URI: https://contentforb2b.com
Author: Krutant Iyer
Author URI: https://contentforb2b.com
Description: Film noir portfolio theme for Krutant Iyer — AI Content Strategist & Filmmaker
Version: 1.0.0
License: Private
Text Domain: krutant
*/

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --bg:           #080808;
  --bg-elevated:  #0F0F0F;
  --bg-surface:   #141414;
  --text-primary: #F0EEE9;
  --text-secondary:#AAAAAA;
  --text-muted:   #666666;
  --text-faint:   #9c9c9c;
  --accent:       #8B0000;
  --accent-light: #B22222;
  --accent-glow:  rgba(139,0,0,0.18);
  --white:        #F0EEE9;
  --divider:      #1E1E1E;
  --divider-mid:  #2A2A2A;
  --max-width:    860px;
  --nav-h:        68px;
  --grain-opacity: 0.045;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: none; }

/* ============================================================
   GRAIN OVERLAY
============================================================ */
#grain {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none; z-index: 9998;
  opacity: var(--grain-opacity);
}

/* ============================================================
   CUSTOM CURSOR
============================================================ */
#cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--white);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.15s;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(240,238,233,0.25);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
#cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: var(--accent);
  background: var(--accent-glow);
}
#cursor-ring.clicking {
  width: 28px; height: 28px;
}

/* ============================================================
   MOUSE LIGHT
============================================================ */
#mouse-light {
  position: fixed;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,238,233,0.055) 0%, rgba(240,238,233,0.02) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  filter: blur(20px);
  transition: opacity 0.4s ease;
}

/* ============================================================
   FILM NOIR BACKGROUND — moving blobs (B&W + crimson)
============================================================ */
#noir-bg {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none; overflow: hidden;
}
.n-blob {
  position: absolute; border-radius: 50%;
  filter: blur(140px);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.n-blob-1 { width: 800px; height: 800px; background: #1A1A1A; opacity: 0.7; top: -300px; left: -200px; animation: nb1 20s infinite alternate ease-in-out; }
.n-blob-2 { width: 600px; height: 600px; background: #141414; opacity: 0.8; top: 50%; right: -150px; animation: nb2 25s infinite alternate ease-in-out; }
.n-blob-3 { width: 500px; height: 500px; background: #111; opacity: 0.7; bottom: -100px; left: 25%; animation: nb3 30s infinite alternate ease-in-out; }
.n-blob-4 { width: 300px; height: 300px; background: var(--accent); opacity: 0.04; top: 30%; left: 20%; animation: nb4 22s infinite alternate ease-in-out; }
.n-blob-5 { width: 250px; height: 250px; background: var(--accent); opacity: 0.03; bottom: 20%; right: 25%; animation: nb5 18s infinite alternate ease-in-out; }

@keyframes nb1 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(100px,80px) scale(1.1)} }
@keyframes nb2 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-80px,100px) scale(1.15)} }
@keyframes nb3 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(60px,-80px) scale(1.2)} }
@keyframes nb4 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-50px,60px) scale(1.3)} }
@keyframes nb5 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(40px,-40px) scale(0.85)} }

/* ============================================================
   HORIZONTAL SCAN LINES (film noir texture)
============================================================ */
#scanlines {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  opacity: 0.4;
}

/* ============================================================
   NAVIGATION
============================================================ */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--divider);
  z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  transition: border-color 0.3s;
}
#site-nav.scrolled {
  border-bottom-color: var(--divider-mid);
}
.nav-logo {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--text-primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
}
.nav-logo::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-logo:hover::after { width: 100%; }

.nav-links {
  display: flex; gap: 44px; list-style: none;
}
.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  background: none; border: none;
}

/* Mobile overlay */
#mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 950;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 52px;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--text-primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
#mobile-nav a:hover { color: var(--accent); }
#mobile-nav .close-btn {
  position: absolute; top: 28px; right: 40px;
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--text-muted);
  letter-spacing: 2px; background: none; border: none;
  text-transform: uppercase;
}

/* ============================================================
   LAYOUT PRIMITIVES
============================================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 36px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 36px; }

section, .page-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--divider);
  position: relative; z-index: 10;
}
section:last-of-type, .page-section:last-of-type { border-bottom: none; }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--accent);
}

.section-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 44px;
  color: var(--text-primary);
  line-height: 1.12;
  margin-bottom: 48px;
}

/* ============================================================
   REVEAL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-36px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   BUTTONS
============================================================ */
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 36px;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.btn-ghost::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--white);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  z-index: -1;
}
.btn-ghost:hover { color: var(--bg); border-color: var(--white); }
.btn-ghost:hover::before { transform: scaleX(1); }

.btn-crimson {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 36px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--text-primary);
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  position: relative; overflow: hidden;
}
.btn-crimson::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  z-index: -1;
}
.btn-crimson:hover { color: var(--white); }
.btn-crimson:hover::before { transform: scaleX(1); }

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  padding: 160px 0 88px;
  border-bottom: 1px solid var(--divider);
  position: relative; z-index: 10;
}
.page-hero-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--text-faint);
  letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 28px; display: flex; align-items: center; gap: 12px;
}
.page-hero-label::before {
  content: ''; display: inline-block;
  width: 20px; height: 1px; background: var(--accent);
}
.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 68px;
  color: var(--white); line-height: 1.04;
  margin-bottom: 28px;
}
.page-hero-sub {
  font-size: 18px; color: var(--text-secondary);
  max-width: 580px; line-height: 1.75;
}

/* ============================================================
   HOMEPAGE HERO
============================================================ */
#hero {
  height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--divider);
  padding: 0; z-index: 10;
}
.hero-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 32px;
  padding: 0 36px;
}
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 12px; color: var(--text-muted);
  letter-spacing: 5px; text-transform: uppercase;
  opacity: 0; animation: fadeUp 0.6s ease 0.3s forwards;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 92px;
  color: var(--white); line-height: 1.03;
  min-height: 2.1em; position: relative;
}
/* Crimson underline on headline words */
.hero-headline .hl {
  position: relative; display: inline-block;
}
.hero-headline .hl::after {
  content: '';
  position: absolute; bottom: 4px; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  animation: lineReveal 0.5s ease 2.8s forwards;
}
.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px; color: var(--text-secondary);
  max-width: 540px; line-height: 1.75;
  opacity: 0;
}
.hero-buttons {
  display: flex; gap: 20px; flex-wrap: wrap;
  justify-content: center; opacity: 0;
}
.hero-meta {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--text-faint);
  letter-spacing: 3px; opacity: 0;
}
/* Vertical scroll hint */
.scroll-hint {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 0.5s ease 3.2s forwards;
  z-index: 3;
}
.scroll-hint span {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 3px; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lineReveal { to { transform: scaleX(1); } }

.cursor-blink {
  display: inline-block; width: 3px; height: 0.82em;
  background: var(--white); margin-left: 3px;
  vertical-align: middle;
  animation: blink 0.85s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ============================================================
   ABOUT SECTION
============================================================ */
#about {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--divider);
}
.about-bg-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.about-bg-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.1) brightness(0.45);
  display: block;
}
.about-bg-image::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to right,
    var(--bg) 0%,
    rgba(8,8,8,0.5) 28%,
    rgba(8,8,8,0.5) 72%,
    var(--bg) 100%
  );
}
.about-bg-image::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    transparent 18%,
    transparent 82%,
    var(--bg) 100%
  );
}
#about .container { position: relative; z-index: 2; }
.about-content { max-width: 580px; margin-left: auto; }
.about-content-inner { position: relative; padding-left: 28px; }
.about-content-inner::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}
.about-content p {
  color: var(--text-secondary);
  margin-bottom: 22px;
  font-size: 16.5px;
}
.about-strip {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--text-faint);
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--divider);
  line-height: 1.9;
}

/* ============================================================
   WORK PREVIEW (homepage)
============================================================ */
.work-item {
  display: block;
  border-top: 1px solid var(--divider);
  padding: 40px 0;
  text-decoration: none;
  position: relative; overflow: hidden;
  cursor: none;
  transition: background 0.25s;
}
.work-item:last-of-type { border-bottom: 1px solid var(--divider); }
.work-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.work-item:hover::before { transform: scaleY(1); }
.work-item:hover { background: rgba(139,0,0,0.03); }

.work-item-inner {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 32px; align-items: center;
  padding-left: 20px;
}
.wi-num {
  font-family: 'DM Mono', monospace;
  font-size: 52px; color: var(--divider-mid);
  line-height: 1; user-select: none;
}
.wi-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 26px;
  color: var(--text-primary); line-height: 1.2;
  transition: color 0.2s;
}
.work-item:hover .wi-title { color: var(--white); }
.wi-company {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-top: 6px;
}
.wi-metrics {
  font-family: 'DM Mono', monospace;
  font-size: 12px; color: var(--text-muted);
  letter-spacing: 1px; text-align: right;
}
.wi-arrow {
  font-size: 20px; color: var(--text-faint);
  transition: color 0.2s, transform 0.2s;
  margin-left: 16px;
}
.work-item:hover .wi-arrow { color: var(--accent); transform: translateX(5px); }

/* ============================================================
   FRAMEWORKS PREVIEW (homepage)
============================================================ */
.fw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--divider);
  border: 1px solid var(--divider);
}
.fw-block {
  background: var(--bg);
  padding: 36px;
  transition: background 0.25s;
}
.fw-block:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--divider); }
.fw-block:hover { background: var(--bg-elevated); }
.fw-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 22px;
  color: var(--text-primary); margin-bottom: 12px;
}
.fw-desc {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 20px;
}
.fw-link {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--text-faint);
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--text-faint);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.fw-link:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   SERVICES PREVIEW (homepage)
============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.svc-block {
  padding: 44px 40px;
  border-right: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  transition: background 0.25s;
  position: relative; overflow: hidden;
}
.svc-block:nth-child(2n) { border-right: none; }
.svc-block:nth-child(3), .svc-block:nth-child(4) { border-bottom: none; }
.svc-block:hover { background: var(--bg-elevated); }
.svc-block::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--accent);
  transition: height 0.35s cubic-bezier(0.22,1,0.36,1);
}
.svc-block:hover::after { height: 100%; }

.svc-num {
  font-family: 'DM Mono', monospace;
  font-size: 36px; color: var(--text-faint);
  line-height: 1; margin-bottom: 20px;
}
.svc-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 22px;
  color: var(--text-primary); margin-bottom: 8px;
}
.svc-for {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 1.5px; display: block;
  margin-bottom: 16px; text-transform: uppercase;
}
.svc-desc {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 20px;
}
.svc-deliverable {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 1px; display: block; margin-bottom: 20px;
}
.svc-link {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--text-faint);
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--text-faint);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.svc-link:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   CONTACT SECTION
============================================================ */
#contact { text-align: center; }
.contact-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 52px;
  color: var(--white); line-height: 1.1;
  margin-bottom: 20px;
}
.contact-sub {
  font-size: 17px; color: var(--text-secondary);
  max-width: 520px; margin: 0 auto 48px;
  line-height: 1.75;
}
.calendly-wrap { margin-bottom: 36px; }
.contact-linkedin {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--text-muted);
  letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  border-bottom: 1px solid var(--text-faint);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.contact-linkedin:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   WORK PAGE — CASE BLOCKS
============================================================ */
.case-block {
  border-top: 1px solid var(--divider);
  position: relative;
  cursor: none;
  transition: background 0.25s;
}
.case-block:last-child { border-bottom: 1px solid var(--divider); }
.case-block::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.case-block.open::before, .case-block:hover::before { transform: scaleY(1); }
.case-block:hover { background: rgba(139,0,0,0.025); }

.case-header {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 32px; align-items: start;
  padding: 48px 0 32px;
  cursor: pointer;
}
.case-number {
  font-family: 'DM Mono', monospace;
  font-size: 72px; color: var(--divider-mid);
  line-height: 1; user-select: none;
}
.case-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 30px;
  color: var(--text-primary); line-height: 1.2;
  margin-bottom: 8px; transition: color 0.2s;
}
.case-block:hover .case-title { color: var(--white); }
.case-company {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 16px;
}
.case-metrics {
  font-family: 'DM Mono', monospace;
  font-size: 13px; color: var(--text-secondary);
  letter-spacing: 1px; margin-bottom: 8px;
}
.toggle-row { display: flex; align-items: center; gap: 8px; }
.toggle-icon {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 1.5px; transition: color 0.2s;
}
.case-block:hover .toggle-icon { color: var(--text-muted); }

.case-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.22,1,0.36,1);
  padding-left: 120px;
}
.case-body.open { max-height: 500px; }
.case-body-inner { padding-bottom: 48px; }
.case-body-inner p {
  font-size: 16px; color: var(--text-secondary);
  margin-bottom: 20px; line-height: 1.8;
}
.case-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--divider-mid);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.case-link:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* ============================================================
   FRAMEWORKS PAGE
============================================================ */
.fw-section-full {
  padding: 88px 0;
  border-bottom: 1px solid var(--divider);
  position: relative; z-index: 10;
}
.fw-section-full:last-of-type { border-bottom: none; }
.fw-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px; align-items: start;
}
.fw-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 3.5px; text-transform: uppercase;
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.fw-tag::before {
  content: ''; display: inline-block;
  width: 16px; height: 1px; background: var(--accent);
}
.fw-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 36px;
  color: var(--text-primary); line-height: 1.15;
  margin-bottom: 20px;
}
.fw-body {
  font-size: 16.5px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 24px;
}
.fw-sidebar-box {
  background: var(--bg-surface);
  border: 1px solid var(--divider);
  padding: 28px;
}
.fsb-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 16px; display: block;
}
.fsb-item {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--text-muted);
  letter-spacing: 1px; padding: 10px 0;
  border-bottom: 1px solid var(--divider);
  line-height: 1.5;
}
.fsb-item:last-child { border-bottom: none; }

/* Coming soon */
.fw-coming {
  border-top: 1px dashed var(--divider-mid);
  padding: 80px 0; text-align: center;
}
.fw-coming-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 20px; display: block;
}
.fw-coming-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 28px;
  color: var(--text-faint); margin-bottom: 8px;
}
.fw-coming-sub {
  font-size: 15px; color: var(--text-faint);
}

/* ============================================================
   SERVICES PAGE
============================================================ */
.svc-full-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--divider);
  position: relative; z-index: 10;
}
.svc-full-section:last-of-type { border-bottom: none; }
.svc-full-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px; align-items: start;
}
.svc-full-num {
  font-family: 'DM Mono', monospace;
  font-size: 80px; color: var(--divider-mid);
  line-height: 1; margin-bottom: 20px;
}
.svc-full-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 36px;
  color: var(--text-primary); line-height: 1.15;
  margin-bottom: 8px;
}
.svc-full-for {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 1.5px; font-style: italic;
  display: block; margin-bottom: 28px;
  text-transform: uppercase;
}
.svc-full-desc {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 24px;
}
.svc-deliv-box {
  background: var(--bg-surface);
  border: 1px solid var(--divider);
  border-left: 2px solid var(--accent);
  padding: 24px 24px 24px 28px;
  margin-bottom: 32px;
}
.sdel-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 10px; display: block;
}
.sdel-text {
  font-family: 'DM Mono', monospace;
  font-size: 12px; color: var(--text-muted);
  letter-spacing: 1px; line-height: 1.7;
}
.svc-sidebar-box { padding-top: 96px; }
.ssb-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
}
.ssb-item:first-child { border-top: 1px solid var(--divider); }
.ssb-q {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 1.5px; margin-bottom: 5px;
  text-transform: uppercase;
}
.ssb-a { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   BRAND FILMS PAGE
============================================================ */
.manifesto-section { padding: 88px 0; border-bottom: 1px solid var(--divider); position: relative; z-index: 10; }
.manifesto-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 30px;
  color: var(--text-primary); line-height: 1.55;
  max-width: 700px;
}
.manifesto-text em { color: var(--text-muted); font-style: normal; }

.featured-film-section { padding: 88px 0; border-bottom: 1px solid var(--divider); position: relative; z-index: 10; }
.video-wrap {
  position: relative; width: 100%;
  padding-bottom: 56.25%;
  background: var(--bg-surface);
  border: 1px solid var(--divider);
  overflow: hidden;
}
.video-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: none;
}
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg) 100%);
}
.vp-icon {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--divider-mid);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: border-color 0.2s;
}
.vp-icon svg { fill: var(--text-faint); margin-left: 4px; }
.vp-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 3px; text-transform: uppercase;
}
.film-meta-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--divider); border-top: none;
  margin-bottom: 32px;
}
.fmr-item {
  padding: 18px 22px;
  border-right: 1px solid var(--divider);
}
.fmr-item:last-child { border-right: none; }
.fmr-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 5px;
}
.fmr-value { font-size: 14px; color: var(--text-muted); }

.films-grid-section { padding: 88px 0; border-bottom: 1px solid var(--divider); position: relative; z-index: 10; }
.films-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--divider);
}
.film-block { background: var(--bg); }
.film-video-wrap {
  position: relative; width: 100%;
  padding-bottom: 56.25%;
  background: var(--bg-surface);
}
.film-video-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: none;
}
.film-video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.fvp-num {
  font-family: 'DM Mono', monospace;
  font-size: 48px; color: var(--divider-mid); line-height: 1;
}
.fvp-text {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 2.5px; text-transform: uppercase; margin-top: 8px;
}
.film-info { padding: 22px; border-top: 1px solid var(--divider); }
.fi-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 19px;
  color: var(--text-primary); margin-bottom: 4px;
}
.fi-meta {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 2px; text-transform: uppercase;
}

.process-section-films { padding: 88px 0; border-bottom: 1px solid var(--divider); position: relative; z-index: 10; }
.process-steps { margin-top: 48px; }
.process-step {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 32px; padding: 40px 0;
  border-top: 1px solid var(--divider); align-items: start;
}
.process-step:last-child { border-bottom: 1px solid var(--divider); }
.ps-num {
  font-family: 'DM Mono', monospace;
  font-size: 40px; color: var(--divider-mid); line-height: 1;
}
.ps-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 24px;
  color: var(--text-primary); margin-bottom: 8px;
}
.ps-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.8; }

.films-cta { padding: 120px 0; text-align: center; position: relative; z-index: 10; }
.films-cta-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 48px;
  color: var(--white); line-height: 1.1; margin-bottom: 20px;
}
.films-cta-sub {
  font-size: 17px; color: var(--text-secondary);
  margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto;
}

/* ============================================================
   FOOTER
============================================================ */
#site-footer {
  border-top: 1px solid var(--divider);
  padding: 44px 36px;
  text-align: center;
  position: relative; z-index: 10;
}
#site-footer p {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 2.5px; text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor-dot, #cursor-ring, #mouse-light { display: none; }
  #site-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-headline { font-size: 52px; }
  .hero-sub { font-size: 16px; }
  .page-hero-title { font-size: 44px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { border-right: none; margin-right: 0; margin-bottom: 48px; }
  .about-photo-wrap img { height: 280px; }
  .fw-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-block { border-right: none; }
  .contact-headline { font-size: 36px; }
  .case-header { grid-template-columns: 60px 1fr; gap: 20px; }
  .case-number { font-size: 52px; }
  .case-body { padding-left: 80px; }
  .fw-inner { grid-template-columns: 1fr; }
  .fw-sidebar-box { display: none; }
  .svc-full-inner { grid-template-columns: 1fr; }
  .svc-sidebar-box { padding-top: 0; }
  .work-item-inner { grid-template-columns: 56px 1fr; }
  .wi-metrics { display: none; }
  .films-grid { grid-template-columns: 1fr; }
  .film-meta-row { grid-template-columns: 1fr; }
  .fmr-item { border-right: none; border-bottom: 1px solid var(--divider); }
  .manifesto-text { font-size: 22px; }
  .films-cta-title { font-size: 34px; }
  .section-headline { font-size: 34px; }
  .process-step { grid-template-columns: 44px 1fr; gap: 16px; }
}
