/* ==========================================================================
   ROLLING FLOW — Dylan Wainman Freelance Portfolio
   Aesthetic: Sébastien Lempens & Bruno Simon inspired
   Obsidian, Electric Orange (#FF6B00), White & Cyan accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700;800&family=Syne:wght@600;700;800&display=swap');

:root {
  --bg-obsidian: #08090C;
  --bg-dark-1: #0D0F17;
  --bg-dark-2: #141722;
  --bg-surface-glass: rgba(14, 16, 24, 0.82);
  --bg-surface-card: rgba(22, 26, 38, 0.7);

  --orange-primary: #FF6B00;
  --orange-bright: #FF851A;
  --orange-glow: rgba(255, 107, 0, 0.4);
  --orange-glow-subtle: rgba(255, 107, 0, 0.15);

  --cyan-primary: #00D8FF;
  --cyan-glow: rgba(0, 216, 255, 0.35);

  --white: #FFFFFF;
  --text-main: #F2F5F9;
  --text-muted: #8E98AA;
  --text-subtle: #586072;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-light: rgba(255, 255, 255, 0.14);
  --border-orange: rgba(255, 107, 0, 0.5);

  --font-display: 'Syne', sans-serif;
  --font-ui: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
}

/* ==========================================================================
   1. THREE.JS VIEWPORT CANVAS
   ========================================================================== */
#webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  outline: none;
}

/* ==========================================================================
   2. LUXURY PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-obsidian);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-spinner-box {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 24px;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--orange-primary);
  animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.preloader-ring-inner {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite reverse;
}

.preloader-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.preloader-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange-primary);
  letter-spacing: 1.5px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   3. HUD CONTAINER & TOP NAVIGATION BAR
   ========================================================================== */
#hud-container {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.hud-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.85) 0%, rgba(8, 9, 12, 0) 100%);
  pointer-events: auto;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-link {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 107, 0, 0.45);
  box-shadow: 0 0 16px rgba(255, 107, 0, 0.25), inset 0 0 8px rgba(0, 0, 0, 0.5);
  background: #0d0f17;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s, box-shadow 0.25s;
  flex-shrink: 0;
  cursor: pointer;
}

.brand-logo-link:hover {
  transform: scale(1.08);
  border-color: #ff851a;
  box-shadow: 0 0 22px rgba(255, 107, 0, 0.55), 0 0 8px rgba(255, 133, 26, 0.4);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.15;
}

.brand-title span.freelance {
  color: var(--orange-primary);
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--orange-primary);
  opacity: 0.92;
}

.brand-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #00FF88;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00FF88;
  box-shadow: 0 0 8px #00FF88;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

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

.hud-time-badge {
  padding: 8px 14px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.hud-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass-light);
  color: var(--white);
  transform: translateY(-1px);
}

.hud-btn:active {
  transform: translateY(0);
}

.hud-btn.active {
  background: rgba(255, 107, 0, 0.2);
  border-color: var(--orange-primary);
  color: var(--orange-bright);
}

.hud-btn-admin {
  text-decoration: none;
  border-color: rgba(255, 107, 0, 0.4);
  color: var(--orange-bright);
}

.hud-btn-admin:hover {
  background: rgba(255, 107, 0, 0.25);
  border-color: var(--orange-primary);
  color: #ffffff;
}

/* Floating HUD Icon Cluster & Circular Buttons */
.hud-icon-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  font-size: 16px;
  padding: 0;
}

.hud-circle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--orange-primary);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.3);
}

.hud-circle-btn:active {
  transform: translateY(0) scale(0.98);
}

.hud-circle-btn.active {
  background: rgba(255, 107, 0, 0.25);
  border-color: var(--orange-primary);
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.5);
}

.hud-circle-admin {
  border-color: rgba(255, 107, 0, 0.45);
  background: rgba(255, 107, 0, 0.1);
}


/* ==========================================================================
   4. RADAR MINI-MAP (Top Right)
   ========================================================================= */
.radar-box {
  position: absolute;
  top: 76px;
  right: 24px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid var(--border-glass-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  overflow: hidden;
  pointer-events: auto;
}

#radar-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   5. DRIVE HINT OVERLAY
   ========================================================================= */
#drive-hint {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-orange);
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px var(--orange-glow-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

#drive-hint.fade-out {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
  pointer-events: none;
}

.key-badge {
  display: inline-block;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  font-weight: 700;
  color: var(--orange-bright);
}

/* ==========================================================================
   6. STATION PROXIMITY PROMPT
   ========================================================================= */
#station-prompt {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: rgba(14, 17, 26, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid var(--orange-primary);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 20px var(--orange-glow);
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  z-index: 20;
}

#station-prompt.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.prompt-icon {
  font-size: 20px;
  animation: pulse-icon 1.5s infinite;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.prompt-details {
  display: flex;
  flex-direction: column;
}

.prompt-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-bright);
  letter-spacing: 1px;
}

.prompt-title {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.prompt-action-btn {
  padding: 6px 12px;
  background: var(--orange-primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   7. BOTTOM TOUR DOCK (Cinematic Guided Tour & Warp Navigation)
   ========================================================================= */
#tour-dock {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-light);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
  pointer-events: auto;
  z-index: 15;
}

.tour-dock-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.tour-dock-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.tour-dock-btn.active {
  background: rgba(255, 107, 0, 0.18);
  border-color: var(--orange-primary);
  color: var(--white);
}

.dock-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-primary);
}

.dock-title {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Virtual joystick removed - autonomous wheelchair navigation active */
#touch-joystick-zone {
  display: none !important;
}
  .radar-box {
    top: 68px;
    right: 14px;
    width: 90px;
    height: 90px;
  }
  .hud-top-bar {
    padding: 12px 14px;
  }
  .brand-status-pill {
    display: none;
  }
  .brand-logo-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .brand-title {
    font-size: 15px;
  }
  .brand-subtitle {
    font-size: 8.5px;
    letter-spacing: 1.2px;
  }
  #tour-dock {
    bottom: 12px;
    width: 94%;
    justify-content: space-around;
    padding: 4px;
  }
  .tour-dock-btn {
    padding: 8px 10px;
    gap: 4px;
  }
  .dock-title {
    font-size: 11px;
  }
}

/* ==========================================================================
   9. SÉBASTIEN LEMPENS STYLE CASE STUDY & BIO MODALS
   ========================================================================= */
.modal-wrapper {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
  padding: 24px;
}

.modal-wrapper.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 12, 0.85);
  backdrop-filter: blur(24px);
  cursor: pointer;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  background: var(--bg-dark-1);
  border: 1px solid var(--border-glass-light);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 32px rgba(255, 107, 0, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
  scrollbar-width: thin;
  scrollbar-color: var(--orange-primary) var(--bg-dark-2);
}

.modal-wrapper.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-card::-webkit-scrollbar {
  width: 6px;
}
.modal-card::-webkit-scrollbar-thumb {
  background: var(--orange-primary);
  border-radius: 4px;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s var(--ease-out);
}

.modal-close-btn:hover {
  background: var(--orange-primary);
  transform: rotate(90deg);
}

/* Modal Content Aesthetics */
.modal-media-banner {
  position: relative;
  width: 100%;
  height: 280px;
  background: #000000;
  overflow: hidden;
}

.modal-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.av-banner-clickable:hover .modal-hero-img {
  transform: scale(1.04);
  opacity: 1;
}

.av-banner-clickable:hover .modal-play-cta-overlay {
  background: rgba(255, 51, 17, 0.95) !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 25px rgba(255, 51, 17, 0.8) !important;
}

.av-banner-clickable:hover .modal-play-cta-overlay span {
  color: #ffffff !important;
}

.modal-media-badge {
  position: absolute;
  bottom: 16px;
  left: 24px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.modal-media-badge.accent-orange {
  color: var(--orange-bright);
  border: 1px solid var(--orange-primary);
}

.modal-media-badge.accent-cyan {
  color: var(--cyan-primary);
  border: 1px solid var(--cyan-primary);
}

.modal-inner-padding {
  padding: 32px;
}

.modal-header-meta {
  margin-bottom: 24px;
}

.modal-category-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.modal-main-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.modal-lead-tagline {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.spec-card {
  padding: 14px 16px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 1px;
}

.spec-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.modal-section {
  margin-bottom: 24px;
}

.modal-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.modal-body-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.modal-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-bullet-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.modal-bullet-list li strong {
  color: var(--orange-primary);
}

.modal-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.modal-col-card {
  padding: 18px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
}

.col-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-bright);
  margin-bottom: 8px;
}

.modal-col-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.modal-footer-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.cta-primary-btn {
  padding: 14px 28px;
  background: var(--orange-primary);
  border: none;
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.cta-primary-btn:hover {
  background: var(--orange-bright);
  box-shadow: 0 6px 20px var(--orange-glow);
  transform: translateY(-2px);
}

.cta-secondary-btn {
  padding: 14px 22px;
  background: transparent;
  border: 1px solid var(--border-glass-light);
  border-radius: 10px;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.cta-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

/* About & Contact Modal Specifics */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.stat-box {
  padding: 16px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--orange-primary);
  margin-bottom: 4px;
}

.stat-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.contact-form-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ==========================================================================
   2B. REALISTIC CARTOON TECH BUILDING ENTRANCE & AUTOMATIC SLIDING DOORS
   ========================================================================== */
.building-entrance-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: #0b0e14;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s;
}

