/* ==========================================================================
   HIGH-LEGIBILITY FROSTED GLASS & DYNAMIC SCROLL REFRACTION SYSTEM
   Donye Wilson — Senior Video Editor & 3D Motion Graphics Artist
   Ultra-Legible Typography // Optical Contrast Shields // Smooth Scroll Blur
   ========================================================================== */

:root {
  /* High-Contrast Frosted Glass Palette */
  --bg-deep: #0b0e17;
  --bg-glass-card: rgba(14, 18, 30, 0.76);
  --bg-glass-card-hover: rgba(20, 26, 44, 0.88);
  --bg-glass-drawer: rgba(10, 14, 24, 0.85);
  --bg-spec-box: rgba(6, 9, 16, 0.82);
  
  --amber-core: #ff6820;
  --amber-bright: #ff9d5c;
  --amber-glow: rgba(255, 104, 32, 0.5);
  
  --cyan-refract: #38bdf8;
  --violet-refract: #c084fc;

  /* Razor-sharp high-contrast typography tokens */
  --text-white: #ffffff;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  
  /* Luminous Specular Borders with Dark Optical Backings */
  --glass-blur: blur(36px) saturate(220%);
  --glass-border-specular: rgba(255, 255, 255, 0.35);
  --glass-border-rim: 1.5px solid rgba(255, 255, 255, 0.45);
  --glass-shadow-heavy: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 104, 32, 0.15);
  --text-shadow-crisp: 0 2px 8px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.9);
  
  --font-display: 'Inter Tight', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Instrument Sans', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', 'PT Mono', monospace;
  
  --radius-glass: 22px;
  --radius-sm: 12px;
  --radius-pill: 9999px;
  --transition-fluid: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100vw;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 10%, #151b2c 0%, #0b0e17 100%);
}

/* ==========================================================================
   DYNAMIC SCROLL-BLUR AMBIENT BACKGROUND VIDEO
   ========================================================================== */
.ambient-video-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1.0;
  /* Crystal-clear high exposure at top; dynamically blurred on scroll via JS */
  filter: contrast(112%) brightness(138%) saturate(155%) blur(0px);
  transform: scale(1.04);
  transition: filter 0.2s ease-out;
  will-change: filter;
}

.bg-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.12) 0%, rgba(11, 14, 23, 0.2) 60%, rgba(11, 14, 23, 0.45) 100%);
  transition: background-color 0.2s ease-out;
}

.liquid-caustics-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2.5px 2.5px at 70px 90px, rgba(255, 180, 100, 0.5), transparent),
    radial-gradient(2px 2px at 140px 160px, rgba(216, 180, 254, 0.45), transparent);
  background-size: 140px 140px;
  opacity: 0.85;
}

.caustic-ambient-1 {
  position: fixed;
  top: 5%;
  left: 8%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 115, 36, 0.28) 35%, transparent 70%);
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
}

.caustic-ambient-2 {
  position: fixed;
  top: 30%;
  right: 5%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(192, 132, 252, 0.25) 40%, transparent 70%);
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
}

.caustic-ambient-3 {
  position: fixed;
  bottom: 5%;
  left: 20%;
  width: 850px;
  height: 850px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(56, 189, 248, 0.22) 40%, transparent 75%);
  filter: blur(95px);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   HIGH-CONTRAST FROSTED GLASS NAVIGATION BAR
   ========================================================================== */
.navigation-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
}

.rowan-nav-bar {
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(14, 18, 30, 0.78);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  position: relative;
}

.container-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-desktop-link-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fluid);
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.nav-link-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.nav-link-item.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 104, 32, 0.85), rgba(255, 140, 60, 0.75));
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 104, 32, 0.6), inset 0 1px 1px #fff;
}

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

.liquid-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text-white);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: all var(--transition-fluid);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.liquid-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 1px #fff;
}

.liquid-btn.primary {
  background: linear-gradient(135deg, #ff601a 0%, #ff8c42 100%);
  border: 1.5px solid #ffffff;
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 96, 26, 0.6), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9);
}

.liquid-btn.primary:hover {
  box-shadow: 0 0 36px rgba(255, 96, 26, 0.85), inset 0 1.5px 1.5px #fff;
  transform: translateY(-2px);
}

.refraction-orb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, #ff9e5c);
  box-shadow: 0 0 16px #ff6820;
  animation: pulse-orb 2.5s infinite ease-in-out;
}

@keyframes pulse-orb {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.4); opacity: 1; filter: drop-shadow(0 0 16px #ffffff); }
}

/* ==========================================================================
   MONUMENTAL WELCOME HERO WITH CRISP CONTRAST
   ========================================================================== */
.main-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.spectral-hero-section {
  width: 100%;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 140px 24px 70px;
}

.spectral-halo {
  position: absolute;
  width: 850px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.45) 0%, rgba(255, 115, 36, 0.35) 35%, rgba(192, 132, 252, 0.25) 60%, transparent 85%);
  filter: blur(85px);
  pointer-events: none;
  z-index: 1;
}

.spectral-welcome-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 14vw, 180px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.88) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.8));
  position: relative;
  z-index: 2;
}

