/* ============================================================
   ERNEST KISSEH-ANGMLER — Personal Portfolio
   Style: Dark Cinematic · Editorial · Film-Forward
   ============================================================ */

/* --- FONTS ------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&family=Space+Mono:ital@0;1&display=swap');

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

:root {
  /* Apple Pro Color Palette */
  --bg:                 #000000;      /* Pure Apple Pro Cinema Black */
  --bg-2:               #0c0c0e;      /* Elevated Shelf Background */
  --bg-3:               #161617;      /* Apple Card Canvas */
  --apple-canvas:       #000000;
  --apple-card:         #161617;
  --apple-card-hover:   #1d1d1f;
  --apple-card-border:  rgba(255, 255, 255, 0.09);
  --apple-card-border-hover: rgba(255, 255, 255, 0.24);
  
  --card-bg:            #161617;
  --card-surface:       #1d1d1f;
  --card-border:        rgba(255, 255, 255, 0.09);
  --card-border-hover:  rgba(255, 255, 255, 0.24);
  --card-radius:        22px;         /* Apple continuous curvature */
  --apple-radius-card:  22px;
  --apple-radius-pill:  980px;        /* Apple signature pill */
  --pill-radius:        980px;

  /* Typography & Accents */
  --apple-text-primary:   #f5f5f7;    /* Apple signature silver-white */
  --apple-text-secondary: #86868b;    /* Apple signature muted grey */
  --apple-text-tertiary:  #6e6e73;
  --text:                 #f5f5f7;
  --text-dim:             #86868b;
  --text-faint:           #6e6e73;

  --apple-blue:         #2997ff;      /* Apple Pro Neon Blue */
  --apple-blue-hover:   #0077ed;
  --accent:             #c8933a;      /* Cinematic warm amber / gold */
  --accent-light:       #e0ad52;
  --accent-dim:         #9a6e27;
  --accent-glow:        rgba(200, 147, 58, 0.25);

  --sans:               'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --serif:              'Cormorant Garamond', Georgia, serif;
  --mono:               'Space Mono', SFMono-Regular, Menlo, monospace;

  --max-w:              1340px;
  --gutter:             clamp(1.5rem, 5vw, 4.5rem);
  --section-gap:        9rem;
  --transition:         0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --apple-blur:         saturate(180%) blur(20px);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- SELECTION --------------------------------------------- */
::selection { background: var(--apple-blue); color: #fff; }

/* --- SCROLLBAR --------------------------------------------- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2c2c2e; border-radius: 980px; }

/* --- APPLE TWO-TONE HEADLINES & TYPOGRAPHY ---------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(3.2rem, 7.5vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }

.apple-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--apple-blue);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.apple-eyebrow.gold { color: var(--accent); }

.apple-section-headline {
  font-family: var(--sans);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.headline-bold {
  color: var(--apple-text-primary);
  font-weight: 700;
}

.headline-muted {
  color: var(--apple-text-secondary);
  font-weight: 400;
  transition: color 0.3s ease;
}

p { max-width: 62ch; }
p + p { margin-top: 1em; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--apple-blue); }

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

/* --- UTILITIES --------------------------------------------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent); }
.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); font-size: 0.8em; }
.text-dim { color: var(--text-dim); }
.text-faint { color: var(--text-faint); }

.label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--apple-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.divider {
  width: 2.5rem;
  height: 2px;
  background: var(--apple-blue);
  margin: 2rem 0;
  border-radius: 980px;
}

/* --- BUTTONS (APPLE PILL SYSTEM) -------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.85rem;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: var(--apple-radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  position: relative;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: #f5f5f7;
  color: #000;
  border-color: #f5f5f7;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.12);
}
.btn-primary:hover {
  background: #ffffff;
  color: #000;
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-outline {
  color: var(--apple-text-primary);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-outline:hover {
  border-color: var(--apple-blue);
  color: #fff;
  background: rgba(41, 151, 255, 0.12);
  transform: scale(1.02);
}

.btn-blue {
  background: var(--apple-blue);
  color: #ffffff;
  border-color: var(--apple-blue);
  font-weight: 600;
}
.btn-blue:hover {
  background: var(--apple-blue-hover);
  border-color: var(--apple-blue-hover);
  color: #fff;
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(41, 151, 255, 0.35);
}

.btn-ghost {
  color: var(--apple-text-primary);
  border-color: rgba(255, 255, 255, 0.15);
  padding: 0.55rem 1.35rem;
  font-size: 0.78rem;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--apple-blue);
  color: #fff;
  background: rgba(41, 151, 255, 0.1);
}

/* --- NAV (APPLE PRO TRANSLUCENT GLOBAL BAR) ---------------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: var(--apple-blur);
  -webkit-backdrop-filter: var(--apple-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s ease;
  height: 52px;
}

#nav.scrolled {
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-logo {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f5f5f7;
  display: flex;
  align-items: center;
}
.nav-logo span { color: var(--apple-blue); margin-left: 1px; }

/* Status pulse pill (Apple style) */
.nav-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--apple-text-secondary);
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.7);
  animation: pulse-green 2.2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(48, 209, 88, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--apple-text-secondary);
  transition: color var(--transition);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a:hover,