.building-entrance-overlay.opened {
  transform: scale(1.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ==========================================================================
   DESKTOP BUILDING FACADE STAGE (16:9 Widescreen)
   ========================================================================== */
.building-facade-stage {
  position: relative;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.building-facade-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.building-exterior-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: brightness(0.98) contrast(1.04);
  pointer-events: none;
}

/* Seamless Entrance Transition: zooms smoothly right through the doorway */
.building-entrance-overlay.doors-open {
  pointer-events: none;
}

.building-entrance-overlay.transitioning {
  transform: scale(2.4);
  transform-origin: 51% 60%;
  opacity: 0;
  pointer-events: none;
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   ARCHITECTURAL COMMERCIAL DOOR PORTAL & INTERACTION ZONE
   ========================================================================== */
.building-doors-portal {
  position: absolute;
  top: 35.0%;
  left: 30.2%;
  width: 42.4%;
  height: 53.5%;
  z-index: 10;
  cursor: pointer;
  pointer-events: auto;
  box-sizing: border-box;
}

/* ==========================================================================
   MOBILE & PORTRAIT RESPONSIVE EXTERIOR
   ========================================================================== */
@media (max-width: 768px) and (orientation: portrait), (max-width: 640px) {
  .building-facade-stage {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    min-width: 100vw;
  }

  .building-exterior-img {
    object-fit: cover;
    object-position: center bottom;
  }

  /* Mobile Door Portal Alignment */
  .building-doors-portal {
    top: 45.0%;
    left: 13.5%;
    width: 67.5%;
    height: 35.0%;
  }

  .building-entrance-overlay.transitioning {
    transform: scale(2.6);
    transform-origin: 47% 58%;
  }
}

/* Enter button / prompt fade out when doors open */
.doors-open .building-entrance-hud {
  opacity: 0;
  transform: translateX(-50%) translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ==========================================================================
   INITIAL NAVIGATION MENUS HIDDEN STATE
   Navigation menus stay completely hidden until visitor chooses welcome action
   ========================================================================== */
body.nav-hidden-initial .tour-progress-bar,
body.nav-hidden-initial #tour-dock,
body.nav-hidden-initial .radar-box,
body.nav-hidden-initial #drive-hint,
body.nav-hidden-initial #scroll-discover-hint {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s !important;
}

body.nav-hidden-initial .tour-progress-bar {
  transform: translateX(-50%) translateY(-26px) !important;
}

body.nav-hidden-initial #tour-dock {
  transform: translateX(-50%) translateY(32px) !important;
}

body.nav-hidden-initial .radar-box {
  transform: translateY(-22px) !important;
}

.tour-progress-bar,
#tour-dock,
.radar-box {
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

/* ==========================================================================
   DYLAN WAINMAN VIRTUAL STUDIO RECEPTION SPEECH BOX
   ========================================================================== */
.dylan-speech-dialogue {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  width: min(840px, 94vw);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dylan-speech-dialogue.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.speech-bubble-card {
  background: rgba(13, 17, 26, 0.94);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1.5px solid rgba(255, 107, 0, 0.35);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 107, 0, 0.18);
  display: flex;
  gap: 20px;
  align-items: center;
}

.speech-avatar-badge {
  position: relative;
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b2233 0%, #0d111a 100%);
  border: 2px solid #ff6b00;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.speech-avatar-thumb {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.avatar-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #00ff88;
  border-radius: 50%;
  border: 2px solid #0d111a;
  box-shadow: 0 0 8px #00ff88;
}

.speech-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.speech-speaker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
}

.speaker-name {
  color: #ff6b00;
  font-weight: 900;
  letter-spacing: 1px;
}

.speaker-title {
  color: #8b9bb3;
  font-weight: 600;
}

.speech-text {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.speech-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.speech-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #e2e8f0;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.speech-btn:hover {
  background: #ff6b00;
  border-color: #ff6b00;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.4);
}

.speech-btn.btn-learn-more:hover {
  background: #00d8ff;
  border-color: #00d8ff;
  box-shadow: 0 6px 18px rgba(0, 216, 255, 0.4);
}

@media (max-width: 768px) {
  .dylan-speech-dialogue {
    bottom: max(10px, env(safe-area-inset-bottom, 10px));
    width: min(520px, 94vw);
    max-width: 94vw;
  }
  .speech-bubble-card {
    padding: 10px 14px;
    gap: 10px;
    border-radius: 14px;
  }
  .speech-avatar-badge {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-width: 1.5px;
  }
  .avatar-online-dot {
    width: 9px;
    height: 9px;
    bottom: 0;
    right: 0;
  }
  .speech-speaker-label {
    font-size: 9.5px;
    gap: 6px;
  }
  .speaker-name {
    letter-spacing: 0.5px;
  }
  .speech-text {
    font-size: 12px;
    line-height: 1.35;
    max-height: 52px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .speech-action-buttons {
    gap: 6px;
    margin-top: 4px;
    max-height: 82px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .speech-btn {
    font-size: 10.5px;
    padding: 5px 10px;
    gap: 5px;
    border-radius: 8px;
    white-space: nowrap;
  }
  .speech-btn .btn-icon {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .dylan-speech-dialogue {
    bottom: max(8px, env(safe-area-inset-bottom, 8px));
    width: 95vw;
  }
  .speech-bubble-card {
    padding: 8px 11px;
    gap: 8px;
    border-radius: 12px;
  }
  .speech-avatar-badge {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
  .speech-speaker-label {
    font-size: 9px;
  }
  .speech-text {
    font-size: 11px;
    line-height: 1.3;
    max-height: 44px;
  }
  .speech-action-buttons {
    gap: 5px;
    margin-top: 3px;
    max-height: 72px;
  }
  .speech-btn {
    font-size: 9.5px;
    padding: 4px 8px;
    gap: 4px;
    border-radius: 7px;
  }
}


/* Enter Studio Button */
.building-entrance-hud {
  position: absolute;
  bottom: 4.5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.btn-enter-studio {
  background: linear-gradient(135deg, #ff8c00 0%, #ff5500 50%, #e63e00 100%);
  border: 2px solid #ffffff;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 800;
  padding: 14px 36px;
  border-radius: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(255, 85, 0, 0.65), 0 0 20px rgba(255, 120, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: enterBtnPulse 2.4s ease-in-out infinite;
}

@keyframes enterBtnPulse {
  0%, 100% {
    box-shadow: 0 8px 30px rgba(255, 85, 0, 0.6), 0 0 16px rgba(255, 120, 0, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 10px 42px rgba(255, 85, 0, 0.9), 0 0 28px rgba(255, 140, 0, 0.6);
    transform: scale(1.03);
  }
}

.btn-enter-studio:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 45px rgba(255, 85, 0, 0.95), 0 0 32px rgba(255, 140, 0, 0.7);
  background: linear-gradient(135deg, #ffa020 0%, #ff6200 50%, #f04800 100%);
}

.btn-enter-studio:active {
  transform: scale(0.97);
}

.entrance-subtext {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9);
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass-light);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange-primary);
  box-shadow: 0 0 10px var(--orange-glow-subtle);
}

/* ==========================================================================
   10. FULL UK ACCESSIBILITY / EXECUTIVE VIEW (WCAG 2.2 AA)
   ========================================================================== */
#accessible-executive-view {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #0B0D13;
  color: #F0F4F8;
  overflow-y: auto;
  display: none;
  padding: 40px 24px;
}

#accessible-executive-view.active {
  display: block;
}

.a11y-container {
  max-width: 900px;
  margin: 0 auto;
}

.a11y-header {
  border-bottom: 2px solid var(--orange-primary);
  padding-bottom: 24px;
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.a11y-header h1 {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--white);
  margin-bottom: 6px;
}

.a11y-section {
  margin-bottom: 48px;
}

.a11y-section h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--orange-primary);
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.a11y-project-card {
  padding: 24px;
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 20px;
}

.a11y-project-card h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 6px;
}

.a11y-tagline {
  font-size: 15px;
  color: #A6B0C3;
  margin-bottom: 12px;
}

/* Accessible Action Banner & Exit Buttons */
.a11y-action-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 32px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.45);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.a11y-mode-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: 0.5px;
}

.btn-return-3d {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff6b00;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.4);
  transition: all 0.25s ease;
}

.btn-return-3d:hover {
  background: #ff851a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

.a11y-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.a11y-badge {
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.4);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.a11y-bottom-bar {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.a11y-bottom-note {
  color: #94a3b8;
  font-size: 13px;
  font-family: var(--font-mono);
}


/* ==========================================================================
   9. TOP GUIDED TOUR CAMPUS BREADCRUMBS (Bilal & Sébastien style)
   ========================================================================== */
.tour-progress-bar {
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-light);
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
  z-index: 15;
}

.tour-dot-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 20px;
  transition: all 0.25s var(--ease-out);
}

.dot-bubble {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.25s var(--ease-out);
}

.dot-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: all 0.25s var(--ease-out);
}

.tour-dot-btn:hover .dot-bubble,
.tour-dot-btn:hover .dot-label {
  color: var(--white);
  border-color: var(--white);
}

.tour-dot-btn.active .dot-bubble {
  background: var(--orange-primary);
  border-color: var(--orange-bright);
  color: var(--white);
  box-shadow: 0 0 12px var(--orange-glow);
  transform: scale(1.1);
}

.tour-dot-btn.active .dot-label {
  color: var(--white);
  font-weight: 700;
}

