/* ==========================================================================
   JUDY KAREN · CINEMATIC SCROLL-DRIVEN PORTFOLIO (1000 FRAMES)
   Sunset Orange Theme · Averia Serif Libre & Roboto Typography · Pure Vanilla
   ========================================================================== */

@font-face {
  font-family: 'CustomHeroFont';
  src: url('font.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-black: #060608;
  --bg-deep: #0a0a0f;

  --fg-main: #f8fafc;
  --fg-muted: #94a3b8;
  --fg-subtle: #64748b;
  --fg-dim: rgba(255, 255, 255, 0.4);

  /* Vibrant Sunset Orange Color Theme */
  --accent-orange: #f97316;
  --accent-orange-light: #fdba74;
  --accent-orange-bright: #fb923c;
  --accent-orange-deep: #ea580c;
  --accent-orange-glow: rgba(249, 115, 22, 0.35);
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.2);

  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-hover: rgba(249, 115, 22, 0.45);
  --border-active: rgba(249, 115, 22, 0.75);

  /* Curated Typography System */
  --font-custom: 'CustomHeroFont', 'Outfit', serif;
  --font-heading-averia: 'Averia Serif Libre', Georgia, serif;
  --font-desc-roboto: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);

  --page-pad: 4rem;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  background-color: var(--bg-black);
  color: var(--fg-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-black);
  color: var(--fg-main);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body.loading {
  overflow: hidden;
}

/* ==========================================================================
   Custom Cursor Glow (Warm Sunset Orange)
   ========================================================================== */

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-orange-glow) 0%, rgba(234, 88, 12, 0.08) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9990;
  opacity: 0.65;
  transition: opacity 0.3s ease, transform 0.15s ease-out;
  mix-blend-mode: screen;
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  box-shadow: 0 0 12px var(--accent-orange);
  transition: transform 0.08s ease-out, background-color 0.2s ease;
}

@media (pointer: coarse) {

  .cursor-glow,
  .cursor-dot {
    display: none !important;
  }
}

/* ==========================================================================
   Preloader Screen
   ========================================================================== */

.preloader {
  position: fixed;
  inset: 0;
  background-color: #050508;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-cinematic), visibility 0.6s var(--ease-cinematic);
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  max-width: 420px;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.preloader-logo {
  width: 240px;
  max-width: 70vw;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(249, 115, 22, 0.45));
  animation: preloaderLogoPulse 2.2s ease-in-out infinite;
}

@keyframes preloaderLogoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.88;
    filter: drop-shadow(0 0 15px rgba(249, 115, 22, 0.35));
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 0 30px rgba(249, 115, 22, 0.7));
  }
}

.preloader-bar-wrap {
  width: 160px;
  max-width: 60vw;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-orange-deep), var(--accent-orange-bright));
  border-radius: 6px;
  box-shadow: 0 0 14px var(--accent-orange);
  transition: width 0.15s ease-out;
}

.preloader-progress-wrap {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preload-percent {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-orange-light);
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.55);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
  Cinematic Viewport & Canvas Stage
  ========================================================================== */

.cinematic-viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: 10;
  background-color: var(--bg-black);
}

#stageCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
  contain: strict;
}

.viewport-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, transparent 35%, rgba(6, 6, 8, 0.45) 75%, rgba(6, 6, 8, 0.95) 100%);
  pointer-events: none;
  z-index: 2;
}

.ambient-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.22;
}

.glow-top-left {
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, var(--accent-orange-glow) 0%, transparent 70%);
}

.glow-bottom-right {
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.25) 0%, transparent 70%);
}

/* ==========================================================================
   Top Header Branding
   ========================================================================== */

.hud-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 1.1s var(--ease-cinematic) 0.15s, transform 1.1s var(--ease-cinematic) 0.15s;
}

body.experience-ready .hud-header {
  opacity: 1;
  transform: translateY(0);
}

.hud-brand {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-logo-img {
  height: 125px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 14px rgba(249, 115, 22, 0.2));
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), filter 0.35s ease;
}

.hud-brand:hover .brand-logo-img {
  transform: scale(1.08) translateY(-1px);
  filter: drop-shadow(0 4px 16px rgba(249, 115, 22, 0.45));
}

.hud-brand:active .brand-logo-img {
  transform: scale(0.98);
}

/* ==========================================================================
   JUDY KAREN CINEMATIC SCROLL-DRIVEN PORTFOLIO (500 FRAMES)
   ========================================================================== */

.timeline-layers {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  overflow: hidden;
}

.timeline-section {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem var(--page-pad);
  opacity: 0;
  visibility: hidden;
  transform: translateY(35px);
  filter: blur(5px);
  transition: opacity 0.5s var(--ease-cinematic), transform 0.5s var(--ease-cinematic), filter 0.5s var(--ease-cinematic), visibility 0.5s;
  pointer-events: none;
  overflow: hidden;
}

.timeline-section.active {
  opacity: 1;
  visibility: visible;
  filter: blur(0px);
  transform: translateY(0);
  pointer-events: auto;
}

.section-container {
  width: 100%;
  display: flex;
}

/* Left Side Layout (Flush with Header Logo) */
.side-left-container {
  justify-content: flex-start;
}

/* Right Side Layout (Flush with Right Padding) */
.side-right-container {
  justify-content: flex-end;
}