.nav-links a.active { color: #f5f5f7; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* --- APPLE SEGMENTED THEME SWITCHER ----------------------- */
.apple-theme-segmented {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--apple-radius-pill);
  padding: 3px;
  gap: 2px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.theme-seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.72rem;
  border-radius: var(--apple-radius-pill);
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--apple-text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.theme-seg-btn svg {
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity var(--transition);
}

.theme-seg-btn:hover {
  color: #ffffff;
}
.theme-seg-btn:hover svg {
  opacity: 1;
}

.theme-seg-btn.active {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.theme-seg-btn.active svg {
  opacity: 1;
}

/* Mobile Theme Bar in Drawer */
.mobile-theme-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.mobile-theme-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--apple-text-secondary);
  font-weight: 600;
}

.nav-cta-btn {
  font-size: 0.76rem;
  padding: 0.45rem 1.1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

/* --- HERO (APPLE STORE & APPLE TV+ SHOWCASE) ---------------- */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) 4.5rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(20, 20, 24, 0.6) 0%, #000000 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Apple Floating Pill Badges (Reference: Apple TV+ Hero) */
.apple-hero-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.95rem;
  flex-wrap: wrap;
}

.apple-hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.apple-hero-pill-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--apple-text-secondary);
}

/* Apple Pro Restrained Headline Scale (Reference: Apple TV+ Hero Screenshot) */
.hero-name,
.apple-hero-headline,
.apple-hero-title {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.028em;
  max-width: 25ch;
  margin: 0 0 0.65rem 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.apple-hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(0.88rem, 1.15vw, 1.02rem);
  color: var(--apple-text-secondary);
  font-weight: 400;
  line-height: 1.5;
  max-width: 48ch;
  margin-bottom: 1.4rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

/* Apple Hero Action & Video Controls Row */
.apple-hero-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Apple Solid White Pill Button (Reference: 'Try it free' in Apple screenshot) */
.apple-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--apple-radius-pill);
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  user-select: none;
}
.apple-btn-white:hover {
  background: #e5e5e7;
  border-color: #e5e5e7;
  color: #000000;
  transform: scale(1.02);
}

/* Apple Translucent Glass Pill Button (Reference: 'Learn more' in Apple screenshot) */
.apple-btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  user-select: none;
}
.apple-btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: scale(1.02);
}

/* Apple Video Controls (Round Pause Button like Apple screenshot + Sound Pill) */
.apple-video-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.apple-ctrl-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--apple-radius-pill);
  background: rgba(20, 20, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--apple-text-secondary);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.apple-ctrl-pill:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(30, 30, 34, 0.85);
}

.apple-sound-bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 10px;
}
.apple-sound-bars span {
  width: 2px;
  height: 100%;
  background: var(--apple-blue);
  border-radius: 1px;
  animation: appleSoundWave 1s ease-in-out infinite;
}
.apple-sound-bars span:nth-child(2) { animation-delay: 0.2s; height: 60%; }
.apple-sound-bars span:nth-child(3) { animation-delay: 0.4s; height: 85%; }
.apple-sound-bars.muted span {
  animation: none;
  height: 3px;
  background: var(--apple-text-tertiary);
}

@keyframes appleSoundWave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