.dot-connector {
  width: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   10. SCROLL TO DISCOVER HINT (Sébastien Lempens & Bilal style)
   ========================================================================== */
#scroll-discover-hint {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 10;
  opacity: 0.85;
  transition: opacity 0.5s;
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background: var(--orange-primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouse-scroll 1.6s infinite ease-in-out;
}

@keyframes mouse-scroll {
  0% { top: 6px; opacity: 1; }
  50% { top: 16px; opacity: 0.2; }
  100% { top: 6px; opacity: 1; }
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

/* ==========================================================================
   11. 2026 VIRTUAL WEB BROWSER & WORDPRESS PORTFOLIO ("DYLAN WAINMAN BROWSER")
   ========================================================================== */
.virtual-browser-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(5, 7, 12, 0.88);
  backdrop-filter: blur(28px) saturate(1.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.virtual-browser-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==========================================================================
   10B. FULL-SCREEN 2026 BROWSER UI (CONTINUOUS OPTICAL ZOOM TRANSITION)
   Seamless camera-to-screen expansion: scales smoothly from 3D screen into full-screen
   ========================================================================== */
.virtual-browser-overlay.full-screen-browser-mode {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9500;
  background: #151516;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.80);
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  will-change: transform, opacity;
}

.virtual-browser-overlay.full-screen-browser-mode.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.virtual-browser-overlay.full-screen-browser-mode.closing {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.76);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.36s ease, visibility 0.42s;
  pointer-events: none;
}

.browser-fullscreen-shell {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #151516;
  overflow: hidden;
  position: relative;
}

/* Prominent Close Portfolio Button */
.close-portfolio-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  font-family: var(--font-ui, sans-serif);
  font-size: 12px;
  font-weight: 750;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.close-portfolio-btn:hover {
  background: #f4ded4;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.close-btn-icon {
  font-size: 13px;
  font-weight: 900;
}

.close-btn-esc {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  opacity: 0.85;
  background: rgba(0, 0, 0, 0.28);
  padding: 1px 5px;
  border-radius: 4px;
}

.computer-monitor-chassis {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(1440px, 95vw);
  max-height: 96vh;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.virtual-browser-overlay.active .computer-monitor-chassis {
  transform: scale(1) translateY(0);
}

/* Outer Monitor Bezel (Space Gray / Anodized Aluminum with Precision Radii) */
.monitor-outer-bezel {
  width: 100%;
  background: linear-gradient(180deg, #2a313d 0%, #151922 45%, #0d1017 100%);
  border-radius: 22px;
  padding: 10px 14px 10px 14px;
  box-shadow: 
    0 35px 90px rgba(0, 0, 0, 0.9), 
    0 0 0 1.5px rgba(255, 255, 255, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 2px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* Top Webcam & Sensor Array */
.monitor-top-cam-bar {
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.monitor-mic-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #0a0d14;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.9), 0 0.5px 0.5px rgba(255, 255, 255, 0.2);
}

.monitor-webcam-lens {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1e293b 0%, #05070a 75%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  box-shadow: inset 0 0 3px rgba(0, 216, 255, 0.6), 0 0 2px rgba(0, 0, 0, 0.8);
}

.monitor-webcam-lens .lens-glint {
  position: absolute;
  top: 1.5px;
  left: 2px;
  width: 2.5px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

.monitor-status-led {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e, 0 0 2px #4ade80;
  animation: ledPulse 3s infinite ease-in-out;
}

@keyframes ledPulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

/* Inner Display Screen housing the browser window */
.monitor-display-screen {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25);
  display: flex;
}

.virtual-browser-window {
  width: 100%;
  height: min(74vh, 730px);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Bottom Monitor Chin with Precision Brushed Space-Gray Metal Finish */
.monitor-bottom-chin {
  height: 28px;
  background: linear-gradient(180deg, #1d2330 0%, #10141d 50%, #0c0f16 100%);
  margin-top: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.monitor-chin-left .monitor-brand-glyph {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #94a3b8;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.9);
}

.monitor-chin-center .monitor-retina-badge {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #64748b;
}

.monitor-chin-right .monitor-power-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  font-weight: 700;
  color: #00d8ff;
  letter-spacing: 0.8px;
}

.monitor-chin-right .power-glow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00d8ff;
  box-shadow: 0 0 6px #00d8ff, 0 0 2px #38bdf8;
}

/* Heavy Sculpted Aluminum Desktop Stand Assembly */
.monitor-stand-assembly {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.monitor-stand-neck {
  width: 110px;
  height: 38px;
  background: linear-gradient(90deg, #1a202c 0%, #334155 30%, #64748b 50%, #334155 70%, #1a202c 100%);
  margin-top: -2px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6), 0 8px 16px rgba(0, 0, 0, 0.6);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.monitor-stand-neck .stand-cable-pass {
  width: 44px;
  height: 12px;
  border-radius: 6px;
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.9);
}

.monitor-stand-base {
  width: 260px;
  height: 12px;
  background: linear-gradient(180deg, #475569 0%, #1e293b 50%, #0f172a 100%);
  border-radius: 7px 7px 3px 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Fullscreen Mode (When User Toggles [▢] Fullscreen) */
.computer-monitor-chassis.is-fullscreen {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
}

.computer-monitor-chassis.is-fullscreen .monitor-outer-bezel {
  border-radius: 0;
  padding: 0;
  height: 100vh;
  box-shadow: none;
  border: none;
}

.computer-monitor-chassis.is-fullscreen .monitor-top-cam-bar,
.computer-monitor-chassis.is-fullscreen .monitor-bottom-chin,
.computer-monitor-chassis.is-fullscreen .monitor-stand-assembly {
  display: none;
}

.computer-monitor-chassis.is-fullscreen .monitor-display-screen,
.computer-monitor-chassis.is-fullscreen .virtual-browser-window {
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  border: none;
}

/* Responsive Scaling for Smaller Viewports & Mobile */
@media (max-width: 900px) {
  .computer-monitor-chassis {
    width: 98vw;
    max-height: 98vh;
  }
  .monitor-outer-bezel {
    border-radius: 12px;
    padding: 6px 6px 6px 6px;
  }
  .virtual-browser-window {
    height: 82vh;
  }
  .monitor-stand-assembly {
    display: none;
  }
  .monitor-bottom-chin {
    height: 20px;
    padding: 0 8px;
  }
  .monitor-chin-center {
    display: none;
  }
}

/* ==========================================================================
   11. BESPOKE 2026 FLOW VIRTUAL BROWSER CHROME (MATTE DARK CARBON THEME)
   Matte dark #1b1b1e, dark tabs #222228, active #151516, white text, subtle borders
   ========================================================================== */
.browser-titlebar {
  height: 48px;
  background: #1b1b1e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 16px;
  user-select: none;
}

/* Custom Browser Brand & Prism Glyph */
.custom-browser-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: #24242a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.browser-brand-prism {
  color: #ff5500;
  font-size: 15px;
  font-weight: 800;
}

.browser-brand-name {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #ffffff;
}

.brand-ver {
  color: #ff5500;
  font-size: 10px;
  font-weight: 800;
  margin-left: 3px;
}

/* Browser Tabs Strip */
.browser-tabs-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 680px;
  overflow-x: auto;
}

.b-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #222228;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  color: #9a9aa4;
  font-family: var(--font-ui, sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.b-tab:hover {
  background: #2a2a32;
  color: #ffffff;
}

.b-tab.active {
  background: #151516;
  border-color: rgba(255, 255, 255, 0.2);
  border-top: 3px solid #ffffff;
  color: #ffffff;
  font-weight: 750;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}

.tab-badge-live {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Right Header Utilities */
.browser-titlebar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wp-admin-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #24242a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wp-admin-pill-link:hover {
  background: #ffffff;
  color: #000000;
}

/* Browser Nav Bar & Encrypted Omnibox */
.browser-nav-bar {
  height: 50px;
  background: #18181b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.browser-nav-arrows {
  display: flex;
  gap: 6px;
}

.b-nav-btn {
  width: 32px;
  height: 32px;
  background: #24242a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.b-nav-btn:hover {
  background: #ffffff;
  color: #000000;
}

.b-nav-btn.spinning {
  animation: rotate-spin 0.5s linear infinite;
}

@keyframes rotate-spin {
  100% { transform: rotate(360deg); }
}

.browser-url-omnibox {
  flex: 1;
  height: 36px;
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: #ffffff;
  gap: 8px;
}

.ssl-lock-icon {
  color: #10b981;
  font-size: 13px;
}

.ssl-encryption-badge {
  font-size: 9.5px;
  font-weight: 750;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
}

.url-protocol {
  color: #6e6e78;
}

.url-domain {
  color: #ffffff;
  font-weight: 700;
}

.url-path {
  color: #ff5500;
  font-weight: 700;
}

.latency-badge {
  font-size: 10px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 1px 7px;
  border-radius: 4px;
  margin-left: auto;
}

.wp-api-indicator {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #ea580c;
  background: rgba(255, 85, 0, 0.08);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 85, 0, 0.25);
}

.api-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ea580c;
  box-shadow: 0 0 6px rgba(234, 88, 12, 0.6);
  animation: pulse-api 1.8s infinite;
}

@keyframes pulse-api {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Viewport Switcher Tools */
.browser-viewport-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vp-label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  color: #64748b;
  font-weight: 700;
}

.vp-btn {
  background: #141a26;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 5px 10px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
}

.vp-btn:hover {
  background: #1c2436;
  color: #ffffff;
}

.vp-btn.active {
  background: #ff5500;
  border-color: #ff5500;
  color: #ffffff;
  font-weight: 750;
  box-shadow: 0 2px 10px rgba(255, 85, 0, 0.4);
}

/* Browser Viewport Frame */
.browser-viewport-container {
  flex: 1;
  overflow: hidden;
  background: #08090d;
  display: flex;
  justify-content: center;
  align-items: stretch;
  transition: all 0.3s ease;
  position: relative;
}

.browser-viewport-container.vp-tablet .browser-content-viewport,
.browser-viewport-container.vp-tablet .browser-live-iframe {
  max-width: 840px;
  margin: 0 auto;
  border-left: 2px solid #cbd5e1;
  border-right: 2px solid #cbd5e1;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.22);
}

.browser-viewport-container.vp-mobile .browser-content-viewport,
.browser-viewport-container.vp-mobile .browser-live-iframe {
  max-width: 440px;
  margin: 0 auto;
  border-left: 2px solid #cbd5e1;
  border-right: 2px solid #cbd5e1;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.22);
}

.browser-live-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
  display: block;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.browser-content-viewport {
  flex: 1;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  scroll-behavior: smooth;
}

/* ==========================================================================
   2026 WEB DESIGN PORTFOLIO (TABLET COLOUR SCHEME: WHITE, ORANGE & BLACK)
   White Background, Orange Headings, Orange Sub-Headings, Orange Buttons/Tabs, Black Text
   ========================================================================== */
.vsite-page {
  padding: 36px 36px 80px 36px;
  color: #0f172a;
  background: #ffffff;
  font-family: var(--font-ui, sans-serif);
  max-width: 1380px;
  margin: 0 auto;
}

/* Hero Section */
.vsite-hero {
  margin-bottom: 32px;
  position: relative;
}

.vsite-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 85, 0, 0.08);
  border: 1px solid rgba(255, 85, 0, 0.35);
  border-radius: 24px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 750;
  color: #ff5500;
  margin-bottom: 16px;
}

.hero-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5500;
  box-shadow: 0 0 8px #ff5500;
  animation: pulse-hero 2s infinite;
}

@keyframes pulse-hero {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Orange Main Headings */
.vsite-hero-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  color: #ff5500;
  line-height: 1.2;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

/* Orange Sub-Headings */
.vsite-hero-sub {
  font-size: 18px;
  font-weight: 700;
  color: #ff6600;
  line-height: 1.45;
  margin: 0 0 14px 0;
}

/* Black Body Text */
.vsite-hero-intro {
  font-size: 15px;
  color: #0f172a;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 0 24px 0;
}

/* Telemetry Benchmark Strip */
.vsite-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.vsite-stat-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.vsite-stat-item:hover {
  transform: translateY(-2px);
  border-color: #ff5500;
  box-shadow: 0 6px 18px rgba(255, 85, 0, 0.1);
}

.vsite-stat-item .stat-number {
  font-family: var(--font-display, sans-serif);
  font-size: 28px;
  font-weight: 850;
  color: #ff5500;
  letter-spacing: -0.5px;
}

.vsite-stat-item .stat-label {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 750;
  color: #0f172a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ==========================================================================
   PROJECT CYCLER & SHOWCASE COMPONENT (2026 UX)
   ========================================================================== */
.vsite-cycler-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 28px;
}

.vsite-cycle-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Orange Cycle Buttons */
.vsite-cycle-btn {
  background: #ff5500;
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-ui, sans-serif);
  font-size: 13px;
  font-weight: 750;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(255, 85, 0, 0.25);
}

.vsite-cycle-btn:hover {
  background: #e04a00;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 85, 0, 0.4);
}

.vsite-cycle-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cycle-count {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  font-weight: 800;
  color: #0f172a;
}

.cycle-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cycle-dot {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #64748b;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.cycle-dot:hover {
  border-color: #ff5500;
  color: #ff5500;
}

.cycle-dot.active {
  background: #ff5500;
  border-color: #ff5500;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 85, 0, 0.3);
}

.vsite-view-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-switch-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-ui, sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.view-switch-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.view-switch-btn.active {
  background: #ff5500;
  border-color: #ff5500;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 85, 0, 0.3);
}

/* Featured Active Project Showcase Card */
.vsite-showcase-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.vsite-showcase-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.vsite-showcase-card:hover {
  border-color: rgba(255, 85, 0, 0.4);
  box-shadow: 0 20px 50px rgba(255, 85, 0, 0.08);
}

@media (max-width: 960px) {
  .vsite-showcase-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
}

/* Showcase Media Box */
.showcase-media-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-img-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.showcase-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.showcase-preview-img:hover {
  transform: scale(1.02);
}

.showcase-floating-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #ff5500;
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 20px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 750;
  box-shadow: 0 3px 10px rgba(255, 85, 0, 0.4);
}

/* Screenshot Switcher Pills */
.showcase-shots-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px 12px;
  overflow-x: auto;
}

.shots-label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 750;
  color: #64748b;
  text-transform: uppercase;
  margin-right: 4px;
  white-space: nowrap;
}

.showcase-shot-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #475569;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.showcase-shot-btn:hover {
  border-color: #ff5500;
  color: #ff5500;
}

.showcase-shot-btn.active {
  background: #ff5500;
  border-color: #ff5500;
  color: #ffffff;
}

/* Showcase Dossier Details */
.showcase-dossier {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-client-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.showcase-category-eyebrow {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  font-weight: 800;
  color: #ff5500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.showcase-client-name {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
}

/* Orange Project Title */
.showcase-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 850;
  color: #ff5500;
  margin: 0;
  line-height: 1.25;
}

/* Orange Subtitle */
.showcase-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #ea580c;
  margin: 0;
  line-height: 1.4;
}

/* Crisp Black Body Text for Description */
.showcase-desc-body {
  font-size: 14.5px;
  color: #0f172a;
  line-height: 1.7;
  margin: 4px 0 6px 0;
}

.showcase-metric-box {
  background: #fff7ed;
  border-left: 4px solid #ff5500;
  padding: 10px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.metric-icon {
  font-size: 18px;
}

.metric-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-label {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 13px;
  font-weight: 750;
  color: #0f172a;
}

/* Deliverables */
.showcase-deliverables {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.deliverables-label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}

.deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 6px;
}

.deliverables-list li {
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.check-icon {
  color: #ff5500;
  font-weight: 800;
}

/* Tech Tags */
.showcase-tech-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tech-label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}