/* Dual Split Layout (Equal Spacing Both Sides) */
.split-dual-container {
  justify-content: space-between;
  align-items: center;
  gap: 4.5rem;
  width: 100%;
}

/* Clean Eyebrow Tag */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent-orange);
  margin-bottom: 0.8rem;
}

.tag-title {
  font-weight: 600;
}

/* Headings & Sunset Orange Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-orange) 75%, var(--accent-orange-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   TURN 1: 3-Part Sequential Animation Layout
   1. Bottom Center: Big Name with font.otf (Shows first, fades out first)
   2. Left: Profession (Vertically centered, types out on scroll)
   3. Right: Description & Action Pill (Vertically centered, fades in on scroll)
   ========================================================================== */

/* 1. Bottom Center Big Name */
.turn1-bottom-name {
  position: absolute;
  bottom: 3vh;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  user-select: none;
  z-index: 12;
  transition: opacity 0.25s linear, transform 0.25s linear;
}

.hero-big-name-text {
  font-family: var(--font-custom);
  font-size: clamp(4.5rem, 15vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
  line-height: 0.85;
  text-align: center;
  text-shadow: 0 10px 45px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

/* 2. Vertically Centered Split Row for Left & Right Columns */
.turn1-split-row {
  position: absolute;
  inset: 0;
  padding: 0 var(--page-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 15;
  transition: opacity 0.4s var(--ease-cinematic), transform 0.4s var(--ease-cinematic), filter 0.4s var(--ease-cinematic);
}

/* Left Column: Profession (Scroll-Driven Typing) */
.turn1-col-left {
  flex: 1;
  max-width: 500px;
  pointer-events: auto;
  text-align: center;
}

.hero-profession-heading {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95);
  min-height: 2.2em;
  text-align: center;
}

/* Right Column: Description & Action Pill Button */
.turn1-col-right {
  flex: 1;
  max-width: 430px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.hero-description-lead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  color: #cbd5e1;
  line-height: 1.65;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
  text-align: center;
}

.hero-action-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.28rem 0.28rem 0.28rem 0.28rem;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-deep));
  border: none;
  border-radius: 100px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 18px var(--accent-orange-glow);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pill-arrow-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent-orange-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
  flex-shrink: 0;
  z-index: 2;
}

.pill-arrow-icon svg {
  width: 13px;
  height: 13px;
}

.pill-text {
  display: inline-block;
  padding-right: 0.85rem;
  padding-left: 0.1rem;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  z-index: 1;
}

/* Hover: Complete Position Swap (Arrow circle slides completely to right, Text slides completely to left) */
.hero-action-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.75);
}

.hero-action-pill-btn:hover .pill-arrow-icon {
  transform: translateX(var(--swap-arrow-x, 80px));
}

.hero-action-pill-btn:hover .pill-text {
  transform: translateX(var(--swap-text-x, -30px));
}

/* Scroll Typewriter Cursor (Sunset Orange) */
.scroll-type-cursor {
  display: inline-block;
  color: var(--accent-orange);
  font-weight: 300;
  margin-left: 2px;
  animation: blink 0.8s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ==========================================================================
   TURN 2: Content-Driven Core Disciplines (Left) & Portfolio Showcase (Right)
   ========================================================================== */

#sectionSkills {
  padding-top: max(6.5rem, 110px);
  padding-bottom: max(1.5rem, 20px);
}

.dual-showcase-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  pointer-events: auto;
}

/* --- Left Column: Core Disciplines & Project Tracker --- */
.turn2-left-editorial {
  flex: 0 0 auto;
  width: clamp(280px, 32vw, 420px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
}

.turn2-left-editorial .eyebrow-tag {
  margin-bottom: 0.2rem;
}

.turn2-left-editorial .section-title-clean {
  text-align: left;
  margin-bottom: 0.3rem;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.12;
}

.turn2-left-editorial .skills-subtitle {
  text-align: left;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--fg-muted);
  max-width: 100%;
}

/* Discipline Badges Row */
.disciplines-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.discipline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--fg-muted);
  transition: all 0.35s ease;
  user-select: none;
}

.discipline-badge .badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fg-dim);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.discipline-badge.active-discipline {
  background: rgba(249, 115, 22, 0.12);
  border-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.25);
}

.discipline-badge.active-discipline .badge-dot {
  background: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange);
}

/* Project Tracker Box */
.project-tracker-box {
  width: 100%;
  background: rgba(14, 14, 20, 0.45);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 0.95rem 1.2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.project-tracker-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-orange), var(--accent-orange-deep));
}

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

.tracker-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-orange-light);
}

.tracker-category {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--fg-subtle);
  text-transform: uppercase;
}

.tracker-title {
  font-family: var(--font-heading-averia);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.tracker-desc {
  font-family: var(--font-desc-roboto);
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.tracker-dots-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.tracker-dots-nav .dot-btn {
  width: 22px;
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tracker-dots-nav .dot-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.tracker-dots-nav .dot-btn.active-dot {
  width: 34px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-bright));
  box-shadow: 0 0 10px var(--accent-orange);
}

/* --- Right Column: Synchronized Floating Portfolio Mockups --- */
.turn2-right-stage {
  flex: 0 0 auto;
  width: clamp(340px, 42vw, 560px);
  position: relative;
  min-height: 400px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-cards-track {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card.active-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Floating Mockup Inner Wrapper - No background container, blurred soft edge glow & continuous levitation animation */
.portfolio-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 420px;
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatMockup 4.5s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

@keyframes floatMockup {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.4deg);
  }
}

.portfolio-card-inner:hover {
  animation-play-state: paused;
  transform: translateY(-12px) scale(1.03);
}

/* Card Media / Thumbnail Viewport */
.card-media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 420px;
  background: transparent;
  overflow: visible;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Pure Mockup Image: 100% visible, no cropped corners, subtle blurred aura border glow */
.card-cover-img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: contain;
  object-position: center center;
  display: block;
  /* Blurred glowing border/aura effect around transparent PNG edges */
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 20px rgba(249, 115, 22, 0.18));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