.apple-ctrl-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.apple-ctrl-circle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 4rem;
  background: var(--text-faint);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- SECTION HEADER & APPLE TWO-TONE SYSTEM --------------- */
.section-header { margin-bottom: 3.5rem; }
.section-header h2 { margin-top: 0.5rem; }

/* --- APPLE QUICK SHELF (HORIZONTAL CATEGORY TRACK) -------- */
.apple-shelf-nav-wrap {
  padding: 1rem 0 2.5rem;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.apple-shelf-nav-wrap::-webkit-scrollbar { display: none; }

.apple-shelf-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: max-content;
}

.shelf-pill {
  padding: 0.55rem 1.25rem;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--apple-text-secondary);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.shelf-pill:hover,
.shelf-pill.active {
  background: #f5f5f7;
  color: #000;
  border-color: #f5f5f7;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* --- SECTION SPACING --------------------------------------- */
section { padding: var(--section-gap) 0; }

/* --- STATS STRIP ------------------------------------------- */
#stats {
  background: var(--bg-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-num {
  font-family: var(--sans);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--apple-text-primary);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apple-text-secondary);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* --- WORK / PROJECTS (SKYVE ARCHITECTURAL GRID) ----------- */
#work { background: var(--bg); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.8rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border-hover);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.85), 0 0 25px rgba(200, 147, 58, 0.12);
}

/* 12-Column Balanced Architecture for all 12 Projects */
.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:nth-child(3) { grid-column: span 5; }
.project-card:nth-child(4) { grid-column: span 7; }
.project-card:nth-child(5) { grid-column: span 4; }
.project-card:nth-child(6) { grid-column: span 4; }
.project-card:nth-child(7) { grid-column: span 4; }
.project-card:nth-child(8) { grid-column: span 6; }
.project-card:nth-child(9) { grid-column: span 6; }
.project-card:nth-child(10) { grid-column: span 4; }
.project-card:nth-child(11) { grid-column: span 4; }
.project-card:nth-child(12) { grid-column: span 4; }
.project-card:nth-child(n+13) { grid-column: span 4; }

.project-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  border-top-left-radius: var(--card-radius);
  border-top-right-radius: var(--card-radius);
  filter: contrast(1.02) brightness(0.96);
  transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px dashed var(--text-faint);
  border-top-left-radius: var(--card-radius);
  border-top-right-radius: var(--card-radius);
  transition: border-color 0.3s;
}

.project-img-placeholder svg {
  width: 2rem;
  height: 2rem;
  opacity: 0.2;
}

.project-img-placeholder span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.project-card:hover .project-img {
  filter: contrast(1.06) brightness(1.02);
  transform: scale(1.03);
}
.project-card:hover .project-img-placeholder { border-color: var(--accent); }

/* APPLE PEDESTAL INFO BLOCK: Clean, completely below the image, NO FROSTED GLASS BLOCKING PHOTO */
.project-info {
  padding: 1.4rem 1.6rem 1.6rem;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  flex: 1;
  transition: background var(--transition);
}

/* Ensure no absolute overlay blocks the image */
.project-card.has-img .project-info {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--pill-radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--apple-blue);
  margin-bottom: 0.6rem;
  width: fit-content;
}

.project-title {
  font-family: var(--sans);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.22;
  letter-spacing: -0.025em;
  transition: color var(--transition);
}
.project-card:hover .project-title {
  color: #fff;
}

.project-role {
  font-size: 0.8rem;
  color: var(--apple-text-secondary);
  margin-top: 0.4rem;
  letter-spacing: -0.01em;
}

.project-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: translateY(0.3rem) scale(0.92);
  transition: all var(--transition);
  z-index: 6;
}

.project-card:hover .project-arrow {
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: var(--apple-blue);
  color: var(--apple-blue);
  background: rgba(0, 113, 227, 0.15);
}

/* --- ABOUT ------------------------------------------------- */
#about { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: 8rem;
}

.portrait-frame {
  position: relative;
}

.portrait-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border: 1px solid rgba(200, 147, 58, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.portrait-img:hover {
  transform: scale(1.02);
  border-color: var(--accent);
}

.portrait-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-3);
  border: 1px dashed var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-faint);
}

.portrait-placeholder svg { width: 3rem; height: 3rem; opacity: 0.15; }
.portrait-placeholder span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; }