.tech-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tag {
  background: #f8fafc;
  border: 1px solid rgba(255, 85, 0, 0.35);
  border-radius: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

/* Prominent Actions Row with Live Website Button */
.showcase-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

/* PROMINENT LIVE SITE BUTTON */
.vsite-live-btn {
  padding: 12px 22px;
  background: linear-gradient(135deg, #ff5500 0%, #ea580c 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff !important;
  font-family: var(--font-ui, sans-serif);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(255, 85, 0, 0.35);
  cursor: pointer;
}

.vsite-live-btn:hover {
  background: linear-gradient(135deg, #ff6600 0%, #ff4400 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 85, 0, 0.5);
  color: #ffffff !important;
}

.vsite-live-btn.grid-btn {
  padding: 8px 14px;
  font-size: 12px;
  flex: 1;
}

/* Notice if no live link is provided in WordPress */
.vsite-no-live-notice {
  padding: 11px 16px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: #64748b;
  font-family: var(--font-ui, sans-serif);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vsite-no-live-notice.grid-notice {
  padding: 6px 10px;
  font-size: 11px;
}

.vsite-specs-btn {
  padding: 11px 18px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  font-family: var(--font-ui, sans-serif);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vsite-specs-btn:hover {
  background: #f1f5f9;
  border-color: #0f172a;
}

.vsite-inquire-btn {
  padding: 11px 18px;
  background: rgba(255, 85, 0, 0.08);
  border: 1px solid #ff5500;
  border-radius: 10px;
  color: #ff5500;
  font-family: var(--font-ui, sans-serif);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s;
}

.vsite-inquire-btn:hover {
  background: #ff5500;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 85, 0, 0.3);
}

/* Quick Project Selector Strip */
.vsite-quick-selector {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quick-sel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quick-sel-title {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.8px;
}

.quick-sel-hint {
  font-size: 12px;
  color: #ff5500;
  font-weight: 600;
}

.quick-sel-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.quick-sel-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.quick-sel-card:hover {
  transform: translateY(-2px);
  border-color: #ff5500;
  box-shadow: 0 6px 18px rgba(255, 85, 0, 0.12);
}

.quick-sel-card.active {
  background: #fff7ed;
  border-color: #ff5500;
  border-width: 2px;
  box-shadow: 0 4px 14px rgba(255, 85, 0, 0.2);
}

.quick-sel-thumb {
  width: 60px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #cbd5e1;
}

.quick-sel-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.quick-sel-num {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 800;
  color: #ea580c;
}

.quick-sel-name {
  font-size: 13px;
  font-weight: 750;
  color: #ff5500;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-sel-cat {
  font-size: 11px;
  color: #64748b;
}

/* ==========================================================================
   ALL PROJECTS GRID VIEW (TABLET THEME)
   ========================================================================== */
.vsite-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 26px;
  margin-bottom: 36px;
}

.vsite-project-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.vsite-project-card:hover {
  transform: translateY(-4px);
  border-color: #ff5500;
  box-shadow: 0 16px 36px rgba(255, 85, 0, 0.12);
}

.vsite-project-card.is-active-project {
  border-color: #ff5500;
  border-width: 2px;
}

.card-media-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f8fafc;
  cursor: pointer;
}

.card-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.vsite-project-card:hover .card-preview-img {
  transform: scale(1.03);
}

.card-floating-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: #ff5500;
  color: #ffffff;
  border-radius: 20px;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 750;
  box-shadow: 0 2px 8px rgba(255, 85, 0, 0.3);
}

.card-content-wrapper {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

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

.card-category-eyebrow {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 800;
  color: #ff5500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.card-client-name {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
}

.card-title {
  font-size: 19px;
  font-weight: 800;
  color: #ff5500;
  margin: 0;
  line-height: 1.3;
}

.card-subtitle {
  font-size: 13px;
  color: #ea580c;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.card-desc-body {
  font-size: 13.5px;
  color: #0f172a;
  line-height: 1.6;
  margin: 0;
}

.card-metrics-pill {
  background: #fff7ed;
  border-left: 3px solid #ff5500;
  padding: 6px 10px;
  border-radius: 4px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: #0f172a;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

.card-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.card-inspect-btn {
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  font-family: var(--font-ui, sans-serif);
  font-size: 11.5px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s;
}

.card-inspect-btn:hover {
  background: #ff5500;
  border-color: #ff5500;
  color: #ffffff;
}

/* ==========================================================================
   TECH ARCHITECTURE SPECIFICATION (TABLET THEME)
   ========================================================================== */
.vsite-tech-page {
  background: #ffffff;
}

.vsite-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.tech-spec-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.tech-spec-card:hover {
  transform: translateY(-3px);
  border-color: #ff5500;
  box-shadow: 0 8px 24px rgba(255, 85, 0, 0.1);
}

.tech-spec-icon {
  font-size: 28px;
}

.tech-spec-title {
  font-size: 18px;
  font-weight: 800;
  color: #ff5500;
  margin: 0;
}

.tech-spec-desc {
  font-size: 13.5px;
  color: #0f172a;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.tech-spec-meta {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 750;
  color: #ea580c;
  background: #fff7ed;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 85, 0, 0.25);
}

.vsite-cta-box {
  background: #fff7ed;
  border: 2px solid #ff5500;
  border-radius: 14px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.vsite-cta-text h3 {
  font-size: 19px;
  font-weight: 850;
  color: #ff5500;
  margin: 0 0 6px 0;
}

.vsite-cta-text p {
  font-size: 14px;
  color: #0f172a;
  margin: 0;
}

.vsite-primary-btn {
  padding: 12px 24px;
  background: #ff5500;
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-ui, sans-serif);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(255, 85, 0, 0.35);
}

.vsite-primary-btn:hover {
  background: #e04a00;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 85, 0, 0.5);
}

/* ==========================================================================
   FOOTER & WORDPRESS STUDIO BANNER
   ========================================================================== */
.vsite-footer-banner {
  margin-top: 36px;
}

.wp-admin-notice-box {
  background: #f8fafc;
  border: 1.5px solid #ff5500;
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.notice-icon {
  font-size: 30px;
}

.notice-text {
  flex: 1;
  min-width: 240px;
}

.notice-text h4 {
  font-size: 17px;
  font-weight: 850;
  color: #ff5500;
  margin: 0 0 4px 0;
}

.notice-text p {
  font-size: 13.5px;
  color: #0f172a;
  line-height: 1.55;
  margin: 0;
}

.notice-text code {
  background: #fff7ed;
  border: 1px solid rgba(255, 85, 0, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  color: #ea580c;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
}

.wp-admin-btn {
  padding: 11px 20px;
  background: #ff5500;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 3px 12px rgba(255, 85, 0, 0.3);
}

.wp-admin-btn:hover {
  background: #e04a00;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 85, 0, 0.45);
}

/* ==========================================================================
   PROJECT CASE STUDY & SCREENSHOTS LIGHTBOX DRAWER (TABLET THEME MATCH)
   ========================================================================== */
.project-case-drawer {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  animation: fadeInDrawer 0.25s ease-out;
}

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

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
}

.drawer-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  height: 100%;
  background: #ffffff;
  border-left: 2px solid #e2e8f0;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideDrawer 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDrawer {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer-header {
  padding: 20px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.drawer-title-group h3 {
  font-size: 20px;
  font-weight: 850;
  color: #ff5500;
  margin: 0 0 4px 0;
}

.drawer-title-group p {
  font-size: 12.5px;
  color: #ff6600;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  margin: 0;
}

.drawer-close-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #64748b;
  font-size: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.drawer-close-btn:hover {
  background: #ff5500;
  border-color: #ff5500;
  color: #ffffff;
}

.drawer-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #ffffff;
  color: #0f172a;
}

.case-gallery-stage {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.case-main-shot {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.case-thumbs-strip {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: #f1f5f9;
  overflow-x: auto;
  border-top: 1px solid #e2e8f0;
}

.case-thumb-item {
  width: 100px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
  background: #ffffff;
}

.case-thumb-item.active {
  border-color: #ff5500;
  box-shadow: 0 0 10px rgba(255, 85, 0, 0.35);
}

.case-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.case-info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
}

.case-info-card h5 {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 800;
  color: #ff5500;
  margin: 0 0 6px 0;
  text-transform: uppercase;
}

.case-info-card p {
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 600;
  margin: 0;
}

.case-desc-text {
  font-size: 14.5px;
  color: #0f172a;
  line-height: 1.7;
}

.case-desc-text p {
  margin: 0 0 12px 0;
}

.drawer-footer-actions {
  padding: 18px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Playout Video Iframe Styling for YouTube & Bunny.net Embeds */
.playout-iframe-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: #000000;
}

.playout-iframe-element iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #000000;
}

/* =========================================================================
   NATIVE MOBILE & TABLET WEB APP ADAPTATION FOR VIRTUAL BROWSER (PORTFOLIO)
   Only active on iPad & Mobile (<= 1024px); Desktop is 100% untouched
   ========================================================================= */
.mobile-app-dock {
  display: none !important;
}

@media (max-width: 1024px) {
  /* 1. Header transforms into a sleek native iOS / iPadOS app bar */
  .browser-titlebar {
    height: 52px;
    padding: 0 14px;
    background: rgba(18, 22, 34, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .custom-browser-brand {
    font-size: 13px;
    gap: 8px;
  }
  .brand-ver {
    display: none;
  }

  .browser-tabs-strip {
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.35);
    padding: 3px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .browser-tabs-strip .b-tab {
    padding: 5px 12px;
    font-size: 11px;
    border-radius: 999px;
    height: 28px;
    border: none;
  }
  .browser-tabs-strip .b-tab.active {
    background: #ff5500;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 85, 0, 0.4);
  }
  .tab-badge-live {
    display: none;
  }

  .browser-titlebar-right .wp-admin-pill-link {
    display: none !important;
  }

  .close-portfolio-btn {
    padding: 6px 14px;
    font-size: 11.5px;
    gap: 5px;
  }
  .close-btn-esc {
    display: none;
  }

  /* 2. Hide Simulated Desktop Window Omnibox and Viewport Toggles */
  .browser-nav-bar {
    display: none !important;
  }

  /* 3. Viewport frame expands to full bleed */
  .browser-viewport-frame {
    height: calc(100vh - 52px) !important;
    max-height: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
    border: none !important;
    padding-bottom: 64px; /* Space for floating dock */
  }

  .browser-live-iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    -webkit-overflow-scrolling: touch;
  }

  /* 4. Floating Native Mobile App Dock */
  .mobile-app-dock {
    display: flex !important;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: rgba(14, 18, 28, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 5px 8px;
    align-items: center;
    gap: 4px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 85, 0, 0.2);
    animation: dockFloatIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes dockFloatIn {
    0% { opacity: 0; transform: translate(-50%, 20px); }
    100% { opacity: 1; transform: translate(-50%, 0); }
  }

  .mobile-dock-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-dock-btn:active {
    transform: scale(0.94);
  }

  .mobile-dock-btn.active {
    background: #ff5500;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(255, 85, 0, 0.5);
  }

  .mobile-dock-btn.exit-dock-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
  }
}

/* ==========================================================================
   12. FULL-SCREEN BROADCAST PLAYOUT SYSTEM ("ROLLING FLOW OS // PLAYOUT")
   ========================================================================== */
.av-playout-overlay {
  position: fixed;
  inset: 0;
  z-index: 5500;
  background: #07090e;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: var(--text-main, #f1f5f9);
  overflow: hidden;
}

.av-playout-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

/* 1. Master Top Bar */
.playout-top-bar {
  height: 56px;
  background: rgba(11, 14, 20, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
  z-index: 20;
  flex-shrink: 0;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Back to Rundown Button (Visible in Player Screen) */
.btn-back-to-rundown {
  display: none;
  align-items: center;
  gap: 7px;
  background: rgba(255, 85, 0, 0.15);
  border: 1px solid #ff5500;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back-to-rundown:hover {
  background: #ff5500;
  box-shadow: 0 2px 12px rgba(255, 85, 0, 0.45);
}

.btn-back-to-rundown .back-arrow {
  font-size: 14px;
  line-height: 1;
}

.playout-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.playout-brand-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text-block .studio-name {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.brand-text-block .suite-type {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #ff5500;
}

.tally-pill-active {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 34, 0, 0.15);
  border: 1px solid rgba(255, 34, 0, 0.5);
  border-radius: 999px;
  padding: 4px 10px;
}

.tally-glow-dot {
  color: #ff2200;
  font-size: 10px;
  line-height: 1;
  animation: tallyPulse 1.4s infinite ease-in-out;
}

@keyframes tallyPulse {
  0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 4px #ff2200); }
  50% { opacity: 0.4; transform: scale(0.85); filter: drop-shadow(0 0 1px #ff2200); }
}

.tally-live-text {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ff5533;
}

/* Category Filter Tabs (Header Strip on Rundown Screen) */
.playout-category-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 4px;
}
.playout-category-tabs::-webkit-scrollbar {
  display: none;
}

.pl-cat-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #94a3b8;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.pl-cat-btn:hover {
  background: rgba(255, 85, 0, 0.1);
  border-color: rgba(255, 85, 0, 0.3);
  color: #ffffff;
}

.pl-cat-btn.active {
  background: #ff5500;
  border-color: #ff5500;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255, 85, 0, 0.4);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.smpte-readout-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 5px 10px;
  font-family: var(--font-mono, monospace);
}

.smpte-pill-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
}

.smpte-pill-val {
  font-size: 12px;
  font-weight: 700;
  color: #00ffaa;
  letter-spacing: 0.04em;
}

.exit-playout-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  font-weight: 700;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.exit-playout-pill:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ff6b6b;
}

/* 2. Main Workspace Layout & Screen Switching */
.playout-workspace {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px;
  display: flex;
  flex-direction: column;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Two-Screen Playout View Rules */
.playout-screen-view {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Screen 1: Rundown Active */
.av-playout-overlay.screen-rundown #playout-view-rundown,
.av-playout-overlay.screen-rundown .view-rundown {
  display: flex !important;
}
.av-playout-overlay.screen-rundown #playout-view-player,
.av-playout-overlay.screen-rundown .view-player {
  display: none !important;
}
.av-playout-overlay.screen-rundown .btn-back-to-rundown {
  display: none !important;
}
.av-playout-overlay.screen-rundown .playout-category-tabs {
  display: flex !important;
}

/* Screen 2: Transmission Player Active */
.av-playout-overlay.screen-player #playout-view-rundown,
.av-playout-overlay.screen-player .view-rundown {
  display: none !important;
}
.av-playout-overlay.screen-player #playout-view-player,
.av-playout-overlay.screen-player .view-player {
  display: flex !important;
}
.av-playout-overlay.screen-player .btn-back-to-rundown {
  display: flex !important;
}
.av-playout-overlay.screen-player .playout-category-tabs {
  display: none !important;
}

/* ==========================================================================
   SCREEN 1: Broadcast Playout Rundown List View
   ========================================================================== */
.rundown-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.rsh-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rundown-main-title {
  font-family: var(--font-mono, monospace);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin: 0;
}

.rundown-counter-pill {
  background: rgba(255, 85, 0, 0.15);
  border: 1px solid rgba(255, 85, 0, 0.4);
  color: #ff5500;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

.catalog-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0d111a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 14px;
  width: 320px;
  max-width: 100%;
  transition: border-color 0.2s ease;
}

.catalog-search-wrap:focus-within {
  border-color: #ff5500;
  box-shadow: 0 0 12px rgba(255, 85, 0, 0.2);
}

.catalog-search-icon {
  font-size: 12px;
  color: #64748b;
}

.catalog-search-wrap input {
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 12.5px;
  color: #ffffff;
  width: 100%;
}

.catalog-search-wrap input::placeholder {
  color: #64748b;
}

/* Broadcast Rundown List Rows */
.broadcast-rundown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rundown-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #0d111a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rundown-item-row:hover {
  background: #121724;
  border-color: rgba(255, 85, 0, 0.5);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 85, 0, 0.12);
}

.rundown-item-row.is-active-on-air {
  border-color: #ff5500;
  background: #141c2b;
  box-shadow: 0 0 20px rgba(255, 85, 0, 0.25);
}

.rir-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.rir-index {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
  min-width: 26px;
  text-align: center;
}

.rir-thumb-holder {
  position: relative;
  width: 136px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
  flex-shrink: 0;
}

.rir-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.rundown-item-row:hover .rir-thumb-img {
  transform: scale(1.06);
}

.rir-duration-chip {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.rir-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.rundown-item-row:hover .rir-play-overlay {
  opacity: 1;
}

.rir-play-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ff5500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(255, 85, 0, 0.6);
}

.rir-play-icon svg {
  width: 12px;
  height: 12px;
  fill: #ffffff;
  margin-left: 2px;
}

/* Middle Details */
.rir-middle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.rir-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rir-ch-tag {
  background: rgba(255, 85, 0, 0.15);
  border: 1px solid rgba(255, 85, 0, 0.35);
  color: #ff7733;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.rir-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.rundown-item-row:hover .rir-title {
  color: #ff7733;
}

.rir-role {
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 500;
}

.rir-gear-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.rir-gear-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Right Action Cluster */
.rir-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.rir-status-pill {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 5px;
  letter-spacing: 0.04em;
}

.rir-status-pill.standby {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
}

.rir-status-pill.on-air {
  background: rgba(255, 34, 0, 0.2);
  border: 1px solid rgba(255, 34, 0, 0.5);
  color: #ff3311;
  animation: tallyPulse 1.4s infinite ease-in-out;
}

.btn-open-clip {
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid #ff5500;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.2s ease;
}

.rundown-item-row:hover .btn-open-clip {
  background: #ff5500;
  box-shadow: 0 4px 14px rgba(255, 85, 0, 0.45);
}

/* ==========================================================================
   SCREEN 2: Transmission Playout Player View
   ========================================================================== */
.view-player {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.player-screen-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-return-rundown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-return-rundown:hover {
  background: rgba(255, 85, 0, 0.2);
  border-color: #ff5500;
  color: #ff7733;
}

.btn-return-rundown .btn-arr {
  font-size: 14px;
  line-height: 1;
}

.player-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-nav-clip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 7px 14px;
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nav-clip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Master Cinema Broadcast Player Stage */
.playout-hero-stage {
  background: #0e121b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
}

.playout-monitor-header {
  height: 48px;
  background: #0a0d14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  gap: 16px;
}

.pm-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pm-live-dot {
  color: #ff3b30;
  font-size: 11px;
  animation: tallyPulse 1.4s infinite ease-in-out;
  flex-shrink: 0;
}

.pm-live-label {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff3b30;
  flex-shrink: 0;
}

.pm-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  flex-shrink: 0;
}

.pm-current-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pm-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pm-ch-pill {
  background: rgba(255, 85, 0, 0.15);
  border: 1px solid rgba(255, 85, 0, 0.4);
  color: #ff7733;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.feed-badge {
  background: rgba(0, 255, 170, 0.12);
  border: 1px solid rgba(0, 255, 170, 0.3);
  color: #00ffaa;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* 16:9 Screen Surface */
.playout-screen-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
}

.playout-embedded-frame,
.playout-embedded-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: auto;
}

.playout-embedded-frame iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: auto !important;
}

.playout-embedded-video {
  object-fit: contain;
  background: #000000;
}

/* Mobile Unmute Overlay Button */
.mobile-unmute-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(11, 14, 20, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 85, 0, 0.4);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: none;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.mobile-unmute-btn:hover,
.mobile-unmute-btn:active {
  background: #ff5500;
  border-color: #ff5500;
  box-shadow: 0 4px 18px rgba(255, 85, 0, 0.6);
}

.screen-watermark-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 5;
}

.wm-tally {
  color: #ff3b30;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.wm-time {
  color: #94a3b8;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 600;
}

/* Technical Production Deck Below Player (Clean: No booking or external links) */
.playout-production-deck {
  background: #0b0e16;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.deck-meta-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.deck-subtitle-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.deck-role-badge {
  background: #ff5500;
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.deck-event-type {
  font-size: 13.5px;
  color: #94a3b8;
  font-weight: 500;
}

.deck-gear-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.gear-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ==========================================================================
   Responsive Breakpoints: Tablet & Mobile
   ========================================================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .playout-workspace {
    padding: 18px;
  }

  .catalog-search-wrap {
    width: 240px;
  }

  .rir-thumb-holder {
    width: 120px;
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 768px) {
  .playout-top-bar {
    height: 52px;
    padding: 0 12px;
    gap: 8px;
  }

  .brand-text-block .suite-type,
  .smpte-readout-pill {
    display: none;
  }

  .tally-live-text {
    font-size: 9.5px;
  }

  .exit-playout-pill {
    padding: 5px 10px;
    font-size: 10.5px;
  }

  .btn-back-to-rundown {
    padding: 5px 10px;
    font-size: 10px;
  }

  .playout-workspace {
    padding: 12px 12px 30px;
  }

  /* Rundown Header on Mobile */
  .rundown-sub-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .catalog-search-wrap {
    width: 100%;
    box-sizing: border-box;
  }

  /* Mobile Rundown Item Row: Stacked & Touch-Friendly */
  .rundown-item-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 85, 0, 0.2);
    position: relative;
  }

  .rir-left {
    width: 100%;
    justify-content: flex-start;
  }

  .rir-thumb-holder {
    width: 110px;
    min-width: 110px;
  }

  .rir-middle {
    width: 100%;
  }

  .rir-title {
    font-size: 14px;
    white-space: normal;
  }

  .rir-right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    margin-top: 2px;
  }

  .btn-open-clip {
    flex: 1;
    min-height: 46px;
    padding: 12px 16px;
    font-size: 12.5px;
    font-weight: 800;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 85, 0, 0.35);
    background: rgba(255, 85, 0, 0.18);
    border: 1.5px solid #ff5500;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 85, 0, 0.25);
  }

  .btn-open-clip:active {
    background: #ff5500;
    transform: scale(0.98);
  }

  .btn-open-clip * {
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .playout-workspace {
    padding: 10px 10px 24px;
  }

  .rundown-item-row {
    padding: 12px;
    gap: 10px;
  }

  .rir-thumb-holder {
    width: 95px;
    min-width: 95px;
  }

  .rir-right {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .btn-open-clip {
    width: 100%;
    min-height: 48px;
    font-size: 13px;
  }

  /* Player Screen on Mobile */
  .player-screen-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .btn-return-rundown {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px;
  }

  .player-nav-controls {
    width: 100%;
    display: flex;
  }

  .btn-nav-clip {
    flex: 1;
    text-align: center;
    padding: 8px;
  }

  .playout-hero-stage {
    border-radius: 12px;
  }

  .playout-monitor-header {
    height: 42px;
    padding: 0 12px;
  }

  .pm-current-title {
    font-size: 12px;
  }

  .pm-right .feed-badge {
    display: none;
  }

  .playout-production-deck {
    padding: 14px;
  }

  .deck-subtitle-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}


/* ==========================================================================
   14. ADVANCED FULL-SCREEN FLIP BOOK CV ("DYLAN WAINMAN // CURRICULUM VITAE")
   ========================================================================== */
.flipbook-modal-wrapper {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.flipbook-window {
  position: relative;
  width: 95vw;
  max-width: 1400px;
  height: 90vh;
  max-height: 880px;
  background: #090c14;
  border: 1px solid rgba(226, 179, 74, 0.3);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(226, 179, 74, 0.15);
  overflow: hidden;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.flipbook-modal-wrapper.active .flipbook-window {
  transform: scale(1) translateY(0);
}

.flipbook-window.is-fullscreen {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  border: none;
}

/* Toolbar */
.flipbook-toolbar {
  height: 60px;
  background: #0d111b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
  z-index: 10;
}

.flipbook-title-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flipbook-badge {
  background: rgba(226, 179, 74, 0.15);
  border: 1px solid rgba(226, 179, 74, 0.4);
  color: #e2b34a;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.flipbook-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin: 0;
}

.flipbook-title .dim {
  color: #8c97aa;
  font-weight: 400;
}

.flipbook-nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.fb-tab {
  background: transparent;
  border: none;
  color: #8c97aa;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fb-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.fb-tab.active {
  color: #0d111b;
  background: #e2b34a;
  box-shadow: 0 2px 8px rgba(226, 179, 74, 0.35);
}

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

.fb-action-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.fb-action-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.fb-close-btn {
  background: rgba(255, 40, 40, 0.15);
  border: 1px solid rgba(255, 40, 40, 0.35);
  color: #ff5555;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.fb-close-btn:hover {
  background: #ff3333;
  color: #ffffff;
}

/* 3D Stage */
.flipbook-stage-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #151a27 0%, #080b12 85%);
  padding: 24px;
  perspective: 2000px;
  overflow: hidden;
}

.flip-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 72px;
  background: rgba(13, 17, 27, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.flip-nav-arrow:hover {
  background: #e2b34a;
  color: #0a0d16;
  border-color: #e2b34a;
  box-shadow: 0 0 20px rgba(226, 179, 74, 0.4);
}

.flip-nav-arrow.arrow-left {
  left: 20px;
}

.flip-nav-arrow.arrow-right {
  right: 20px;
}

/* Book Container */
.flipbook-book {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  max-height: 700px;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.book-spread {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-spread.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Left & Right Pages */
.book-page {
  position: relative;
  flex: 1;
  height: 100%;
  background: #0f131d;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
}

.book-page.page-left {
  border-right: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset -25px 0 35px -10px rgba(0, 0, 0, 0.7);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.book-page.page-right {
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 25px 0 35px -10px rgba(0, 0, 0, 0.7);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-texture-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.008) 0px, rgba(255, 255, 255, 0.008) 1px, transparent 1px, transparent 2px);
  z-index: 1;
}

.page-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.page-number {
  position: absolute;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #4a5568;
  font-weight: 700;
  z-index: 2;
}

.page-left .page-number {
  left: 40px;
}

.page-right .page-number {
  right: 40px;
}

/* Page 1: Cover Styles */
.page-cover {
  background: radial-gradient(circle at 50% 30%, #171d2b 0%, #0d1017 80%) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cover-gold-crest {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid #e2b34a;
  background: rgba(226, 179, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  box-shadow: 0 0 25px rgba(226, 179, 74, 0.25);
}

.cover-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #e2b34a;
  display: block;
  margin-bottom: 8px;
}

.cover-name {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.cover-subtitle {
  font-size: 14px;
  line-height: 1.5;
  color: #00d8ff;
  font-weight: 600;
  margin: 0 0 20px 0;
}

.cover-rule {
  height: 2px;
  background: linear-gradient(90deg, #e2b34a 0%, rgba(226, 179, 74, 0) 100%);
  margin-bottom: 24px;
}

.cover-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.cover-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  border-radius: 8px;
}

.cover-stat-box .stat-number {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: #e2b34a;
  display: block;
}

.cover-stat-box .stat-label {
  font-size: 11px;
  color: #8c97aa;
  margin-top: 2px;
  display: block;
}

.cover-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 8px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #00ff88;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.pulse-emerald {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
}

.cover-footer {
  font-size: 12px;
  color: #64748b;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Inner Page Typography */
.page-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.page-category {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #e2b34a;
  letter-spacing: 1px;
}

.page-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #64748b;
}

.page-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.3px;
}

.cv-quote {
  border-left: 3px solid #e2b34a;
  background: rgba(226, 179, 74, 0.06);
  padding: 12px 16px;
  font-style: italic;
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 16px 0;
  border-radius: 0 6px 6px 0;
}

.cv-body-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 20px;
}

.cv-subheading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #00d8ff;
  text-transform: uppercase;
  margin: 18px 0 10px 0;
}

.competencies-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-bottom: 20px;
}

.comp-item {
  font-size: 11.5px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comp-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e2b34a;
  flex-shrink: 0;
}

.cv-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #94a3b8;
}

.cv-timeline li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}