.spectral-line {
  width: 180px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fff, #ff7324, #d8b4fe, #fff, transparent);
  margin: 24px 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.95);
}

.hero-scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: rgba(14, 18, 30, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  transition: all var(--transition-fluid);
  animation: bounce-subtle 2s infinite ease-in-out;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-scroll-indicator:hover {
  background: rgba(255, 104, 32, 0.85);
  border-color: #fff;
  box-shadow: 0 0 36px rgba(255, 104, 32, 0.8), inset 0 1px 1px #fff;
  transform: translateY(2px);
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================================================
   SELECTED WORKS: HIGH-CONTRAST EXPANDABLE PROJECT ROWS
   ========================================================================== */
.rowan-works-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-margin-top: 90px;
}

.section-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber-bright);
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.section-heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: var(--text-shadow-crisp);
}

.section-subtext {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #cbd5e1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.rowan-work-row {
  background: var(--bg-glass-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-glass);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 1.5px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: var(--glass-shadow-heavy), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.rowan-work-row:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: var(--bg-glass-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 104, 32, 0.25), inset 0 1.5px 1.5px #fff;
}

.row-summary-bar {
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 50px 96px 2fr 1.3fr 1fr 36px;
  align-items: center;
  gap: 18px;
}

@media (max-width: 900px) {
  .row-summary-bar {
    grid-template-columns: 36px 72px 1fr auto;
    gap: 12px;
    padding: 14px 18px;
  }
  .col-hide-mobile {
    display: none;
  }
}

.row-thumb-preview {
  position: relative;
  width: 96px;
  height: 54px;
  min-width: 96px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  background: rgba(4, 6, 12, 0.8);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 900px) {
  .row-thumb-preview {
    width: 72px;
    height: 42px;
    min-width: 72px;
  }
}

.rowan-work-row:hover .row-thumb-preview {
  transform: scale(1.04);
  border-color: rgba(255, 184, 0, 0.7);
  box-shadow: 0 6px 20px rgba(255, 104, 32, 0.3), 0 0 12px rgba(255, 184, 0, 0.3);
}

.row-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.05);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.rowan-work-row:hover .row-thumb-img {
  filter: brightness(1.06) contrast(1.1);
  transform: scale(1.05);
}

.thumb-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: rgba(10, 14, 24, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #fff;
  opacity: 0.85;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.rowan-work-row:hover .thumb-play-icon {
  background: linear-gradient(135deg, #ff601a, #ff9f1c);
  color: #000;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 12px rgba(255, 104, 32, 0.8);
  border-color: #fff;
}

.row-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber-bright);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.row-title-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.row-project-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: var(--text-shadow-crisp);
}

.row-category-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #cbd5e1;
  text-transform: uppercase;
  font-weight: 600;
}

.row-role-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #f1f5f9;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.row-format-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  color: #fff;
  font-weight: 700;
  width: fit-content;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.row-toggle-icon {
  font-size: 18px;
  color: #fff;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rowan-work-row.expanded .row-toggle-icon {
  transform: rotate(45deg);
  color: var(--amber-bright);
}

.row-expandable-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-glass-drawer);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.rowan-work-row.expanded .row-expandable-content {
  max-height: 850px;
  opacity: 1;
  padding: 32px;
}

.expandable-video-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 990px) {
  .expandable-video-grid {
    grid-template-columns: 1fr;
  }
}

.row-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.row-video-player.mode-9-16 {
  aspect-ratio: 9 / 16;
  max-height: 520px;
  width: auto;
  margin: 0 auto;
}

.row-video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-meta-card {
  background: rgba(14, 18, 30, 0.85);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-glass);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.project-hero-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-shadow: var(--text-shadow-crisp);
}

.project-narrative {
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
}

/* 2-Column Clean Specs Grid: PIPELINE and SOFTWARE Only */
.project-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.spec-box {
  background: var(--bg-spec-box);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.spec-box .label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.spec-box .val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber-bright);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   UNIFIED HIGH-CONTRAST YOUTUBE & CREATOR SECTION
   ========================================================================== */
.youtube-showcase-section {
  max-width: 1400px;
  margin: 72px auto 0;
  width: 100%;
  padding: 0 24px;
}

.ytjobs-verified-banner {
  background: var(--bg-glass-card);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-glass);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--glass-shadow-heavy), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ytjobs-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 24px;
}

.ytjobs-brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ytjobs-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 0 28px rgba(255, 0, 0, 0.6);
}

.ytjobs-title-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  text-shadow: var(--text-shadow-crisp);
}

.verified-check-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.6);
  color: #34d399;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}

.ytjobs-subtext {
  font-size: 13px;
  color: #cbd5e1;
  margin-top: 4px;
}

.ytjobs-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.ytjobs-stat-card {
  background: var(--bg-spec-box);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.ytjobs-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  text-shadow: var(--text-shadow-crisp);
}

.ytjobs-stat-num .accent {
  color: var(--amber-bright);
}