.portrait-credit {
  position: absolute;
  bottom: -1.5rem;
  right: 0;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.about-text {}

.about-body {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text);
  line-height: 1.85;
}

.about-body .big-quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  color: #fff;
  line-height: 1.3;
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}

.about-details {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-detail-item h4 {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--mono);
  margin-bottom: 0.4rem;
}

.about-detail-item p {
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: none;
}

/* --- SERVICES (SKYVE CAPABILITY CARDS) -------------------- */
#services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-item {
  padding: 3rem 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  margin: 0;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.service-item:hover {
  background: var(--card-surface);
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.service-item:hover::before { width: 100%; }

.service-num {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color var(--transition);
}
.service-num::after {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: rgba(200, 147, 58, 0.4);
}

.service-title {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #fff;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: none;
}

.service-tools {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tool {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--pill-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  text-transform: uppercase;
  transition: all var(--transition);
}
.service-item:hover .service-tool {
  border-color: rgba(200, 147, 58, 0.3);
  color: var(--text);
}

/* --- ORIGINAL PRODUCTIONS & VENTURES (APPLE BENTO CARDS) -- */
#originals { background: var(--bg); }

.originals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.original-card {
  position: relative;
  overflow: hidden;
  background: var(--apple-card);
  border: 1px solid var(--apple-card-border);
  border-radius: var(--apple-radius-card);
  padding: 2.4rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.original-card:hover {
  transform: translateY(-5px);
  border-color: var(--apple-card-border-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.original-bg {
  position: absolute;
  right: 1.5rem;
  bottom: 1rem;
  font-family: var(--serif);
  font-size: 7.5rem;
  color: rgba(255, 255, 255, 0.03);
  font-style: italic;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
  transition: color 0.4s ease;
}
.original-card:hover .original-bg {
  color: rgba(200, 147, 58, 0.08);
}

.original-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  flex: 1;
}

.original-status {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 1.25rem;
  color: var(--apple-blue);
}

.original-status.active {
  color: #30d158;
  border-color: rgba(48, 209, 88, 0.35);
  background: rgba(48, 209, 88, 0.08);
}
.original-status.development {
  color: var(--accent-light);
  border-color: rgba(200, 147, 58, 0.35);
  background: rgba(200, 147, 58, 0.08);
}

.original-title {
  font-family: var(--sans);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
  display: block;
}

.original-desc {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--apple-text-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  max-width: 44ch;
}

/* --- AUDIENCE PROOF (SKYVE BENTO METRIC TILES) ------------ */
#proof { background: var(--bg); }

.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 4.5rem;
  align-items: center;
}

.proof-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.metric-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 2.2rem 2rem;
  position: relative;
  transition: all var(--transition);
}
.metric-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.metric-val {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}
.metric-val sup { font-size: 1.2rem; color: var(--accent); margin-left: 2px; }

.metric-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.6rem;
}

.metric-note {
  font-size: 0.74rem;
  color: var(--text-faint);
  margin-top: 0.6rem;
}

.metric-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(200, 147, 58, 0.14) 0%, rgba(200, 147, 58, 0.04) 100%);
  border: 1px solid rgba(200, 147, 58, 0.4);
}
.metric-card.featured .metric-val { color: var(--accent-light); }
.metric-card.featured sup { color: #fff; }
.metric-card.featured .metric-label { color: var(--text); }
.metric-card.featured .metric-note { color: var(--text-dim); }

.proof-content h2 { margin-bottom: 1.5rem; }

.proof-videos {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.proof-video-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: all var(--transition);
  cursor: pointer;
}
.proof-video-item:hover {
  background: var(--card-surface);
  border-color: var(--card-border-hover);
  transform: translateX(5px);
}

.proof-video-thumb {
  width: 5rem;
  height: 3.2rem;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.6rem;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-video-info {}

.proof-video-topic {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.proof-video-views {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}

/* --- TESTIMONIALS ------------------------------------------ */
#testimonials { background: var(--bg-2); }

.testimonial-placeholder {
  background: var(--bg-3);
  border: 1px dashed var(--text-faint);
  padding: 4rem;
  text-align: center;
}

.testimonial-placeholder p {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-faint);
  max-width: none;
  margin: 0 auto;
}

.testimonial-placeholder .ph-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* --- CONTACT (APPLE SPECIALIST & DIRECT COLLABORATION) ---- */
#contact {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

/* Apple Specialist / Direct Access Card */
.apple-specialist-card {
  background: linear-gradient(145deg, #161617 0%, #0e0e10 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--apple-radius-card);
  padding: 2.8rem 2.4rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.specialist-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.specialist-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--apple-blue);
  box-shadow: 0 4px 15px rgba(41, 151, 255, 0.25);
  flex-shrink: 0;
}

.specialist-title-wrap h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.specialist-title-wrap p {
  font-size: 0.8rem;
  color: var(--apple-text-secondary);
  margin-top: 0.2rem;
}

.specialist-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--apple-radius-pill);
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.3);
  color: #30d158;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.specialist-emails {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.email-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition);
}
.email-box:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--apple-blue);
  transform: translateY(-2px);
}
.email-box.primary {
  border-color: rgba(41, 151, 255, 0.3);
  background: rgba(41, 151, 255, 0.05);
}