.cv-timeline li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #e2b34a;
  font-size: 16px;
  line-height: 1;
}

.cv-timeline strong {
  color: #ffffff;
}

/* Role Cards */
.cv-role-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.role-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.role-company {
  font-size: 11.5px;
  color: #00d8ff;
  display: block;
  margin-top: 2px;
}

.role-dates {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #e2b34a;
  font-weight: 700;
  background: rgba(226, 179, 74, 0.1);
  padding: 3px 6px;
  border-radius: 4px;
}

.role-desc {
  font-size: 11.5px;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 10px;
}

.role-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  color: #94a3b8;
}

.role-bullet-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
}

.role-bullet-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #00d8ff;
}

.role-bullet-list strong {
  color: #e2e8f0;
}

/* Credits Grid */
.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.credit-box {
  background: #090c14;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 8px 12px;
}

.credit-box strong {
  display: block;
  font-size: 11px;
  color: #ffffff;
}

.credit-box span {
  display: block;
  font-size: 10px;
  color: #64748b;
}

/* Tech Tags Cloud */
.tech-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tech-pill {
  background: rgba(0, 216, 255, 0.08);
  border: 1px solid rgba(0, 216, 255, 0.25);
  color: #7dd3fc;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Certifications List */
.cert-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 6px;
}