/* On hover: Blur ONLY the image itself */
.portfolio-card-inner:hover .card-cover-img {
  transform: scale(1.02);
  filter: blur(4px) drop-shadow(0 25px 45px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 35px rgba(249, 115, 22, 0.45));
}

.card-platform-badge {
  position: absolute;
  top: 0;
  left: 0.5rem;
  padding: 0.32rem 0.8rem;
  background: rgba(6, 6, 8, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-orange-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 10;
  pointer-events: none;
}

/* Hover Eye Overlay - Transparent without container blurring */
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  gap: 0.6rem;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 5;
  pointer-events: none;
}

.card-media-wrap:hover .card-hover-overlay {
  opacity: 1;
}

.btn-eye-preview {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-deep));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.7);
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
}

.card-media-wrap:hover .btn-eye-preview {
  transform: scale(1);
}

.card-media-wrap:hover .btn-eye-preview:hover {
  transform: scale(1.1);
  box-shadow: 0 0 35px var(--accent-orange);
}

.preview-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Classy Frosted Glass Blur Card Content at the bottom of the image */
.card-content-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1.1rem 1.35rem 1.25rem 1.35rem;
  background: linear-gradient(180deg, rgba(8, 8, 14, 0.58) 0%, rgba(6, 6, 8, 0.9) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.4);
  z-index: 5;
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.portfolio-card-inner:hover .card-content-wrap {
  background: linear-gradient(180deg, rgba(12, 12, 18, 0.72) 0%, rgba(6, 6, 8, 0.95) 100%);
  border-top-color: rgba(249, 115, 22, 0.35);
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.35rem;
}

.card-project-title {
  font-family: var(--font-heading-averia);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.card-quick-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
  z-index: 6;
}

.card-quick-link:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--accent-orange-glow);
}

.card-excerpt {
  font-family: var(--font-desc-roboto);
  font-size: 0.85rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-preview-btn {
  background: transparent;
  border: 1px solid rgba(249, 115, 22, 0.45);
  border-radius: 100px;
  color: var(--accent-orange-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.3s ease;
}

.card-preview-btn:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--accent-orange);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.25);
}

/* ==========================================================================
   PORTFOLIO PREVIEW LIGHTBOX MODAL
   ========================================================================== */

.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  pointer-events: none;
}

.portfolio-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

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

.modal-wrapper {
  position: relative;
  width: 92vw;
  max-width: 1240px;
  height: 88vh;
  max-height: 860px;
  background: rgba(12, 12, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 45px rgba(249, 115, 22, 0.18);
  transform: scale(0.94) translateY(24px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.portfolio-modal.is-open .modal-wrapper {
  transform: scale(1) translateY(0);
}

/* Modal Top Bar */
.modal-header {
  padding: 1.2rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 12, 0.7);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
  z-index: 10;
}

.modal-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.modal-category-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-orange-light);
  text-transform: uppercase;
}

.modal-project-title {
  font-family: var(--font-heading-averia);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Top-Right "Visit Site" Button matching reference */
.modal-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.35rem;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-deep));
  color: #ffffff;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.modal-visit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.75);
}

.modal-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-close-btn:hover {
  background: rgba(234, 88, 12, 0.25);
  border-color: var(--accent-orange);
  transform: rotate(90deg);
}

/* Modal Scrollable Body */
.modal-body-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 2.2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-orange) rgba(255, 255, 255, 0.05);
}

.modal-body-scroll::-webkit-scrollbar {
  width: 6px;
}

.modal-body-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-orange);
  border-radius: 6px;
}

.modal-grid-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Modal Preview Stage (Mockup) */
.modal-preview-stage {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-preview-viewport {
  width: 100%;
  max-height: 620px;
  overflow-y: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #040406;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  scrollbar-width: thin;
  scrollbar-color: var(--accent-orange-deep) rgba(255, 255, 255, 0.04);
}

.modal-preview-viewport::-webkit-scrollbar {
  width: 5px;
}

.modal-preview-viewport::-webkit-scrollbar-thumb {
  background: var(--accent-orange-deep);
  border-radius: 5px;
}

.modal-full-img {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-caption-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--fg-subtle);
  padding: 0 0.4rem;
}

.mockup-caption-bar .caption-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
}

/* Modal Details Stage */
.modal-details-stage {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.details-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  transition: border-color 0.3s ease;
}

.details-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.details-card.highlight-card {
  background: rgba(249, 115, 22, 0.05);
  border-color: rgba(249, 115, 22, 0.3);
}

.details-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-orange-light);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.details-text {
  font-family: var(--font-desc-roboto);
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.68;
}

.details-text.highlight {
  color: #ffffff;
  font-weight: 500;
}