.email-label-badge {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apple-text-secondary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}
.email-box.primary .email-label-badge { color: var(--apple-blue); }

.email-address {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}

.specialist-socials {
  display: flex;
  gap: 0.75rem;
}

.specialist-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--apple-text-secondary);
  font-size: 0.76rem;
  font-weight: 500;
  transition: all var(--transition);
}
.specialist-social-pill:hover {
  background: #f5f5f7;
  color: #000;
  border-color: #f5f5f7;
}

/* --- APPLE INQUIRY FORM ------------------------------------ */
.contact-form {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--apple-radius-card);
  padding: 2.8rem 2.4rem;
}
.contact-form h4 {
  color: #fff;
  margin-bottom: 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.form-group { margin-bottom: 1.4rem; }

.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--apple-text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  padding: 0.85rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 400;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: #161617; color: #fff; }

/* --- FOOTER ------------------------------------------------ */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--text-faint);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dim);
}
.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

.footer-copy {
  width: 100%;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--text-faint);
  margin-top: 2rem;
}

/* --- MOBILE NAV -------------------------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3.5rem);
  color: var(--text);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: var(--gutter);
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- PAGE: CASE STUDY -------------------------------------- */
.case-hero {
  padding: 12rem var(--gutter) 5rem;
  background: var(--bg-2);
}

.case-hero-meta {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.case-meta-item {}
.case-meta-item label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}
.case-meta-item span { font-size: 0.9rem; color: var(--text-dim); }

.case-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem var(--gutter);
}

.case-section { margin-bottom: 4rem; }
.case-section h3 { margin-bottom: 1.5rem; }
.case-section p { color: var(--text-dim); }

.case-media-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-3);
  border: 1px dashed var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  color: var(--text-faint);
}

.case-media-placeholder span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* CASE STUDY IMAGE FRAMES & GRIDS */
.case-hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 540px;
  overflow: hidden;
  border: 1px solid var(--text-faint);
  border-radius: 4px;
  margin-top: 3rem;
  background: var(--bg-3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}
.case-hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--text-faint);
  border-radius: 4px;
}
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.media-frame:hover img {
  transform: scale(1.04);
}
@media (max-width: 680px) {
  .media-grid { grid-template-columns: 1fr; }
}