.cert-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  background: #e2b34a;
  color: #0a0d16;
  padding: 4px 6px;
  border-radius: 4px;
}

.cert-item strong {
  display: block;
  font-size: 11.5px;
  color: #ffffff;
}

.cert-item span {
  display: block;
  font-size: 10.5px;
  color: #8c97aa;
}

.assistive-tech-box {
  background: rgba(0, 216, 255, 0.06);
  border: 1px solid rgba(0, 216, 255, 0.25);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.assistive-tech-box p {
  font-size: 11.5px;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0;
}

.edu-item {
  font-size: 11.5px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

.edu-item strong {
  color: #ffffff;
}

/* Testimonials */
.testimonial-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.test-quote {
  font-style: italic;
  font-size: 11px;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0 0 6px 0;
}

.test-author {
  display: block;
  font-size: 10px;
  font-family: var(--font-mono);
  color: #e2b34a;
  font-weight: 600;
}

/* Booking Card */
.booking-cta-card {
  background: linear-gradient(135deg, rgba(226, 179, 74, 0.12) 0%, rgba(255, 107, 0, 0.08) 100%);
  border: 1px solid rgba(226, 179, 74, 0.35);
  border-radius: 10px;
  padding: 16px;
  margin-top: 14px;
}

.book-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.book-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0 0 14px 0;
}

.book-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cv-cta-btn {
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.cv-cta-btn.btn-gold {
  background: #e2b34a;
  color: #090c14;
}

.cv-cta-btn.btn-gold:hover {
  background: #f0c568;
  box-shadow: 0 4px 14px rgba(226, 179, 74, 0.4);
}

.cv-cta-btn.btn-cyan {
  background: rgba(0, 216, 255, 0.12);
  border: 1px solid #00d8ff;
  color: #00d8ff;
}

.cv-cta-btn.btn-cyan:hover {
  background: #00d8ff;
  color: #090c14;
}

.cv-cta-btn.btn-orange {
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid #ff6b00;
  color: #ff8833;
}

.cv-cta-btn.btn-orange:hover {
  background: #ff6b00;
  color: #090c14;
}

.cv-cta-btn.btn-white {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.cv-cta-btn.btn-white:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Footer Controls */
.flipbook-footer {
  height: 52px;
  background: #0d111b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
  z-index: 10;
}

.fb-foot-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.fb-foot-btn:hover {
  background: #e2b34a;
  color: #090c14;
  border-color: #e2b34a;
}

.fb-page-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

#fb-current-spread-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.5px;
}

.fb-spread-dots {
  display: flex;
  gap: 6px;
}

.fb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.fb-dot.active {
  background: #e2b34a;
  width: 22px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .flipbook-window {
    width: 98vw;
    height: 95vh;
  }
  .book-spread {
    flex-direction: column;
  }
  .book-page.page-left {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  }
  .flip-nav-arrow {
    display: none;
  }
  .book-actions-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   12. INTERACTIVE TABLET CV APP ("DYLAN-OS // SLATE PRO")
   ========================================================================= */

.tablet-modal-wrapper {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(3, 5, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tablet-modal-wrapper.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.tablet-modal-wrapper.closing {
  display: flex !important;
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.tablet-modal-wrapper.closing .tablet-device-chassis {
  transform: scale(0.9) translateY(18px) !important;
  opacity: 0 !important;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

/* =========================================================================
   HARDWARE TABLET CHASSIS: SPACE GRAY iPAD VCARD REDESIGN (DARK PORTFOLIO THEME)
   ========================================================================= */
.tablet-device-chassis {
  position: relative;
  width: min(96vw, 1260px);
  height: min(92vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  filter: drop-shadow(0 35px 100px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 50px rgba(255, 85, 0, 0.25));
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.97) translateY(12px);
  animation: tabletPopIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tabletPopIn {
  to {
    transform: scale(1) translateY(0);
  }
}

.tablet-device-chassis.is-fullscreen {
  width: 98vw;
  height: 96vh;
}

/* =========================================================================
   AUTHENTIC LANDSCAPE iPAD HARDWARE BEZEL WITH TACTILE HOME BUTTON
   ========================================================================= */
.tablet-hardware-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #28292c 0%, #17181a 45%, #0f1011 75%, #1f2023 100%);
  border-radius: 38px;
  padding: 14px 18px 14px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  box-shadow: 
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    inset 0 2px 4px rgba(255, 255, 255, 0.22),
    inset 0 -2px 6px rgba(0, 0, 0, 0.8),
    0 0 0 2.5px #0a0b0d,
    0 28px 80px rgba(0, 0, 0, 0.95);
}

/* Left Landscape Bezel: FaceTime HD Camera & Ambient Light Sensor */
.tablet-bezel-left {
  width: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 10;
  flex-shrink: 0;
  user-select: none;
}

.tablet-camera-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1e3a5f 0%, #0c1829 60%, #030712 100%);
  border: 1.5px solid #27272a;
  box-shadow: inset 0 0 4px #0284c7, 0 1px 2px rgba(255, 255, 255, 0.15);
}

.tablet-sensor-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #09090b;
  border: 1px solid #18181b;
  opacity: 0.75;
}

/* Right Landscape Bezel: Iconic Apple Tactile Circular Home Button */
.tablet-bezel-right {
  width: 64px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  flex-shrink: 0;
  user-select: none;
}

.tablet-home-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #1d1d20 0%, #131315 65%, #242528 92%, #38393e 100%);
  border: 2px solid #2c2d31;
  box-shadow: 
    inset 0 3px 6px rgba(0, 0, 0, 0.85),
    inset 0 -1.5px 3px rgba(255, 255, 255, 0.14),
    0 1px 3px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  outline: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.tablet-home-button:hover {
  border-color: rgba(255, 85, 0, 0.55);
  box-shadow: 
    inset 0 3px 6px rgba(0, 0, 0, 0.85),
    0 0 16px rgba(255, 85, 0, 0.45);
  transform: scale(1.03);
}

.tablet-home-button:active,
.tablet-home-button.is-pressed {
  transform: scale(0.93) translateY(1px);
  background: radial-gradient(circle at 50% 50%, #151517 0%, #0d0d0e 70%, #202124 100%);
  box-shadow: 
    inset 0 5px 10px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(255, 85, 0, 0.6);
}

.home-button-rim {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.home-button-inner {
  width: 15px;
  height: 15px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  border-radius: 4px;
  pointer-events: none;
  transition: all 0.18s ease;
}

.tablet-home-button:hover .home-button-inner {
  border-color: #ff5500;
  box-shadow: 0 0 6px rgba(255, 85, 0, 0.6);
}

.tablet-home-button:active .home-button-inner,
.tablet-home-button.is-pressed .home-button-inner {
  border-color: #ff7700;
  transform: scale(0.9);
}

/* Hardware Dismiss Button (Top Right Bezel) */
.tablet-hardware-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(24, 24, 27, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f4f4f5;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10005;
  transition: all 0.22s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.tablet-hardware-close:hover {
  background: #ff3311;
  border-color: #ff3311;
  color: #ffffff;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 16px rgba(255, 51, 17, 0.7);
}

/* Subtle In-Screen Bottom Trim / Notch */
.ios-screen-bottom-trim {
  height: 10px;
  min-height: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #18181b;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.ios-home-notch {
  width: 80px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  display: block;
}

/* 2026 Touchscreen Display: Matte Carbon iPadOS UI Display */
.tablet-screen-display {
  flex: 1;
  height: 100%;
  background: #131315;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 2px 10px rgba(0, 0, 0, 0.6),
    0 4px 24px rgba(0, 0, 0, 0.6);
}

/* Specular Optical Anti-Reflective Display Sheen */
.tablet-glass-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  background: radial-gradient(
    circle 700px at var(--sheen-x, 50%) var(--sheen-y, 30%),
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 75%
  );
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

/* Tablet OS Status Bar */
.tablet-os-statusbar {
  height: 38px;
  min-height: 38px;
  background: #18181b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a1a1aa;
  user-select: none;
  z-index: 10;
}

.os-left-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.os-time {
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.6px;
  font-size: 12px;
}

.os-status-pill {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 2.5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* Apple iPadOS Interactive Dynamic Island */
.tablet-dynamic-island {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 3px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  user-select: none;
}

.tablet-dynamic-island:hover {
  border-color: rgba(255, 85, 0, 0.55);
  box-shadow: 0 4px 20px rgba(255, 85, 0, 0.35);
  transform: scale(1.04);
}

.tablet-dynamic-island.is-narrating {
  background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
  border-color: #ff5500;
  box-shadow: 0 0 20px rgba(255, 85, 0, 0.45);
  padding: 4px 16px;
}

.island-camera-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 6px #0284c7;
  display: inline-block;
}

.island-signal {
  color: #22c55e;
  font-size: 8px;
  animation: signalPulse 2s infinite ease-in-out;
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.island-content-idle {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: #ff5500;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.island-content-active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #f4f4f5;
}

.island-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.island-bars span {
  width: 2.5px;
  height: 4px;
  background: #ff5500;
  border-radius: 1px;
  animation: islandEq 0.8s infinite ease-in-out alternate;
}

.island-bars span:nth-child(1) { animation-delay: 0.1s; }
.island-bars span:nth-child(2) { animation-delay: 0.3s; }
.island-bars span:nth-child(3) { animation-delay: 0.2s; }

@keyframes islandEq {
  0% { height: 2px; }
  100% { height: 10px; }
}

.os-right-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tablet-tts-btn {
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.35);
  border-radius: 999px;
  color: #ff5500;
  padding: 3px 12px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  user-select: none;
}

.tablet-tts-btn:hover {
  background: rgba(255, 85, 0, 0.22);
  border-color: #ff5500;
  color: #ffffff;
  transform: translateY(-0.5px);
  box-shadow: 0 0 12px rgba(255, 85, 0, 0.35);
}

.tablet-tts-btn.is-speaking {
  background: linear-gradient(135deg, #ff5500 0%, #ff6b00 100%);
  color: #ffffff;
  border-color: #ff6b00;
  box-shadow: 0 0 16px rgba(255, 85, 0, 0.55);
}

.tts-equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.tts-equalizer span {
  width: 2px;
  height: 3px;
  background: currentColor;
  border-radius: 1px;
  transition: height 0.15s ease;
}

.tablet-tts-btn.is-speaking .tts-equalizer span {
  animation: eqBounce 0.8s ease-in-out infinite alternate;
}

.tablet-tts-btn.is-speaking .tts-equalizer span:nth-child(1) { animation-delay: 0.1s; }
.tablet-tts-btn.is-speaking .tts-equalizer span:nth-child(2) { animation-delay: 0.3s; }
.tablet-tts-btn.is-speaking .tts-equalizer span:nth-child(3) { animation-delay: 0.2s; }
.tablet-tts-btn.is-speaking .tts-equalizer span:nth-child(4) { animation-delay: 0.4s; }

@keyframes eqBounce {
  0% { height: 2px; }
  100% { height: 10px; }
}

.os-badge-pill {
  background: rgba(255, 255, 255, 0.06);
  padding: 2.5px 8px;
  border-radius: 6px;
  color: #d4d4d8;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tablet-fs-btn,
.tablet-exit-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #e4e4e7;
  padding: 2.5px 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.tablet-fs-btn:hover {
  background: rgba(255, 85, 0, 0.18);
  color: #ff5500;
  border-color: #ff5500;
}

.tablet-exit-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: #ef4444;
}

/* =========================================================================
   SPLIT-SCREEN LAYOUT: FIXED VCARD PROFILE (LEFT), NATIVE APP TABS (RIGHT)
   ========================================================================= */
.tablet-split-layout {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  background: #131315;
}

/* LEFT HALF: INTERACTIVE VCARD COLUMN */
.tablet-vcard-column {
  width: 380px;
  min-width: 340px;
  max-width: 400px;
  height: 100%;
  background: #17171a;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.tablet-vcard-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

/* 3D Flip Card Avatar Container */
.vcard-avatar-container {
  position: relative;
  width: 100%;
  height: 290px;
  perspective: 1000px;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
}

.vcard-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  transition: transform 0.65s cubic-bezier(0.34, 1.35, 0.64, 1);
  transform-style: preserve-3d;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
}

.vcard-avatar-container.is-flipped .vcard-flip-inner {
  transform: rotateY(180deg);
}

.vcard-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  border: 1.5px solid rgba(255, 85, 0, 0.4);
}

.vcard-card-front {
  background: #09090b;
}

.vcard-card-front .tablet-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.vcard-avatar-container:hover .vcard-card-front .tablet-portrait-img {
  transform: scale(1.04);
}

.flip-hint-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 15, 18, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}

.vcard-avatar-container:hover .flip-hint-pill {
  background: #ff5500;
  border-color: #ff5500;
  transform: translateY(-2px);
}

/* Back Face: Apple Wallet Style Contact Pass */
.vcard-card-back {
  background: linear-gradient(145deg, #18181c 0%, #0d0d10 100%);
  border-color: rgba(255, 85, 0, 0.6);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px;
  box-sizing: border-box;
}

.pass-card-header {
  text-align: center;
}

.pass-brand-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  color: #ff5500;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.pass-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
}

.pass-role {
  margin: 2px 0 0 0;
  font-size: 11px;
  color: #a1a1aa;
}

.pass-qr-frame {
  width: 140px;
  height: 140px;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 16px rgba(255, 85, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pass-qr-svg {
  width: 100%;
  height: 100%;
}

.pass-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pass-hint {
  font-size: 10px;
  color: #94a3b8;
  font-family: var(--font-sans);
}

.pass-flip-btn {
  font-size: 10px;
  font-weight: 700;
  color: #ff5500;
  font-family: var(--font-mono);
}

.vcard-identity-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.vcard-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vcard-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.verified-tick-badge {
  background: linear-gradient(135deg, #ff5500, #ff7700);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(255, 85, 0, 0.4);
}

.vcard-subline {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #ff5500;
  line-height: 1.45;
}

.vcard-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vcard-tag-pill {
  background: rgba(255, 255, 255, 0.05);
  color: #d4d4d8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3.5px 9px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
}

/* Interactive Action Buttons (vCard) */
.vcard-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.vcard-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  box-sizing: border-box;
}

.vcard-action-btn.primary {
  background: linear-gradient(135deg, #ff5500 0%, #ff6b00 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(255, 85, 0, 0.4);
}

.vcard-action-btn.primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(255, 85, 0, 0.55);
}

.vcard-action-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f4f4f5;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.vcard-action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.vcard-action-btn.secondary.copied {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-color: #22c55e;
}

.vcard-action-btn.ghost {
  background: transparent;
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vcard-action-btn.ghost:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

/* Jump Links Strip */
.vcard-shortcuts-strip {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.vcard-shortcut-btn {
  flex: 1;
  background: rgba(255, 85, 0, 0.08);
  border: 1px solid rgba(255, 85, 0, 0.25);
  color: #ff7700;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.vcard-shortcut-btn:hover {
  background: rgba(255, 85, 0, 0.18);
  border-color: #ff5500;
  color: #ffffff;
  transform: translateY(-1px);
}

/* =========================================================================
   RIGHT HALF: NATIVE IPADOS CONTENT COLUMN (ONLY ABOUT & HOBBIES)
   ========================================================================= */
.tablet-content-column {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #131315;
  overflow: hidden;
}

/* iPadOS Native Segmented Control Header */
.tablet-segmented-header {
  background: rgba(24, 24, 28, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
}

.ios-segmented-control {
  position: relative;
  display: inline-flex;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px;
  border-radius: 999px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
  width: 380px;
}

.ios-segmented-glider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5500 0%, #ff6b00 100%);
  box-shadow: 0 4px 18px rgba(255, 85, 0, 0.45);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
  z-index: 1;
}

.segmented-pill-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: #a1a1aa;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
  outline: none;
  user-select: none;
}

.segmented-pill-btn:hover {
  color: #ffffff;
}

.segmented-pill-btn.active {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
}

.segmented-pill-btn .tab-icon {
  font-size: 14px;
}

/* Dynamic Content Viewport */
.tablet-content-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  background: #131315;
}

.tablet-tab-panel {
  display: none;
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.tablet-tab-panel.active {
  display: flex;
  flex-direction: column;
}

.tab-inner-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 48px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

/* Custom Scrollbar for Dark iPad */
.tab-inner-scroll::-webkit-scrollbar {
  width: 6px;
}
.tab-inner-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.tab-inner-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 85, 0, 0.4);
  border-radius: 3px;
}
.tab-inner-scroll::-webkit-scrollbar-thumb:hover {
  background: #ff5500;
}

/* =========================================================================
   DARK CARBON TYPOGRAPHY & CARD COMPONENTS (MATCHING WEB PORTFOLIO THEME)
   ========================================================================= */
.card-orange-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: #ff5500;
  letter-spacing: -0.2px;
}

.card-orange-subheading {
  margin: 0 0 10px 0;
  font-size: 13px;
  font-weight: 700;
  color: #fb923c;
  line-height: 1.45;
}

/* Crisp High-Contrast White Text */
.card-body-text,
.card-black-text {
  margin: 0 0 12px 0;
  font-size: 13.5px;
  color: #f4f4f5;
  line-height: 1.68;
}

.card-body-text:last-child,
.card-black-text:last-child {
  margin-bottom: 0;
}

.orange-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #ff5500;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* Dark Inset Grouped Info Cards */
.info-card {
  background: linear-gradient(145deg, rgba(26, 26, 31, 0.95) 0%, rgba(18, 18, 22, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  border-color: rgba(255, 85, 0, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 85, 0, 0.16), inset 0 1px 0 rgba(255, 85, 0, 0.2);
  transform: translateY(-2px);
}

.info-card.highlight-card {
  background: linear-gradient(135deg, rgba(32, 28, 30, 0.95) 0%, rgba(20, 20, 24, 0.98) 100%);
  border-color: rgba(255, 85, 0, 0.4);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 85, 0, 0.08);
}

.card-header-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.tab-intro-box {
  background: linear-gradient(145deg, rgba(28, 28, 34, 0.9) 0%, rgba(19, 19, 23, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* =========================================================================
   TAB 1: ABOUT METRICS
   ========================================================================= */
.tablet-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tablet-metric-box {
  background: linear-gradient(145deg, rgba(26, 26, 31, 0.95) 0%, rgba(18, 18, 22, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tablet-metric-box:hover {
  border-color: rgba(255, 85, 0, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 85, 0, 0.2), inset 0 1px 0 rgba(255, 85, 0, 0.25);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: #ff5500;
  letter-spacing: -0.5px;
}

.metric-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #e4e4e7;
  line-height: 1.35;
}

.bio-boxes-stream {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =========================================================================
   TAB 2: HOBBIES & PASSIONS CARDS
   ========================================================================= */
.hobbies-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.hobby-card {
  gap: 12px;
}

.hobby-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hobby-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 85, 0, 0.1);
  border: 1px solid rgba(255, 85, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.hobby-title {
  margin: 4px 0 0 0;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: #ff5500;
}

.hobby-desc {
  margin: 0;
  font-size: 13px;
  color: #e4e4e7;
  line-height: 1.6;
}

/* Steaming Mug & Rising Vapor Animation */
.hot-mug-badge {
  position: relative;
  overflow: visible !important;
}

.steam-wisp-group {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3.5px;
  pointer-events: none;
}

.wisp {
  width: 3px;
  height: 9px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  filter: blur(1px);
  animation: steamRise 1.8s infinite ease-out;
}

.wisp:nth-child(2) {
  animation-delay: 0.6s;
  height: 12px;
}

.wisp:nth-child(3) {
  animation-delay: 1.1s;
}

@keyframes steamRise {
  0% {
    opacity: 0;
    transform: translateY(4px) scaleX(0.8);
  }
  35% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateY(-16px) scaleX(1.6);
  }
}

/* Interactive Hot Drink Selector Bar */
.hot-drink-interactive-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 14px 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 12px;
}

.drink-pill-toggle {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px;
  gap: 4px;
}

.drink-choice-btn {
  background: transparent;
  border: none;
  color: #a1a1aa;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drink-choice-btn:hover {
  color: #ffffff;
}

.drink-choice-btn.active {
  background: linear-gradient(135deg, #ff5500 0%, #ff6b00 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 85, 0, 0.45);
}

.drink-cta-pill {
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.35);
  color: #ff5500;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.22s ease;
}

.drink-cta-pill:hover {
  background: #ff5500;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 85, 0, 0.45);
}

/* VFX Wand Button on Cinema Card */
.vfx-wand-btn {
  margin-left: auto;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.35);
  color: #ff7700;
  padding: 4px 11px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  user-select: none;
}

.vfx-wand-btn:hover {
  background: linear-gradient(135deg, #ff5500, #ff7700);
  color: #ffffff;
  border-color: #ff7700;
  transform: scale(1.04);
  box-shadow: 0 0 16px rgba(255, 85, 0, 0.55);
}

/* Staggered Card Entrance Animation (Apple Spring) */
.tablet-tab-panel.active .info-card {
  animation: iosCardCascade 0.36s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tablet-tab-panel.active .info-card:nth-child(1) { animation-delay: 0.03s; }
.tablet-tab-panel.active .info-card:nth-child(2) { animation-delay: 0.06s; }
.tablet-tab-panel.active .info-card:nth-child(3) { animation-delay: 0.09s; }
.tablet-tab-panel.active .info-card:nth-child(4) { animation-delay: 0.12s; }
.tablet-tab-panel.active .info-card:nth-child(5) { animation-delay: 0.15s; }

@keyframes iosCardCascade {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================================
   CV QUOTE CALLOUTS, BADGE PILLS & CONTACT CHIPS (UX ENHANCEMENTS)
   ========================================================================= */
.cv-quote-callout {
  margin: 14px 0 16px 0;
  padding: 14px 18px;
  background: rgba(255, 85, 0, 0.08);
  border-left: 3.5px solid #ff5500;
  border-radius: 0 12px 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cv-quote-icon {
  font-size: 20px;
  line-height: 1;
  color: #ff5500;
  flex-shrink: 0;
  margin-top: 1px;
}

.cv-quote-text {
  margin: 0;
  font-size: 13px;
  font-style: italic;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.6;
}

.cv-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cv-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3.5px 8.5px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.cv-pill.orange {
  background: rgba(255, 85, 0, 0.12);
  border-color: rgba(255, 85, 0, 0.32);
  color: #ff7700;
}

.cv-contact-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.cv-contact-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f4f5;
  padding: 7px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.cv-contact-chip:hover {
  background: rgba(255, 85, 0, 0.2);
  border-color: #ff5500;
  color: #ffffff;
  transform: translateY(-1px);
}

/* =========================================================================
   RESPONSIVE TABLET: PORTRAIT ON PHONES, LANDSCAPE ON DESKTOPS
   ========================================================================= */
@media (max-width: 768px) {
  .tablet-device-chassis {
    width: 95vw;
    height: 92vh;
    max-height: 860px;
    flex-direction: column;
  }

  .tablet-hardware-bezel {
    flex-direction: column;
    padding: 12px 14px;
    border-radius: 36px;
    gap: 8px;
  }

  /* Top Bezel: Camera & Sensor */
  .tablet-bezel-left {
    order: 1;
    width: 100%;
    height: 24px;
    flex-direction: row;
    gap: 12px;
  }

  /* Center Screen: Vertical Display */
  .tablet-screen-display {
    order: 2;
    width: 100%;
    flex: 1;
    border-radius: 18px;
  }

  /* Bottom Bezel: Circular iPad Home Button */
  .tablet-bezel-right {
    order: 3;
    width: 100%;
    height: 48px;
    flex-direction: row;
  }

  .tablet-home-button {
    width: 44px;
    height: 44px;
  }

  /* Split Layout becomes vertical scroll */
  .tablet-split-layout {
    flex-direction: column;
    overflow-y: auto;
  }

  .tablet-vcard-column {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
  }

  .vcard-avatar-wrapper,
  .vcard-avatar-container {
    height: 210px;
  }

  .tablet-segmented-header {
    padding: 10px 14px;
  }

  .segmented-pill-btn {
    padding: 7px 14px;
    font-size: 12px;
  }

  .tablet-metrics-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hobbies-cards-grid {
    grid-template-columns: 1fr;
  }

  .tab-inner-scroll {
    padding: 16px 14px 36px 14px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .tablet-vcard-column {
    width: 320px;
    min-width: 290px;
  }
  .vcard-avatar-wrapper,
  .vcard-avatar-container {
    height: 250px;
  }
}

/* Playout Video & Iframe Embed Styling */
.playout-iframe-element iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #000000;
}

/* Shortcuts & Launchers */
.shortcuts-intro h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  color: #ffffff;
  font-family: var(--font-display);
}

.shortcuts-intro p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.launchers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.launcher-card {
  background: rgba(14, 18, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.launcher-card:hover {
  transform: translateY(-3px);
  border-color: #00d8ff;
  box-shadow: 0 10px 30px rgba(0, 216, 255, 0.2);
}

.launcher-media {
  height: 110px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.launcher-media.av-launcher {
  background-image: url('../assets/images/av-room-hd.jpg');
}

.launcher-media.web-launcher {
  background-image: url('../assets/images/web-room-hd.jpg');
}

.launcher-badge {
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.launcher-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.launcher-body h5 {
  margin: 0;
  font-size: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #ffffff;
}

.launcher-body p {
  margin: 0;
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.4;
}

.launcher-btn {
  margin-top: 8px;
  background: rgba(0, 216, 255, 0.12);
  border: 1px solid rgba(0, 216, 255, 0.3);
  color: #00d8ff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.launcher-btn:hover {
  background: #00d8ff;
  color: #060810;
}

/* Tablet Bottom Dock */
.tablet-app-dock {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 14, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 10001;
}

.dock-app-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-app-icon .d-icon {
  font-size: 18px;
}

.dock-app-icon .d-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
}

.dock-app-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.dock-app-icon.active {
  background: rgba(0, 216, 255, 0.18);
  box-shadow: 0 0 12px rgba(0, 216, 255, 0.3);
}

.dock-app-icon.active .d-label {
  color: #00d8ff;
}

/* Responsive Breakpoints */
@media (max-width: 850px) {
  .tablet-hardware-bezel {
    padding: 24px 20px;
    border-radius: 28px;
  }
  .tablet-app-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cv-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .skills-matrix-grid,
  .certs-grid,
  .launchers-grid {
    grid-template-columns: 1fr;
  }
  .tablet-app-dock {
    padding: 3px 6px;
  }
  .dock-app-icon {
    padding: 3px 6px;
  }
}

/* ==========================================================================
   TESTIMONIALS SHOWCASE MODAL (2026 Ultra-Luxury Glassmorphic Design)
   ========================================================================== */
.testimonials-modal-card {
  max-width: 960px !important;
  width: 92vw;
  max-height: 88vh;
  overflow-y: auto;
  background: rgba(13, 16, 25, 0.96) !important;
  border: 1px solid rgba(255, 170, 0, 0.4) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 170, 0, 0.15) !important;
}

.modal-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.verified-header-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #ffaa00;
  background: rgba(255, 170, 0, 0.12);
  border: 1px solid rgba(255, 170, 0, 0.45);
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255, 170, 0, 0.2);
}

/* KPI Metric Ribbon */
.testimonials-kpi-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 24px;
}

@media (max-width: 768px) {
  .testimonials-kpi-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
}

.kpi-box {
  background: rgba(18, 24, 38, 0.8);
  border: 1px solid rgba(255, 170, 0, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.kpi-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: #ffaa00;
  letter-spacing: -0.5px;
}

.kpi-label {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Spotlight Hero */
.testimonials-spotlight-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  background: linear-gradient(135deg, rgba(26, 32, 50, 0.95) 0%, rgba(15, 18, 28, 0.95) 100%);
  border: 1px solid rgba(255, 170, 0, 0.5);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 170, 0, 0.15);
  position: relative;
  overflow: hidden;
}

@media (max-width: 860px) {
  .testimonials-spotlight-hero {
    grid-template-columns: 1fr;
  }
}

.testimonials-spotlight-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffaa00, #ff6b00, #00d8ff);
}

.spotlight-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffaa00;
  margin-bottom: 12px;
}

.spotlight-quote {
  font-size: 16px;
  line-height: 1.65;
  font-style: italic;
  color: #f1f5f9;
  margin: 0 0 20px;
}

.spotlight-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.spotlight-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffaa00;
}

.spotlight-author-info {
  display: flex;
  flex-direction: column;
}

.spotlight-name {
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
}

.spotlight-title {
  font-size: 12px;
  color: #94a3b8;
}

/* Audio Voice Card in Spotlight */
.audio-voice-card {
  background: rgba(10, 13, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.voice-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.audio-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  animation: pulse-dot 1.5s infinite;
}

.voice-card-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.8px;
}

.voice-card-duration {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
}

.voice-card-caption {
  font-size: 12px;
  color: #8b9bb4;
  line-height: 1.4;
  margin: 0 0 14px;
}

.audio-waveform-player {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 170, 0, 0.08);
  border: 1px solid rgba(255, 170, 0, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.audio-waveform-player:hover {
  background: rgba(255, 170, 0, 0.15);
  border-color: #ffaa00;
}

.voice-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffaa00;
  color: #0b0e17;
  border: none;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-weight: bold;
}

.waveform-bars-container {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
  height: 28px;
}

.wf-bar {
  flex: 1;
  width: 3px;
  background: #ffaa00;
  border-radius: 2px;
  height: 12px;
  transition: height 0.08s ease;
}

.voice-status {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #ffaa00;
  letter-spacing: 0.5px;
}

/* Corporate Trust Logos Ribbon */
.testimonials-partners-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.partners-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.partner-logo-item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.partner-logo-sep {
  color: #334155;
  font-size: 10px;
}

.testimonials-filter-bar {
  display: flex;
  gap: 10px;
  margin: 20px 0 24px;
  flex-wrap: wrap;
}

.test-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.test-filter-btn:hover {
  background: rgba(255, 170, 0, 0.15);
  color: #ffaa00;
  border-color: rgba(255, 170, 0, 0.5);
  transform: translateY(-1px);
}

.test-filter-btn.active {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.25) 0%, rgba(255, 119, 0, 0.35) 100%);
  color: #ffffff;
  border-color: #ffaa00;
  box-shadow: 0 0 16px rgba(255, 170, 0, 0.3);
}

.testimonials-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.testimonial-card {
  background: rgba(18, 22, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  backdrop-filter: blur(16px);
}

.testimonial-card:hover {
  border-color: rgba(255, 170, 0, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 170, 0, 0.15);
}

.test-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.test-card-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.test-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffaa00;
  box-shadow: 0 0 12px rgba(255, 170, 0, 0.3);
}

.test-avatar-initials {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff851a 0%, #ff3311 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 0 12px rgba(255, 133, 26, 0.4);
}

.test-author-info {
  display: flex;
  flex-direction: column;
}

.test-client-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.test-client-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #00ff88;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.check-icon {
  font-size: 11px;
  font-weight: 900;
}

.test-card-stars {
  color: #ffaa00;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.test-card-quote {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: #e2e8f0;
  margin: 0 0 18px;
  font-style: italic;
  flex-grow: 1;
}

.test-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.test-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
}

.tag-av {
  color: #ff851a;
  background: rgba(255, 133, 26, 0.12);
  border: 1px solid rgba(255, 133, 26, 0.3);
}

.tag-web {
  color: #00d8ff;
  background: rgba(0, 216, 255, 0.12);
  border: 1px solid rgba(0, 216, 255, 0.3);
}

.testimonials-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.footer-cta-text p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

/* Explicit Destination Navigation Buttons in Dialogue */
.speech-btn.btn-go-desk {
  background: rgba(255, 136, 0, 0.15);
  border: 1px solid rgba(255, 136, 0, 0.4);
  color: #ffaa33;
}
.speech-btn.btn-go-desk:hover {
  background: rgba(255, 136, 0, 0.3);
  border-color: #ff8800;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 136, 0, 0.4);
}

.speech-btn.btn-go-web,
.speech-btn.btn-view-web {
  background: rgba(0, 216, 255, 0.15);
  border: 1px solid rgba(0, 216, 255, 0.4);
  color: #00d8ff;
}
.speech-btn.btn-go-web:hover,
.speech-btn.btn-view-web:hover {
  background: rgba(0, 216, 255, 0.3);
  border-color: #00d8ff;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 216, 255, 0.4);
}

.speech-btn.btn-go-av,
.speech-btn.btn-view-av {
  background: rgba(255, 68, 0, 0.15);
  border: 1px solid rgba(255, 68, 0, 0.4);
  color: #ff6633;
}
.speech-btn.btn-go-av:hover,
.speech-btn.btn-view-av:hover {
  background: rgba(255, 68, 0, 0.3);
  border-color: #ff4400;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 68, 0, 0.4);
}

.speech-btn.btn-view-testimonials {
  background: rgba(255, 170, 0, 0.18);
  border: 1px solid rgba(255, 170, 0, 0.5);
  color: #ffaa00;
}
.speech-btn.btn-view-testimonials:hover {
  background: rgba(255, 170, 0, 0.35);
  border-color: #ffaa00;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(255, 170, 0, 0.45);
.speech-btn.btn-next-testimonial {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.28), rgba(255, 106, 0, 0.32));
  border: 1px solid rgba(255, 170, 0, 0.65);
  color: #ffc855;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 170, 0, 0.2);
}
.speech-btn.btn-next-testimonial:hover {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.45), rgba(255, 106, 0, 0.5));
  border-color: #ffaa00;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 170, 0, 0.55);
  transform: translateY(-2px);
}

.speech-btn.btn-prev-testimonial {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e2e8f0;
}
.speech-btn.btn-prev-testimonial:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
}

.speech-btn.btn-done-reading {
  background: rgba(255, 136, 0, 0.14);
  border: 1px solid rgba(255, 136, 0, 0.35);
  color: #ffaa44;
}
.speech-btn.btn-done-reading:hover {
  background: rgba(255, 136, 0, 0.28);
  border-color: #ff8800;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 136, 0, 0.4);
}

@media (max-width: 600px) {
  .testimonials-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ENHANCED BROADCAST PLAYOUT UI & EMBED VIDEO FRAME STYLING
   ========================================================================== */
.playout-ingest-btn {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.25) 0%, rgba(255, 60, 0, 0.35) 100%);
  border: 1px solid #ff7700;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.playout-ingest-btn:hover {
  background: linear-gradient(135deg, #ff6600 0%, #ff3300 100%);
  box-shadow: 0 0 16px rgba(255, 102, 0, 0.6);
  transform: translateY(-1px);
}

.playout-wp-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #a0aec0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}
.playout-wp-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.monitor-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-source-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 216, 255, 0.15);
  color: #00d8ff;
  border: 1px solid rgba(0, 216, 255, 0.3);
}
.feed-source-badge.live-embed {
  background: rgba(255, 107, 0, 0.2);
  color: #ff8800;
  border-color: rgba(255, 107, 0, 0.4);
}
.feed-source-badge.native-sdi {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
  border-color: rgba(0, 255, 136, 0.3);
}