.details-footer-action {
  margin-top: 0.5rem;
}

.details-visit-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.9rem 1.8rem;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-deep));
  color: #ffffff;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.details-visit-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.7);
}

/* ==========================================================================
   TURN 3: 5-Card Interactive Fanned Glitter Glass Testimonial Deck
   - Perfectly centered vertically on the left side of the screen
   - Fanned deck stack in idle state with natural rotations & depth
   - Expanding on hover into a spread layout revealing all 5 reviews
   - Deep frosted glassmorphism (24px blur + specular edge highlights)
   - Dynamic glitter shimmer sweep & twinkling sparkle stars
   - 5 unique luxury glass color tints matching the theme
   - Left-anchored layout leaving center/lady completely unblocked
   ========================================================================== */

#sectionTestimonials {
  padding-top: max(6.5rem, 110px);
  padding-bottom: max(2rem, 30px);
  display: flex;
  align-items: center;
}

.deck-testimonials-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  gap: 50px;
  left: 40px;
  z-index: 2;
  pointer-events: auto;
}

/* Ambient Refractive Glow Spheres */
.deck-sphere-1 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.38) 0%, rgba(234, 88, 12, 0.12) 55%, transparent 70%);
  top: -30px;
  left: -40px;
  filter: blur(45px);
  animation: ambientFloat1 7s ease-in-out infinite alternate;
}

.deck-sphere-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(245, 158, 11, 0.12) 55%, transparent 70%);
  bottom: -30px;
  right: -20px;
  filter: blur(45px);
  animation: ambientFloat2 8s ease-in-out infinite alternate;
}

@keyframes ambientFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(15px, 18px) scale(1.08); }
}

@keyframes ambientFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-18px, -15px) scale(1.06); }
}

/* Header Information */
.deck-header-block {
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.deck-header-block .eyebrow-tag {
  margin-bottom: 0.2rem;
}

.deck-header-block .section-title-clean {
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.12;
  margin-bottom: 0.35rem;
}

.deck-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent-orange-light);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  user-select: none;
}

.sparkle-glyph {
  font-size: 0.82rem;
  color: #fbbf24;
  filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.8));
  animation: sparkleTwinkle 2.5s ease-in-out infinite alternate;
}

@keyframes sparkleTwinkle {
  0% { transform: scale(0.85) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.2) rotate(45deg); opacity: 1; filter: drop-shadow(0 0 8px rgba(249, 115, 22, 1)); }
  100% { transform: scale(0.9) rotate(90deg); opacity: 0.75; }
}

/* --- The 5-Card Deck Stage & Container --- */
.reviews-deck-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  perspective: 1200px;
}

.reviews-card-deck {
  position: relative;
  width: 100%;
  min-height: 205px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: transform 0.4s ease;
  padding-left: 20px;
}

/* Base Fan Card Styling */
.deck-fan-card {
  position: absolute;
  width: clamp(260px, 24vw, 290px);
  min-height: 160px;
  padding: 1rem 1.2rem 0.95rem 1.2rem;
  border-radius: 18px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 
    0 16px 36px rgba(0, 0, 0, 0.65), 
    0 4px 14px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  user-select: none;
  cursor: pointer;
  transform-origin: center center;
  
  /* Idle clustered fan-out */
  transform: translate(var(--idle-x, 0), var(--idle-y, 0)) rotate(var(--idle-rot, 0deg));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s ease, 
              border-color 0.4s ease;
  will-change: transform;
}

/* Expanded State: When deck is hovered or .is-expanded */
.reviews-card-deck:hover .deck-fan-card,
.reviews-card-deck.is-expanded .deck-fan-card {
  transform: translate(var(--exp-x, 0), var(--exp-y, 0)) rotate(var(--exp-rot, 0deg));
}

/* Individual Card Hover: Elevates to top with glitter aura */
.reviews-card-deck .deck-fan-card:hover {
  z-index: 50 !important;
  transform: translate(calc(var(--exp-x, 0) * 1.05), calc(var(--exp-y, 0) * 1.05)) scale(1.06) rotate(0deg) !important;
  box-shadow: 
    0 28px 65px rgba(0, 0, 0, 0.85),
    0 0 35px var(--accent-orange-glow),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.65),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4) !important;
  border-color: rgba(249, 115, 22, 0.6) !important;
}

/* Active Top Card highlight */
.deck-fan-card.is-active-top {
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 
    0 22px 50px rgba(0, 0, 0, 0.75),
    0 0 24px rgba(249, 115, 22, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

/* --- Glitter Specular Glare Sweep Effect --- */
.card-glitter-sweep {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.05) 46%,
    rgba(255, 240, 220, 0.22) 50%,
    rgba(255, 255, 255, 0.05) 54%,
    transparent 65%
  );
  transform: rotate(25deg) translateY(-120%);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}

.deck-fan-card:hover .card-glitter-sweep {
  transform: rotate(25deg) translateY(120%);
}

/* Sparkle Star glyph */
.card-sparkle-star {
  position: absolute;
  top: 0.95rem;
  right: 1.05rem;
  font-size: 0.82rem;
  color: var(--accent-orange-bright);
  filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.85));
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  z-index: 4;
}

.deck-fan-card:hover .card-sparkle-star {
  transform: scale(1.3) rotate(30deg);
  opacity: 1;
}