.ytjobs-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.ytjobs-reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 800px) {
  .ytjobs-reviews-grid {
    grid-template-columns: 1fr;
  }
}

.yt-review-card {
  background: var(--bg-spec-box);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.review-quote-body {
  font-size: 13px;
  line-height: 1.6;
  color: #f1f5f9;
  font-style: italic;
}

.review-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
}

.review-client-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.review-client-stats {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #94a3b8;
}

.review-rating-stars {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Partnered YouTube Channels with Official Logos */
.partner-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.partner-channel-card {
  background: var(--bg-spec-box);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all var(--transition-fluid);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.partner-channel-card:hover {
  background: rgba(255, 104, 32, 0.25);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 104, 32, 0.35);
}

.channel-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, #ff601a, #c084fc);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

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

.channel-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-subs {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   CONTACT CTA & FOOTER
   ========================================================================== */
.rowan-contact-cta-section {
  max-width: 1400px;
  margin: 100px auto 0;
  width: 100%;
  padding: 0 24px;
}

.contact-button-wrapper {
  background: var(--bg-glass-card);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-glass);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--glass-shadow-heavy), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
}

.rowan-big-contact-btn {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-btn-text {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 30%, #ff9e5e 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.5));
}

.contact-underline-wrapper {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
}

.contact-underline-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff601a, #ffbe3b, #c084fc, #fff);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px var(--amber-core);
}

.rowan-big-contact-btn:hover .contact-underline-fill {
  width: 100%;
}

.rowan-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 14, 24, 0.9);
  backdrop-filter: blur(32px);
  padding: 64px 24px 40px;
  margin-top: 90px;
}

.top-footer-bar {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 990px) {
  .top-footer-bar {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .top-footer-bar {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand-desc {
  font-size: 13px;
  color: #cbd5e1;
  max-width: 320px;
  line-height: 1.65;
  margin-top: 12px;
}

.footer-col-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  font-family: var(--font-display);
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: all var(--transition-fluid);
}

.footer-nav-link:hover {
  color: var(--amber-bright);
  transform: translateX(4px);
}

.bottom-footer-bar {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-sub-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition-fluid);
}

.footer-sub-link:hover {
  color: var(--amber-bright);
}

/* ==========================================================================
   CONTACT & INQUIRY MODAL (Dark Frosted Glass with Spacious Inputs)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 16, 0.85);
  backdrop-filter: blur(24px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-card {
  background: rgba(14, 18, 30, 0.96);
  backdrop-filter: var(--glass-blur);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-top: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 106, 0, 0.25);
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-head {
  padding: 20px 28px;
  background: rgba(10, 14, 24, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-bright);
  letter-spacing: 0.06em;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--amber-bright);
  border-color: var(--amber-bright);
  transform: scale(1.08);
}

.modal-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.form-input, .form-textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(8, 12, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(148, 163, 184, 0.65);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--amber-bright);
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.5);
  background: rgba(12, 16, 28, 0.95);
}

.modal-footer-direct {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.modal-footer-direct a {
  color: var(--amber-core);
  text-decoration: none;
}

.modal-footer-direct a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & SCALING
   ========================================================================== */

@media (max-width: 900px) {
  .rowan-nav-bar {
    padding: 10px 12px !important;
    border-radius: 20px !important;
  }
  
  .container-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  
  .nav-desktop-link-wrapper, .header-actions {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .nav-desktop-link-wrapper {
    justify-content: flex-start !important;
  }
  
  .header-actions {
    justify-content: center !important;
    gap: 8px !important;
  }
  
  .nav-desktop-link-wrapper::-webkit-scrollbar, .header-actions::-webkit-scrollbar {
    display: none;
  }
  
  .nav-link-item, .liquid-btn {
    flex-shrink: 0 !important;
  }
}

@media (max-width: 768px) {
  .spectral-hero-section {
    padding: 100px 16px 40px;
    min-height: 60vh;
  }
}

@media (max-width: 600px) {
  .liquid-btn, .nav-link-item {
    font-size: 9px !important;
    padding: 6px 12px !important;
  }

  .row-summary-bar {
    grid-template-columns: 24px 60px 1fr 24px !important;
    padding: 12px 14px !important;
    gap: 10px !important;
  }
  
  .row-title-block {
    min-width: 0; /* Fixes grid overflow */
    padding-right: 8px;
  }
  
  .row-project-title {
    font-size: 15px !important;
    line-height: 1.2;
    word-break: break-word;
  }

  .row-thumb-preview {
    width: 60px !important;
    height: 34px !important;
    min-width: 60px !important;
  }
  
  .rowan-work-row.expanded .row-expandable-content {
    padding: 16px !important;
  }
  
  .project-hero-title {
    font-size: 18px !important;
  }
  
  .project-specs-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-button-wrapper {
    padding: 32px 20px !important;
  }
  .contact-btn-text {
    font-size: clamp(28px, 8vw, 76px) !important;
  }
  .ytjobs-verified-banner {
    padding: 24px !important;
  }
  .modal-card {
    margin: 10px !important;
  }
  .modal-body {
    padding: 20px 20px 24px !important;
  }
}