/* --- ANIMATIONS (SNAPPY APPLE MOTION) --------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.02s; }
.fade-up:nth-child(3) { transition-delay: 0.04s; }
.fade-up:nth-child(4) { transition-delay: 0.06s; }
.fade-up:nth-child(5) { transition-delay: 0.08s; }
.fade-up:nth-child(6) { transition-delay: 0.10s; }

/* --- RESPONSIVE -------------------------------------------- */
@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-card:nth-child(n) { grid-column: span 1; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-portrait { position: static; }
  .proof-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --section-gap: 5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Mobile Hero: Clean, Restrained Apple Scale */
  #hero {
    min-height: 100svh;
    padding: 0 var(--gutter) 2.5rem;
    justify-content: flex-end;
  }
  .apple-hero-badges {
    margin-bottom: 0.65rem;
    gap: 0.4rem;
  }
  .apple-hero-pill-badge,
  .apple-hero-pill-secondary {
    font-size: 0.66rem;
    padding: 0.24rem 0.65rem;
  }
  .hero-name,
  .apple-hero-headline,
  .apple-hero-title {
    font-size: clamp(1.25rem, 4.2vw, 1.55rem) !important;
    line-height: 1.18;
    max-width: 20ch;
    letter-spacing: -0.02em;
    margin-bottom: 0.45rem;
  }
  .apple-hero-subtitle {
    font-size: 0.82rem;
    line-height: 1.42;
    max-width: 32ch;
    margin-bottom: 1.1rem;
  }
  .apple-hero-actions-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
  }
  .hero-cta {
    display: flex;
    gap: 0.55rem;
  }
  .apple-btn-white,
  .apple-btn-glass {
    padding: 0.52rem 1.15rem;
    font-size: 0.76rem;
  }
  .apple-ctrl-pill {
    padding: 0.32rem 0.72rem;
    font-size: 0.66rem;
  }
  .apple-ctrl-circle {
    width: 30px;
    height: 30px;
  }
  .hero-collage-block {
    margin-top: 1.5rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .project-card:nth-child(n) {
    grid-column: span 1 !important;
  }
  .originals-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .about-details { grid-template-columns: 1fr; }
  .proof-metrics { grid-template-columns: 1fr 1fr; }
  .metric-card.featured { grid-column: span 2; }
  .hero-scroll { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-name,
  .apple-hero-headline,
  .apple-hero-title {
    font-size: 1.22rem !important;
    line-height: 1.16;
  }
  .apple-hero-subtitle {
    font-size: 0.78rem;
  }
  .proof-metrics { grid-template-columns: 1fr; }
  .metric-card.featured { grid-column: span 1; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   HERO VIDEO REEL & KINETIC COLLAGE
   ============================================================ */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-iframe-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 */
  pointer-events: none;
  opacity: 0.85; /* Vivid visibility */
  filter: contrast(1.1) brightness(0.95) saturate(1.2);
  transition: opacity 0.8s ease;
}

.hero-video-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.5) 45%, rgba(10,10,10,0.1) 75%, rgba(10,10,10,0.25) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.45) 0%, transparent 35%, rgba(10,10,10,0.7) 85%, var(--bg) 100%);
  pointer-events: none;
}

.hero-film-scanline {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.08),
    rgba(0, 0, 0, 0.08) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* TEXT CONTRAST ENHANCEMENT FOR VIVID VIDEO */