/* --- 5 Luxury Glass Color Tints --- */
/* 1. Amber Glow Glass */
.card-theme-amber {
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.22) 0%, rgba(16, 12, 18, 0.78) 100%);
  border-color: rgba(249, 115, 22, 0.32);
}

/* 2. Amethyst Twilight Glass */
.card-theme-amethyst {
  background: linear-gradient(145deg, rgba(147, 51, 234, 0.22) 0%, rgba(14, 10, 22, 0.82) 100%);
  border-color: rgba(168, 85, 247, 0.32);
}

/* 3. Obsidian Dark Glass */
.card-theme-obsidian {
  background: linear-gradient(145deg, rgba(28, 28, 38, 0.85) 0%, rgba(8, 8, 12, 0.94) 100%);
  border-color: rgba(255, 255, 255, 0.18);
}

/* 4. Twilight Dusk Glass */
.card-theme-twilight {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.2) 0%, rgba(10, 14, 24, 0.82) 100%);
  border-color: rgba(96, 165, 250, 0.3);
}

/* 5. Sunset Ember Glass */
.card-theme-sunset {
  background: linear-gradient(145deg, rgba(234, 88, 12, 0.26) 0%, rgba(14, 10, 16, 0.84) 100%);
  border-color: rgba(251, 146, 60, 0.38);
}

/* --- Stars Row --- */
.deck-card-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 0.35rem;
  z-index: 3;
}

.star-glyph {
  font-size: 0.82rem;
  background: linear-gradient(135deg, #fbbf24, var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.55));
}

/* --- Quote Text --- */
.deck-card-quote {
  font-family: var(--font-desc-roboto);
  font-size: 0.8rem;
  line-height: 1.42;
  color: #e2e8f0;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  z-index: 3;
}

/* --- Author Row --- */
.deck-card-author-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  z-index: 3;
}

.deck-author-avatar-frame {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.deck-avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-orange-light);
  background: rgba(249, 115, 22, 0.15);
}

.deck-author-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.deck-author-name {
  font-family: var(--font-heading-averia);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deck-author-role {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Quick Navigation Dots Track --- */
.deck-dots-track {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding-left: 0.2rem;
  z-index: 5;
}

.deck-nav-dot {
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-nav-dot:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.deck-nav-dot.active-dot {
  width: 28px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-bright));
  box-shadow: 0 0 10px var(--accent-orange);
}

/* ==========================================================================
   TURN 4: Let's Connect (DUAL SPLIT: Left Bio + Right Clean Form)
   Slimmer Widths so the Lady's Face & Shoulders Remain 100% Unblocked
   ========================================================================== */

.connect-left-column {
  flex: 1;
  max-width: 360px;
  width: 100%;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.connect-headline {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.connect-description {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.1rem;
  text-align: center;
}

.availability-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.45rem 0.85rem;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-orange-light);
  margin-bottom: 1.3rem;
  width: fit-content;
}

.callout-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange);
  flex-shrink: 0;
}

/* Direct Email Click to Copy */
.email-copy-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.2rem;
  position: relative;
  backdrop-filter: blur(16px);
  width: 100%;
}

.email-copy-clean:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: var(--border-glass-hover);
  box-shadow: 0 0 20px var(--accent-orange-glow);
  transform: translateY(-2px);
}

.email-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.email-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--fg-subtle);
}

.email-address {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.btn-copy-clean {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  cursor: pointer;
  transition: all 0.25s ease;
}

.email-copy-clean:hover .btn-copy-clean {
  background: var(--accent-orange);
  color: #060608;
}

.copy-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 1.2rem;
  padding: 0.2rem 0.5rem;
  background: #000000;
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.email-copy-clean:hover .copy-tooltip {
  opacity: 1;
}

.social-links-clean {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.social-clean-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--fg-main);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.social-clean-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-glass-hover);
  color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 0 18px var(--accent-orange-glow);
}

.replay-clean-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.1rem;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--accent-orange);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.replay-clean-btn:hover {
  background: rgba(249, 115, 22, 0.12);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 18px var(--accent-orange-glow);
}

/* Right Column: Clean Minimalist Floating Form (Slim Width) */
.connect-right-column {
  flex: 1;
  max-width: 360px;
  width: 100%;
  margin-left: auto;
}

.clean-contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  align-items: stretch;
}

.form-clean-heading {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.25rem;
  text-align: left;
  align-items: flex-start;
}

.form-clean-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-align: left;
}

.form-clean-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--fg-muted);
  text-align: left;
}

.form-group-clean {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  text-align: left;
}

.form-label-clean {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--fg-subtle);
  text-align: left;
  padding-left: 0.15rem;
}

.clean-input,
.clean-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.7rem 0.95rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all 0.3s ease;
  text-align: left;
}

.clean-textarea {
  resize: vertical;
  min-height: 70px;
  text-align: left;
}

.clean-input::placeholder,
.clean-textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  text-align: left;
}

.clean-input:focus,
.clean-textarea:focus {
  outline: none;
  background: rgba(249, 115, 22, 0.04);
  border-bottom-color: var(--accent-orange);
  box-shadow: 0 6px 16px -4px var(--accent-orange-glow);
}

.clean-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-deep));
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 22px var(--accent-orange-glow);
  transition: all 0.3s ease;
  margin-top: 0.4rem;
  width: 100%;
}

.clean-submit-btn:hover {
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.6);
  transform: translateY(-2px);
}

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