.monitor-tool-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.monitor-tool-btn:hover {
  background: var(--orange-primary);
  border-color: var(--orange-bright);
}

.master-monitor-frame.is-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0 !important;
  border: none !important;
}

.playout-iframe-element {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: #000000;
}
.playout-iframe-element iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  object-fit: contain;
}

.broadcast-lower-third {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: stretch;
  background: rgba(11, 14, 22, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 107, 0, 0.4);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(255, 107, 0, 0.2);
  z-index: 5;
  pointer-events: none !important;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.broadcast-lower-third.hiding {
  transform: translateY(40px);
  opacity: 0;
  pointer-events: none;
}
.monitor-screen:hover .broadcast-lower-third.hiding {
  transform: translateY(0);
  opacity: 0.85;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #111522;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.sidebar-add-btn {
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: #ff8800;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.sidebar-add-btn:hover {
  background: var(--orange-primary);
  color: #ffffff;
}

.playout-ingest-modal {
  position: fixed;
  inset: 0;
  z-index: 100500;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease forwards;
}
.ingest-modal-box {
  background: #0f131f;
  border: 1.5px solid rgba(255, 107, 0, 0.45);
  border-radius: 14px;
  width: min(680px, 94vw);
  padding: 24px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 107, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ingest-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}
.ingest-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ingest-live-dot {
  color: #ff3311;
  animation: pulse 1.5s infinite;
  font-size: 16px;
}
.ingest-modal-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}
.ingest-modal-close {
  background: transparent;
  border: none;
  color: #8895aa;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.15s;
}
.ingest-modal-close:hover {
  color: #ff3311;
}
.ingest-modal-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #a0aec0;
}
.ingest-modal-desc strong {
  color: #ffffff;
}
.ingest-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ingest-input-group label,
.ingest-field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #ff8800;
  letter-spacing: 0.5px;
}
.ingest-input-group textarea,
.ingest-field input {
  background: #090c14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  width: 100%;
}
.ingest-input-group textarea:focus,
.ingest-field input:focus {
  border-color: #ff6600;
  box-shadow: 0 0 12px rgba(255, 102, 0, 0.35);
}
.ingest-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ingest-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ingest-presets-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.preset-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #718096;
}
.preset-pill-btn {
  background: #191f2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfd6e4;
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}
.preset-pill-btn:hover {
  background: #252e42;
  border-color: #ff6600;
  color: #ffffff;
}
.ingest-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
}
.ingest-cancel-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #a0aec0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.ingest-cancel-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}
.ingest-submit-btn {
  background: linear-gradient(135deg, #ff5500 0%, #ff2200 100%);
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 51, 0, 0.45);
  transition: all 0.2s;
}
.ingest-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 51, 0, 0.65);
}