.hero-name {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-sub p,
.hero-roles {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.hero-tag {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* HERO SOUND STATUS PILL */
.hero-sound-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  background: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  border-radius: 999px;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.hero-sound-pill:hover,
.hero-sound-pill.is-on {
  border-color: var(--accent);
  color: #fff;
  background: rgba(200, 147, 58, 0.22);
}

.sound-wave-bars {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 12px;
}

.sound-wave-bars span {
  width: 2px;
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
  animation: soundWave 1.1s ease-in-out infinite;
}

.sound-wave-bars span:nth-child(2) { animation-delay: 0.2s; height: 60%; }
.sound-wave-bars span:nth-child(3) { animation-delay: 0.4s; height: 85%; }

.sound-wave-bars.muted span {
  animation: none;
  height: 3px;
  background: var(--text-dim);
}

@keyframes soundWave {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}

/* FAST SLIDE COLLAGE SECTION */
.hero-collage-block {
  margin-top: 3.5rem;
  position: relative;
  z-index: 3;
}

.collage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.collage-heading {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.collage-heading span {
  color: var(--accent);
}

.collage-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.shuffle-btn {
  background: transparent;
  border: 1px solid var(--text-faint);
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
}

.shuffle-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.collage-carousel-wrap {
  position: relative;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0 1rem;
}

.collage-carousel-wrap::-webkit-scrollbar {
  display: none;
}

.collage-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

.collage-card {
  width: 290px;
  aspect-ratio: 16/10;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.collage-card:hover,
.collage-card.is-active {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(200, 147, 58, 0.2);
}

.collage-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%) contrast(1.1) brightness(0.85);
  transition: filter 0.4s ease, transform 0.6s ease;
}

.collage-card:hover .collage-card-img {
  filter: grayscale(0%) contrast(1.05) brightness(1);
  transform: scale(1.06);
}

.collage-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(10, 10, 10, 0.3) 40%, rgba(10, 10, 10, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  z-index: 2;
}

.collage-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.collage-role-badge {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(200, 147, 58, 0.4);
  color: var(--accent);
  border-radius: 2px;
}

.collage-play-trigger {
  width: 2rem;
  height: 2rem;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.25s ease;
}

.collage-card:hover .collage-play-trigger {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  transform: scale(1.1);
}

.collage-card-bottom {
  margin-top: auto;
}

.collage-category {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.collage-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.15;
  color: #fff;
  font-weight: 400;
}

/* CINEMA LIGHTBOX MODAL */
.cinema-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(24px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cinema-modal.is-open {
  display: flex;
  opacity: 1;
}

.cinema-modal-inner {
  width: 100%;
  max-width: 1100px;
  position: relative;
  animation: modalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.cinema-close-btn {
  position: absolute;
  top: -3rem;
  right: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.cinema-close-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.cinema-video-container {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.cinema-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.cinema-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cinema-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #fff;
}

.cinema-roles {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.project-card-video-trigger {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 5;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 0.42rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: var(--pill-radius);
  cursor: pointer;
  transition: all var(--transition);
}

.project-card-video-trigger svg {
  color: var(--accent);
  transition: color 0.2s;
}

.project-card:hover .project-card-video-trigger {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.project-card:hover .project-card-video-trigger svg {
  color: #000;
}

.instagram-embed {
  width: 100%;
  max-width: 540px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
}

.instagram-embed iframe {
  display: block;
  width: 100%;
  border: none;
}

/* APHRO PRODUCT PHOTOGRAPHY */
.aphro-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.aphro-image-card {
  margin: 0;
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 4 / 5;
}

.aphro-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.aphro-image-card:hover img {
  transform: scale(1.03);
}

/* APHRO ADVERTISING VIDEO */
.aphro-ad-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  margin-top: 1.5rem;
  background: #000;
}

/* MOBILE */
@media (max-width: 600px) {
  .aphro-image-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   APPLE LIGHT THEME & SYSTEM PREFERENCE SUPPORT
   Default: Cinema Black. Supports User Override & System Sync.
   ============================================================ */

/* Theme Toggle Button in Navigation */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.8rem;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f5f5f7;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.02);
}
.theme-toggle-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg:                 #f5f5f7;      /* Apple Store Canvas Light */
  --bg-2:               #ffffff;      /* Pure White Surface */
  --bg-3:               #ebebed;
  --apple-canvas:       #f5f5f7;
  --apple-card:         #ffffff;
  --apple-card-hover:   #fcfcfd;
  --apple-card-border:  rgba(0, 0, 0, 0.08);
  --apple-card-border-hover: rgba(0, 0, 0, 0.22);
  
  --card-bg:            #ffffff;
  --card-surface:       #f8f8fa;
  --card-border:        rgba(0, 0, 0, 0.08);
  --card-border-hover:  rgba(0, 0, 0, 0.22);

  --apple-text-primary:   #1d1d1f;    /* Apple Signature Black */
  --apple-text-secondary: #6e6e73;    /* Apple Muted Grey */
  --apple-text-tertiary:  #86868b;
  --text:                 #1d1d1f;
  --text-dim:             #6e6e73;
  --text-faint:           #86868b;

  --apple-blue:         #0071e3;      /* Apple Standard Blue */
  --apple-blue-hover:   #0077ed;
  --accent:             #9a6e27;      /* Rich Ochre in Light Mode */
}

/* Light Mode Overrides */
[data-theme="light"] body {
  background: var(--bg);
  color: var(--text);
}

[data-theme="light"] #nav {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
[data-theme="light"] #nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .nav-logo {
  color: #1d1d1f;
}
[data-theme="light"] .nav-links a {
  color: #6e6e73;
}
[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  color: #1d1d1f;
}
[data-theme="light"] .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
  color: #1d1d1f;
}
[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .headline-bold {
  color: #1d1d1f;
}
[data-theme="light"] .headline-muted {
  color: #6e6e73;
}
[data-theme="light"] .apple-lead-text,
[data-theme="light"] .apple-hero-subtitle {
  color: #6e6e73;
}
[data-theme="light"] .btn-primary {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
}
[data-theme="light"] .btn-primary:hover {
  background: #000000;
  color: #ffffff;
}
[data-theme="light"] .btn-outline {
  color: #1d1d1f;
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.03);
}
[data-theme="light"] .btn-outline:hover {
  border-color: var(--apple-blue);
  color: var(--apple-blue);
  background: rgba(0, 113, 227, 0.06);
}
[data-theme="light"] .project-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .project-card:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .project-title {
  color: #1d1d1f;
}
[data-theme="light"] .project-info {
  background: #ffffff;
}
[data-theme="light"] .project-tag {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
}
[data-theme="light"] .project-arrow {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.15);
  color: #1d1d1f;
}
[data-theme="light"] .shelf-pill {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #6e6e73;
}
[data-theme="light"] .shelf-pill:hover,
[data-theme="light"] .shelf-pill.active {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
}
[data-theme="light"] #stats {
  background: #ffffff;
  border-top-color: rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .stat-num {
  color: #1d1d1f;
}
[data-theme="light"] .apple-specialist-card {
  background: linear-gradient(145deg, #ffffff 0%, #f7f7f9 100%);
  border-color: rgba(0, 0, 0, 0.09);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .specialist-title-wrap h3 {
  color: #1d1d1f;
}
[data-theme="light"] .email-box {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .email-address {
  color: #1d1d1f;
}
[data-theme="light"] .specialist-social-pill {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #6e6e73;
}
[data-theme="light"] .specialist-social-pill:hover {
  background: #1d1d1f;
  color: #ffffff;
}
[data-theme="light"] .contact-form {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .contact-form h4 {
  color: #1d1d1f;
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
  background: #fbfbfd;
  border-color: rgba(0, 0, 0, 0.15);
  color: #1d1d1f;
}
[data-theme="light"] .form-group select option {
  background: #ffffff;
  color: #1d1d1f;
}
[data-theme="light"] .service-item {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .service-title {
  color: #1d1d1f;
}
[data-theme="light"] .service-tool {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #6e6e73;
}
[data-theme="light"] .metric-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .metric-val {
  color: #1d1d1f;
}
[data-theme="light"] .metric-card.featured {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.08) 0%, rgba(0, 113, 227, 0.02) 100%);
  border-color: rgba(0, 113, 227, 0.3);
}
[data-theme="light"] .metric-card.featured .metric-val {
  color: var(--apple-blue);
}
[data-theme="light"] .proof-video-item {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .proof-video-topic {
  color: #1d1d1f;
}
[data-theme="light"] .original-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .original-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}
[data-theme="light"] .original-title {
  color: #1d1d1f;
}
[data-theme="light"] .original-desc {
  color: #6e6e73;
}
[data-theme="light"] .original-bg {
  color: rgba(0, 0, 0, 0.03);
}
[data-theme="light"] .original-card:hover .original-bg {
  color: rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .btn-ghost {
  color: #1d1d1f;
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .btn-ghost:hover {
  background: rgba(0, 113, 227, 0.08);
  border-color: var(--apple-blue);
  color: var(--apple-blue);
}
[data-theme="light"] footer {
  background: #ffffff;
  border-top-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .about-body .big-quote {
  color: #1d1d1f;
}
[data-theme="light"] .apple-theme-segmented {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .theme-seg-btn {
  color: #6e6e73;
}
[data-theme="light"] .theme-seg-btn:hover {
  color: #1d1d1f;
}
[data-theme="light"] .theme-seg-btn.active {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .mobile-theme-bar {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .mobile-theme-label {
  color: #6e6e73;
}
[data-theme="light"] .apple-btn-white {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
}
[data-theme="light"] .apple-btn-white:hover {
  background: #000000;
  color: #ffffff;
}
[data-theme="light"] .apple-btn-glass {
  background: rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
  border-color: rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .apple-btn-glass:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.25);
  color: #1d1d1f;
}
[data-theme="light"] .apple-ctrl-pill {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.12);
  color: #1d1d1f;
}
[data-theme="light"] .apple-ctrl-circle {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.15);
  color: #1d1d1f;
}
[data-theme="light"] .apple-hero-pill-badge {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1d1d1f;
}
[data-theme="light"] .apple-hero-pill-secondary {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #6e6e73;
}