.clean-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

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

.spin-icon {
  animation: spin 1s linear infinite;
}

/* ==========================================================================
   Bottom HUD Footer & Scroll Navigation Button
   ========================================================================== */

.hud-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--fg-subtle);
  pointer-events: none;
}

.hud-footer-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-cinematic), transform 0.5s var(--ease-cinematic), visibility 0.5s;
}

.hud-footer-left.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sep {
  opacity: 0.3;
}

.hud-footer-right {
  pointer-events: auto;
}

.scroll-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 18, 26, 0.85);
  border: 1px solid var(--border-glass);
  color: var(--accent-orange);
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 14px var(--accent-orange-glow);
  transition: opacity 4s var(--ease-cinematic), transform 4s var(--ease-cinematic), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

/* Whole Button Bounce Animation for Down State (Top / Intro Scene) */
.scroll-nav-btn.state-down {
  animation: buttonBounceDown 2.2s infinite ease-in-out;
}

.scroll-nav-btn.state-down .nav-arrow-down {
  display: block;
}

.scroll-nav-btn.state-down .nav-arrow-up {
  display: none;
}

/* Whole Button Bounce Animation for Up / Scroll-To-Top State (End Scene) */
.scroll-nav-btn.state-up {
  animation: buttonBounceUp 2.2s infinite ease-in-out;
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-orange-glow);
}

.scroll-nav-btn.state-up .nav-arrow-down {
  display: none;
}

.scroll-nav-btn.state-up .nav-arrow-up {
  display: block;
}

/* Hidden state during middle scrolling sections */
.scroll-nav-btn.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(18px) scale(0.8) !important;
  animation: none !important;
}

.scroll-nav-btn:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--border-glass-hover);
  color: #ffffff;
  box-shadow: 0 0 24px var(--accent-orange-glow);
}

/* Whole Button Bounce Keyframes */
@keyframes buttonBounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

@keyframes buttonBounceUp {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* ==========================================================================
   Virtual Scroll Track (Deep space for 1000 frames)
   ========================================================================== */

.virtual-scroll-track {
  height: 5000vh;
  width: 100%;
  pointer-events: none;
  visibility: hidden;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  pointer-events: none;
}

.toast {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  background: rgba(16, 16, 24, 0.95);
  border: 1px solid var(--accent-orange);
  border-radius: 100px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 18px var(--accent-orange-glow);
  backdrop-filter: blur(20px);
  animation: toastIn 0.35s var(--ease-cinematic) forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   Comprehensive Responsive System (4K, Desktops, Tablets, Mobile, Touch)
   ========================================================================== */

/* 1. Large Laptops & Standard Desktops (<= 1400px) */
@media (max-width: 1400px) {
  :root {
    --page-pad: 3rem;
  }

  .brand-logo-img {
    height: 135px;
  }

  .split-dual-container {
    gap: 3.5rem;
  }
}

/* 2. Medium Screens & Small Laptops (<= 1200px) */
@media (max-width: 1200px) {
  :root {
    --page-pad: 2.2rem;
  }

  .split-dual-container {
    gap: 2.5rem;
  }

  .turn1-split-row {
    gap: 2rem;
  }

  .editorial-block.right-editorial {
    max-width: 480px;
  }

  /* Turn 2: shrink slightly at 1200 */
  .dual-showcase-container {
    gap: 1.75rem;
  }

  .turn2-left-editorial {
    width: clamp(220px, 36%, 380px);
  }

  .turn2-right-stage {
    max-width: 460px;
  }
}

/* 3. Tablets & Hybrid Devices (<= 900px) */
@media (max-width: 900px) {
  :root {
    --page-pad: 1.8rem;
  }

  .hud-header {
    padding: 1.5rem var(--page-pad);
  }

  .brand-logo-img {
    height: 100px;
  }

  .timeline-section {
    padding: 4.5rem var(--page-pad);
  }

  /* Turn 1: Stacked Centered Columns */
  .turn1-split-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 var(--page-pad);
  }

  .turn1-col-left,
  .turn1-col-right {
    flex: none;
    width: 100%;
    max-width: 480px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-profession-heading {
    font-size: clamp(2rem, 4.5vw, 2.6rem);
    min-height: auto;
    text-align: center;
    margin: 0;
  }

  .hero-description-lead {
    text-align: center;
  }

  .hero-action-pill-btn {
    align-self: center;
  }

  .hero-big-name-text {
    font-size: clamp(3.2rem, 12vw, 6.5rem);
  }

  /* Turn 2: Technical Expertise Tablet Adaptation */
  .side-right-container {
    justify-content: center;
  }

  .editorial-block.right-editorial {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
  }

  .section-headline {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }

  /* Turn 2 at 900px: stack column */
  #sectionSkills {
    padding-top: max(5.5rem, 90px);
    padding-bottom: 1rem;
  }

  .dual-showcase-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    max-width: 560px;
    margin: 0 auto;
  }

  .turn2-left-editorial {
    width: 100%;
    max-width: 100%;
  }

  .turn2-left-editorial .section-title-clean {
    font-size: clamp(1.5rem, 4.5vw, 2rem);
  }

  .turn2-right-stage {
    width: 100%;
    max-width: 520px;
    min-height: 340px;
    margin: 1.25rem auto 0;
  }

  .portfolio-cards-track {
    min-height: 340px;
  }

  .portfolio-card-inner {
    height: 100%;
    max-height: 340px;
  }

  .card-cover-img {
    max-height: 320px;
  }

  /* Turn 3: Testimonial Tablet Alignment */
  .deck-testimonials-wrapper {
    max-width: 440px;
    margin: 1rem auto;
    align-items: center;
  }

  .deck-header-block {
    align-items: center;
    text-align: center;
  }

  .reviews-deck-stage {
    align-items: center;
    max-width: 400px;
  }

  .deck-dots-track {
    justify-content: center;
    padding-left: 0;
  }

  /* Turn 4: Connect Stacked Layout */
  .timeline-section#sectionConnect {
    padding: 3rem var(--page-pad) 2rem var(--page-pad);
  }

  .split-dual-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    max-width: 440px;
    margin: 0 auto;
  }

  .connect-left-column,
  .connect-right-column {
    flex: none;
    max-width: 440px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .connect-headline {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    line-height: 1.15;
    margin-bottom: 0.35rem;
  }

  .connect-description {
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 0.55rem;
  }

  .availability-callout {
    margin-bottom: 0.55rem;
    padding: 0.3rem 0.75rem;
  }

  .email-copy-clean {
    padding: 0.5rem 0.9rem;
    margin-bottom: 0.65rem;
    max-width: 320px;
  }

  .form-clean-heading {
    display: none;
  }

  .clean-contact-form {
    gap: 0.6rem;
    max-width: 360px;
  }

  .clean-input,
  .clean-textarea {
    padding: 0.5rem 0.8rem;
    font-size: 15px;
    border-radius: 8px;
  }

  .clean-textarea {
    min-height: 52px;
  }

  .clean-submit-btn {
    height: 42px;
    font-size: 0.82rem;
    padding: 0.5rem 1.2rem;
    margin-top: 0.15rem;
  }
}

/* 4. Standard Mobile Devices (<= 600px) */
@media (max-width: 600px) {
  :root {
    --page-pad: 1.2rem;
  }

  .hud-header {
    padding: 1rem var(--page-pad);
    padding-top: max(1rem, env(safe-area-inset-top, 1rem));
  }


  .hud-footer {
    padding: 1rem var(--page-pad);
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
  }

  .hud-footer-left {
    display: none;
  }

  .scroll-nav-btn {
    width: 40px;
    height: 40px;
  }

  .timeline-section {
    padding: 3.8rem var(--page-pad) 2.5rem var(--page-pad);
  }

  /* Turn 1 Mobile: Perfectly Centered */
  .turn1-split-row {
    gap: 1.2rem;
    padding: 0 var(--page-pad);
    justify-content: center;
    align-items: center;
  }

  .turn1-col-left,
  .turn1-col-right {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .hero-profession-heading {
    font-size: clamp(1.55rem, 5.8vw, 2.1rem);
    line-height: 1.18;
    min-height: auto;
    text-align: center;
  }

  .hero-description-lead {
    font-size: 0.92rem;
    line-height: 1.55;
    text-align: center;
  }

  .hero-big-name-text {
    font-size: clamp(2.4rem, 11vw, 4.5rem);
    line-height: 0.95;
  }

  /* Turn 2 Mobile: 600px */
  .section-headline {
    font-size: clamp(1.75rem, 6.2vw, 2.3rem);
  }

  .editorial-lead {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0.8rem;
  }

  .expertise-stack-container {
    min-height: 250px;
  }

  .item-title {
    font-size: 1.25rem;
  }

  .item-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-top: 0.4rem;
  }

  /* Turn 2 dual showcase mobile */
  #sectionSkills {
    padding-top: max(4.5rem, 75px);
    padding-bottom: 1rem;
  }

  .dual-showcase-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    max-width: 100%;
  }

  .turn2-left-editorial {
    width: 100%;
    max-width: 100%;
  }

  .turn2-left-editorial .eyebrow-tag {
    font-size: 0.62rem;
  }

  .turn2-left-editorial .section-title-clean {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    margin-bottom: 0.2rem;
  }

  .turn2-left-editorial .skills-subtitle {
    font-size: 0.78rem;
    margin-bottom: 0.6rem;
  }

  .disciplines-pills-row {
    gap: 0.3rem;
    margin-bottom: 0.65rem;
  }

  .discipline-badge {
    font-size: 0.65rem;
    padding: 0.28rem 0.65rem;
  }

  .project-tracker-box {
    padding: 0.75rem 1rem;
    border-radius: 12px;
  }

  .tracker-title {
    font-size: 1rem;
  }

  .tracker-desc {
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
  }

  .tracker-dots-nav .dot-btn {
    width: 18px;
    height: 4px;
  }

  .tracker-dots-nav .dot-btn.active-dot {
    width: 28px;
  }

  .turn2-right-stage {
    width: 100%;
    max-width: 100%;
    min-height: 250px;
    margin: 1rem auto 0;
  }

  .portfolio-cards-track {
    min-height: 250px;
  }

  .portfolio-card-inner {
    height: 100%;
    max-height: 250px;
  }

  .card-cover-img {
    max-height: 240px;
  }

  .card-hover-overlay {
    padding: 0.8rem;
  }

  .card-content-wrap {
    padding: 0.85rem 1rem 0.95rem 1rem;
  }

  .card-project-title {
    font-size: 1.05rem;
  }

  .card-excerpt {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
  }

  /* Turn 3: 5-Card Deck Mobile Adaptation */
  .deck-testimonials-wrapper {
    max-width: 100%;
    margin: 0.5rem auto;
    align-items: center;
    left: 0;
  }

  .deck-header-block {
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
  }

  .deck-header-block .section-title-clean {
    font-size: clamp(1.4rem, 5.5vw, 1.8rem);
  }

  .reviews-deck-stage {
    width: 100%;
    max-width: 320px;
    align-items: center;
  }

  .reviews-card-deck {
    min-height: 240px;
  }

  .deck-fan-card {
    width: min(88vw, 280px);
    min-height: 175px;
    padding: 1.1rem 1.2rem 1rem 1.2rem;
    transform: translate(calc(var(--idle-x, 0px) * 0.35), calc(var(--idle-y, 0px) * 0.35)) rotate(calc(var(--idle-rot, 0deg) * 0.5));
  }

  .reviews-card-deck:hover .deck-fan-card,
  .reviews-card-deck.is-expanded .deck-fan-card {
    transform: translate(calc(var(--exp-x, 0px) * 0.38), calc(var(--exp-y, 0px) * 0.42)) rotate(calc(var(--exp-rot, 0deg) * 0.5));
  }

  .reviews-card-deck .deck-fan-card:hover {
    transform: translate(calc(var(--exp-x, 0px) * 0.38), calc(var(--exp-y, 0px) * 0.42)) scale(1.03) rotate(0deg) !important;
  }

  .deck-card-quote {
    font-size: 0.8rem;
    -webkit-line-clamp: 3;
    margin-bottom: 0.65rem;
  }

  .deck-dots-track {
    justify-content: center;
    padding-left: 0;
    margin-top: 0.8rem;
  }

  /* Turn 4: Connect Mobile (Compact, Perfectly Centered, Zero Scrollbar) */
  .timeline-section#sectionConnect {
    padding: 2.2rem var(--page-pad) 1.5rem var(--page-pad);
  }

  .split-dual-container {
    gap: 0.85rem;
    max-width: 380px;
    margin: 0 auto;
  }

  .connect-left-column,
  .connect-right-column {
    max-width: 100%;
    width: 100%;
  }

  .connect-headline {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem);
    margin-bottom: 0.2rem;
    line-height: 1.15;
  }

  .connect-description {
    font-size: 0.84rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
  }

  .availability-callout {
    margin-bottom: 0.45rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.62rem;
  }

  .email-copy-clean {
    padding: 0.42rem 0.75rem;
    margin-bottom: 0.55rem;
    border-radius: 10px;
    width: 100%;
  }

  .email-label {
    display: none;
  }

  .email-address {
    font-size: 0.78rem;
  }

  .social-links-clean {
    gap: 0.5rem;
  }

  .social-clean-btn {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .replay-clean-btn {
    height: 34px;
    padding: 0 0.75rem;
    font-size: 0.72rem;
    border-radius: 9px;
  }

  .form-clean-heading {
    display: none;
  }

  .clean-contact-form {
    gap: 0.45rem;
    width: 100%;
  }

  .form-group-clean {
    gap: 0.15rem;
  }

  .form-label-clean {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .clean-input,
  .clean-textarea {
    font-size: 15px;
    padding: 0.42rem 0.75rem;
    border-radius: 8px;
  }

  .clean-textarea {
    min-height: 48px;
  }

  .clean-submit-btn {
    height: 38px;
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    margin-top: 0.1rem;
  }
}

/* 5. Extra Small Mobile Screens (<= 400px - e.g. iPhone SE) */
@media (max-width: 400px) {
  :root {
    --page-pad: 0.85rem;
  }

  .brand-logo-img {
    height: 80px;
  }

  .timeline-section {
    padding: 3.2rem var(--page-pad) 2rem var(--page-pad);
  }

  .glass-quote-badge {
    width: 46px;
    height: 46px;
    left: -10px;
    top: 16px;
    border-radius: 14px;
  }

  .glass-quote-svg {
    width: 24px;
    height: 24px;
  }

  .glass-avatar-badge {
    width: 68px;
    height: 68px;
    right: 10px;
    top: -26px;
    border-radius: 16px;
  }

  .glass-base-plate {
    padding: 1.8rem 1rem 1.3rem 1rem;
  }

  .glass-review-plate {
    padding: 1rem;
    margin-right: 0;
  }
}

/* 6. Landscape Phone Viewports (Short Height <= 550px) */
@media (max-height: 550px) and (orientation: landscape) {
  .hud-header {
    padding: 0.6rem var(--page-pad);
  }


  .timeline-section {
    padding: 2.6rem var(--page-pad) 1.5rem var(--page-pad);
  }

  .hero-big-name-text {
    font-size: 2.8rem;
  }

  .turn1-split-row {
    flex-direction: row;
    gap: 1.5rem;
    padding-top: 0;
  }

  .hero-profession-heading {
    font-size: 1.5rem;
    min-height: auto;
  }

  .expertise-stack-container {
    min-height: 180px;
  }

  .glass-base-plate {
    min-height: auto;
    padding: 1.6rem 1.2rem 1.2rem 1.2rem;
  }

  .split-dual-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 100%;
  }

  .connect-left-column,
  .connect-right-column {
    max-width: 48%;
  }

  .clean-textarea {
    min-height: 50px;
  }
}