/* ==========================================================================
   InyaTech Portfolio — Obsidian & Flame Design System (styles.css)
   Clean Vanilla CSS architecture. Zero Tailwind runtime dependencies.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

:root {
  /* Color Palette — Obsidian & Flame */
  --bg-canvas: #0e0e0f;
  --surface: #131314;
  --surface-lowest: #0a0a0b;
  --surface-low: #181819;
  --surface-mid: #201f20;
  --surface-high: #2a2a2b;
  --surface-highest: #353436;
  
  --on-surface: #f3f1f2;
  --on-surface-variant: #c4bfc0;
  --muted: #8e8a8b;
  
  /* Primary & Flame Accents */
  --primary: #ff441f;
  --primary-container: #ff5634;
  --primary-glow: rgba(255, 86, 52, 0.45);
  --secondary: #ffb871;
  --secondary-container: #d67e00;
  --secondary-glow: rgba(255, 184, 113, 0.35);
  
  --primary-gradient: linear-gradient(135deg, #ff441f 0%, #ff9f2e 100%);
  --primary-gradient-subtle: linear-gradient(135deg, rgba(255, 68, 31, 0.15) 0%, rgba(255, 159, 46, 0.05) 100%);
  --glass-bg: rgba(24, 24, 26, 0.72);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border-hover: rgba(255, 86, 52, 0.4);
  
  /* Typography */
  --font-headline: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --max-width: 1440px;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(255, 86, 52, 0.3);
}

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

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

body {
  background-color: var(--bg-canvas);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--primary-container);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--surface-lowest);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-high);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-container);
}

/* Material Symbols Icon alignment */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}

/* Common Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1200px) {
  .container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/* ==========================================================================
   Header Navigation Bar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  background: rgba(14, 14, 15, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(255, 68, 31, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-wrapper:hover .brand-logo-badge {
  transform: rotate(6deg) scale(1.05);
}

.brand-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--on-surface);
  letter-spacing: -0.02em;
}

.brand-role-tag {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--surface-high);
  color: var(--secondary);
  border: 1px solid rgba(255, 184, 113, 0.15);
}

@media (max-width: 640px) {
  .brand-role-tag {
    display: none;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(28, 27, 28, 0.6);
  border: 1px solid var(--glass-border);
  padding: 0.35rem;
  border-radius: var(--radius-full);
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
}

.nav-link {
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  text-decoration: none;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: var(--on-surface);
  background: var(--surface-high);
}

.nav-link.active {
  background: var(--surface-high);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

/* Live Availability Status Pill */
.availability-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--surface-low);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--on-surface-variant);
}

@media (max-width: 1024px) {
  .availability-pill {
    display: none;
  }
}

.pulse-indicator {
  position: relative;
  display: flex;
  width: 8px;
  height: 8px;
}

.pulse-indicator .ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: #10b981;
  opacity: 0.75;
  animation: pingAnimation 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-indicator .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: #10b981;
}

@keyframes pingAnimation {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Primary Flame CTA Button */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  color: #ffffff;
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 68, 31, 0.38);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 68, 31, 0.55);
}

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

/* Button Shimmer Effect */
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-160%);
  pointer-events: none;
}

.btn-shimmer:hover::after {
  animation: shimmerEffect 1.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes shimmerEffect {
  0% { transform: translateX(-160%); }
  100% { transform: translateX(200%); }
}

/* Admin CMS Quick Action Button */
.btn-admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  background: var(--surface-low);
  border: 1px solid rgba(255, 184, 113, 0.25);
  border-radius: var(--radius-full);
  color: var(--secondary);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-admin-pill:hover {
  background: var(--surface-high);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Showcase Section
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  padding-top: calc(80px + 2rem);
  padding-bottom: var(--space-3xl);
  overflow: hidden;
  background: var(--surface-lowest);
}

/* Ambient Ember / Solar Flare Glows */
.ambient-glow-top {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(255, 86, 52, 0.4) 0%, rgba(214, 126, 0, 0.15) 45%, transparent 70%);
  filter: blur(130px);
  pointer-events: none;
  animation: ambientPulse 8s ease-in-out infinite;
}

.ambient-glow-side {
  position: absolute;
  top: 35%;
  right: -100px;
  width: 450px;
  height: 450px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(255, 68, 31, 0.25) 0%, transparent 70%);
  filter: blur(110px);
  pointer-events: none;
}

@keyframes ambientPulse {
  0%, 100% {
    opacity: 0.75;
    transform: translate(-50%, 0) scale(1);
  }
  50% {
    opacity: 0.95;
    transform: translate(-50%, -15px) scale(1.06);
  }
}

/* Hero Top Announcements */
.hero-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(32, 31, 32, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-surface-variant);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.badge-pill:hover {
  border-color: rgba(255, 184, 113, 0.35);
  color: var(--on-surface);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--secondary);
  animation: pulseDot 2s infinite;
}

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

/* Hero Stage Centerpiece Container */
.hero-stage {
  position: relative;
  width: 100%;
  min-height: 640px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(42, 42, 43, 0.9) 0%, rgba(32, 31, 32, 0.75) 50%, var(--surface-lowest) 100%);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  perspective: 1000px;
}

@media (min-width: 1024px) {
  .hero-stage {
    min-height: 720px;
    padding: 3rem;
  }
}

/* Mouse follow dynamic spotlight */
.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Floating Elements Inside Stage */
.stage-top-row {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stage-top-row {
    grid-template-columns: 1.5fr 1fr;
    align-items: flex-start;
  }
}

.floating-mission-card {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(14, 14, 15, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  max-width: 420px;
  animation: floatSlow1 6s ease-in-out infinite;
  transition: border-color 0.3s ease;
}

.floating-mission-card:hover {
  border-color: rgba(255, 68, 31, 0.4);
}

.mission-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.mission-text {
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--on-surface);
}

.floating-artifact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(14, 14, 15, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  max-width: 300px;
  justify-self: flex-end;
  animation: floatSlow2 7.5s ease-in-out infinite 1s;
  transition: all 0.3s ease;
  cursor: pointer;
}

.floating-artifact-card:hover {
  border-color: rgba(255, 184, 113, 0.4);
  transform: translateY(-3px);
}

.artifact-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-high);
  flex-shrink: 0;
}

.artifact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.floating-artifact-card:hover .artifact-thumb img {
  transform: scale(1.1);
}

.artifact-info {
  display: flex;
  flex-direction: column;
}

.artifact-tag {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
}

.artifact-title {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-surface);
}

.artifact-desc {
  font-size: 0.7rem;
  color: var(--on-surface-variant);
}

/* Portrait Hero Centerpiece Showcase Card */
.stage-center-portrait {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: -2.5rem;
  margin-bottom: -3.5rem;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .stage-center-portrait {
    margin-top: -3.5rem;
    margin-bottom: -4.5rem;
  }
}

.portrait-showcase-card {
  position: relative;
  width: 320px;
  border-radius: var(--radius-xl);
  background: rgba(18, 18, 20, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 68, 31, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}

@media (min-width: 640px) {
  .portrait-showcase-card {
    width: 380px;
  }
}

@media (min-width: 1024px) {
  .portrait-showcase-card {
    width: 440px;
  }
}

.portrait-showcase-card:hover {
  border-color: rgba(255, 86, 52, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 86, 52, 0.4);
}

.portrait-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(24, 24, 26, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 5;
}

.portrait-card-identity {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-brand {
  color: #ffffff;
}

.card-sep {
  color: var(--primary-container);
}

.card-role {
  color: var(--secondary);
}

.portrait-card-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--on-surface-variant);
}

.status-dot-mini {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.portrait-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: radial-gradient(circle at 50% 30%, rgba(255, 68, 31, 0.15), transparent 70%), var(--surface-low);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.portrait-showcase-card:hover .portrait-image {
  transform: scale(1.03);
}

/* Quick Change Photo Button on Hover */
.btn-change-photo-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(14, 14, 15, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 184, 113, 0.45);
  color: #ffffff;
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 86, 52, 0.35);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  white-space: nowrap;
}

.portrait-showcase-card:hover .btn-change-photo-overlay,
.btn-change-photo-overlay:focus {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.btn-change-photo-overlay:hover {
  background: var(--primary-container);
  border-color: var(--primary-container);
  box-shadow: 0 10px 30px rgba(255, 86, 52, 0.6);
  transform: translateX(-50%) translateY(-2px);
}

/* Photo Modal Backdrop & Dialog */
.photo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.photo-modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--surface-low);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), 0 0 45px rgba(255, 86, 52, 0.25);
  padding: 2rem;
  position: relative;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.photo-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.btn-close-modal {
  background: var(--surface-high);
  border: 1px solid var(--glass-border);
  color: var(--on-surface-variant);
  border-radius: var(--radius-full);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-close-modal:hover {
  color: #fff;
  background: var(--surface-highest);
  transform: scale(1.1);
}

.upload-dropzone {
  border: 2px dashed rgba(255, 86, 52, 0.4);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 86, 52, 0.03);
  transition: all 0.3s ease;
}

.upload-dropzone:hover, .upload-dropzone.drag-over {
  border-color: var(--primary);
  background: rgba(255, 86, 52, 0.08);
}

/* Bottom Identity Strip + Giant Typography */
.stage-bottom-row {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stage-bottom-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.hero-headline-group {
  display: flex;
  flex-direction: column;
}

.hero-sub-label {
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 0.25rem;
}

.hero-main-name {
  font-family: var(--font-headline);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  color: #ffffff;
  user-select: none;
}

.hero-main-name .registered-mark {
  color: var(--primary-container);
  font-size: 0.5em;
  vertical-align: super;
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero-main-name:hover .registered-mark {
  transform: rotate(15deg);
}

.floating-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.6rem 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(14, 14, 15, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  align-self: flex-start;
  animation: floatSlow3 5.5s ease-in-out infinite 2s;
  transition: border-color 0.3s ease;
}

@media (min-width: 768px) {
  .floating-profile-pill {
    align-self: flex-end;
  }
}

.floating-profile-pill:hover {
  border-color: rgba(255, 68, 31, 0.4);
}

.profile-meta {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.profile-meta-name {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--on-surface);
}

.profile-meta-role {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
}

.profile-avatar-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--surface-high);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-forward-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--primary-container);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.profile-forward-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 86, 52, 0.6);
}

/* Keyframe float animations */
@keyframes floatSlow1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes floatSlow2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}

@keyframes floatSlow3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

/* ==========================================================================
   Tech Rail / Client Marquee
   ========================================================================== */
.tech-rail-section {
  width: 100%;
  background: var(--surface-low);
  padding: 2.25rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.tech-rail-title {
  text-align: center;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.tech-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

@media (min-width: 640px) {
  .tech-badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .tech-badges-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.tech-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--on-surface-variant);
  opacity: 0.7;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.tech-badge-item:hover {
  opacity: 1;
  color: var(--secondary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Impact & Metrics Bento Grid
   ========================================================================== */
.impact-section {
  padding: var(--space-3xl) 0;
  background: var(--surface);
  position: relative;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--on-surface);
}

.title-gradient-text {
  background: linear-gradient(135deg, #ff5634 0%, #ffb871 50%, #ffd09e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  max-width: 480px;
  color: var(--on-surface-variant);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

/* Interactive Bento Metric Cards */
.bento-card {
  background: var(--surface-low);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 86, 52, 0.4);
  box-shadow: var(--shadow-lg), 0 0 24px -4px rgba(255, 86, 52, 0.2);
}

.bento-col-4 {
  grid-column: span 1;
}

.bento-col-8 {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .bento-col-4 {
    grid-column: span 4;
  }
  .bento-col-8 {
    grid-column: span 8;
  }
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.metric-cat {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
}

.metric-icon {
  color: var(--muted);
  transition: all 0.3s ease;
}

.bento-card:hover .metric-icon {
  color: var(--primary);
  transform: scale(1.15);
}

.metric-value {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.metric-value .val-highlight {
  color: var(--primary-container);
}

.metric-title {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 0.4rem;
}

.metric-desc {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
}

/* Testimonial Card */
.testimonial-card {
  background: linear-gradient(135deg, var(--surface-high) 0%, var(--surface-low) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.testimonial-stars .material-symbols-outlined {
  font-variation-settings: 'FILL' 1;
  font-size: 1.1rem;
}

.testimonial-badge {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--on-surface);
  margin-left: 0.5rem;
}

.testimonial-quote {
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--on-surface);
  margin-bottom: 1.5rem;
}

.testimonial-author-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--surface-high);
  border: 2px solid rgba(255, 86, 52, 0.4);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  color: var(--on-surface);
}

.author-role {
  font-size: 0.8rem;
  color: var(--on-surface-variant);
}

/* ==========================================================================
   Featured Projects Showcase
   ========================================================================== */
.projects-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-lowest);
  position: relative;
}

/* Category Filter Pills */
.filter-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-pill {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--surface-mid);
  color: var(--on-surface-variant);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-pill:hover {
  color: #fff;
  background: var(--surface-high);
  transform: scale(1.04);
}

.filter-pill.active {
  background: var(--primary-container);
  color: #ffffff;
  border-color: var(--primary-container);
  box-shadow: 0 4px 16px rgba(255, 86, 52, 0.4);
}

/* Projects Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

/* Master Hero Project (12 columns) */
.project-card-hero {
  grid-column: span 1;
  background: var(--surface-low);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 900px) {
  .project-card-hero {
    grid-column: span 12;
    grid-template-columns: 7fr 5fr;
  }
}

.project-card-hero:hover {
  border-color: rgba(255, 86, 52, 0.4);
  box-shadow: 0 20px 50px rgba(255, 86, 52, 0.18);
}

.project-media-hero {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: var(--surface-high);
}

@media (min-width: 900px) {
  .project-media-hero {
    min-height: 460px;
  }
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card-hero:hover .project-card-img {
  transform: scale(1.04);
}

.project-badges-float {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.pill-tag {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(14, 14, 15, 0.85);
  backdrop-filter: blur(12px);
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--on-surface);
  border: 1px solid var(--glass-border);
}

.pill-tag.accent {
  color: var(--secondary);
}

.project-info-hero {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-category-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.category-tag {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--surface-high);
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.project-card-title {
  font-family: var(--font-headline);
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 0.85rem;
  transition: color 0.3s ease;
}

.project-card-hero:hover .project-card-title {
  color: var(--secondary);
}

.project-card-desc {
  font-size: 0.95rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--on-surface);
}

.feature-item .material-symbols-outlined {
  color: var(--primary-container);
  font-size: 1.15rem;
}

.project-bottom-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--glass-border);
}

.project-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-cta-link:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* Secondary Half-Grid Projects (6 columns) */
.project-card-half {
  grid-column: span 1;
  background: var(--surface-low);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 900px) {
  .project-card-half {
    grid-column: span 6;
  }
}

.project-card-half:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 113, 0.4);
  box-shadow: 0 20px 50px rgba(214, 126, 0, 0.16);
}

.project-media-half {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-high);
}

.project-card-half:hover .project-card-img {
  transform: scale(1.04);
}

.project-info-half {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

/* ==========================================================================
   Services & Capabilities
   ========================================================================== */
.services-section {
  padding: var(--space-3xl) 0;
  background: var(--surface);
  position: relative;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .services-layout {
    grid-template-columns: 5fr 7fr;
  }
}

.services-sidebar {
  position: relative;
}

@media (min-width: 1024px) {
  .services-sidebar {
    position: sticky;
    top: 120px;
  }
}

.booking-status-card {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface-low);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.booking-status-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.booking-status-desc {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
}

/* Service Accordion Cards */
.services-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--surface-low);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.service-card:hover {
  background: var(--surface-high);
  border-color: rgba(255, 184, 113, 0.35);
  transform: translateX(6px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 184, 113, 0.2);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.service-index {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-container);
  transition: transform 0.3s ease;
}

.service-card:hover .service-index {
  transform: scale(1.1);
}

.service-icon {
  color: var(--muted);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  color: var(--secondary);
  transform: rotate(8deg);
}

.service-title {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--secondary);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-chip {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--surface-mid);
  border: 1px solid var(--glass-border);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  transition: all 0.2s ease;
}

.service-card:hover .service-chip {
  border-color: rgba(255, 184, 113, 0.25);
  color: var(--on-surface);
}

/* ==========================================================================
   Contact Section & Interactive Engine
   ========================================================================== */
.contact-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-lowest);
  position: relative;
  overflow: hidden;
}

.contact-ambient-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(255, 86, 52, 0.2) 0%, transparent 70%);
  filter: blur(140px);
  pointer-events: none;
  animation: ambientPulse 8s ease-in-out infinite;
}

.contact-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem auto;
}

/* Two-column Contact Box */
.contact-engine-box {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: var(--surface-low);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-engine-box {
    grid-template-columns: 7fr 5fr;
    padding: 2.5rem;
  }
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-label {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-surface-variant);
}

.input-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-high);
  color: var(--on-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.input-control:focus {
  outline: none;
  border-color: var(--primary-container);
  box-shadow: 0 0 0 3px rgba(255, 86, 52, 0.25);
  background: var(--surface-highest);
}

textarea.input-control {
  resize: vertical;
  min-height: 110px;
}

/* Budget Selector Pills */
.budget-pills-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.budget-btn {
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-md);
  background: var(--surface-high);
  border: 1px solid var(--glass-border);
  color: var(--on-surface);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.budget-btn:hover {
  background: var(--surface-highest);
  border-color: rgba(255, 255, 255, 0.2);
}

.budget-btn.active {
  background: var(--primary-container);
  color: #fff;
  border-color: var(--primary-container);
  box-shadow: 0 0 16px rgba(255, 86, 52, 0.45);
}

/* Right Quick Connect */
.contact-sidebar {
  border-radius: var(--radius-lg);
  background: var(--surface-mid);
  border: 1px solid var(--glass-border);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.sidebar-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.sidebar-desc {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
}

.direct-channels-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.direct-channel-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-high);
  border: 1px solid var(--glass-border);
  text-decoration: none;
  transition: all 0.25s ease;
}

.direct-channel-card:hover {
  background: var(--surface-highest);
  border-color: rgba(255, 86, 52, 0.35);
  transform: translateY(-2px);
}

.channel-icon {
  color: var(--primary-container);
  font-size: 1.35rem;
}

.channel-icon.amber {
  color: var(--secondary);
}

.channel-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.channel-tag {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.channel-value {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-surface);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-links-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.social-btn {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--surface-high);
  color: var(--on-surface-variant);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-btn:hover {
  background: var(--surface-highest);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  width: 100%;
  background: var(--surface-lowest);
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
}

.footer-top-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-top-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .footer-bottom-row {
    flex-direction: row;
  }
}

.footer-links-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-link {
  color: var(--on-surface-variant);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
}

/* ==========================================================================
   Scroll Reveal Physics
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Toast Notification & Modal
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--surface-high);
  color: #fff;
  border: 1px solid var(--primary-container);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 86, 52, 0.35);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.5rem;
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .ambient-glow-top,
  .floating-mission-card,
  .floating-artifact-card,
  .floating-profile-pill,
  .btn-shimmer::after {
    animation: none !important;
  }
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Mobile Navigation Drawer & Hamburger Styles
   ========================================================================== */
.btn-mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--surface-low);
  border: 1px solid var(--glass-border);
  color: var(--on-surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.btn-mobile-menu-toggle:hover {
  background: var(--surface-high);
  border-color: var(--primary-container);
  color: #ffffff;
}

.btn-mobile-menu-toggle .material-symbols-outlined {
  font-size: 1.45rem;
}

.mobile-nav-drawer {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(14, 14, 15, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
  z-index: 99;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-content {
  padding: 1.5rem 1.25rem 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-lg);
  background: var(--surface-low);
  border: 1px solid var(--glass-border);
  color: var(--on-surface);
  text-decoration: none;
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: var(--surface-high);
  border-color: var(--primary-container);
  color: var(--secondary);
  transform: translateX(4px);
}

.mobile-nav-link .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--primary-container);
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--glass-border);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

/* ==========================================================================
   Comprehensive Mobile & Tablet Media Queries
   ========================================================================== */

/* Tablet & Mobile Screens (<= 900px) */
@media (max-width: 900px) {
  .site-nav {
    display: none !important;
  }

  .btn-mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-section {
    padding-top: calc(70px + 1rem);
    padding-bottom: 2.5rem;
  }

  .hero-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .badge-pill {
    font-size: 0.72rem;
    padding: 0.4rem 0.85rem;
    justify-content: center;
    width: 100%;
  }

  .hero-stage {
    padding: 1.25rem 1rem;
    min-height: auto;
    border-radius: var(--radius-lg);
  }

  .stage-top-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .floating-mission-card {
    max-width: 100%;
    padding: 1rem 1.15rem;
  }

  .mission-text {
    font-size: 0.82rem;
  }

  .floating-artifact-card {
    max-width: 100%;
    justify-self: stretch;
    padding: 0.65rem 0.85rem;
  }

  .stage-center-portrait {
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .portrait-showcase-card {
    width: 100%;
    max-width: 320px;
  }

  .btn-change-photo-overlay {
    opacity: 0.95;
    transform: translateX(-50%) translateY(0);
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 14, 15, 0.92);
  }

  .stage-bottom-row {
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-main-name {
    font-size: clamp(2.3rem, 11vw, 5rem);
    line-height: 0.95;
  }

  .floating-profile-pill {
    width: 100%;
    justify-content: space-between;
    align-self: stretch;
    padding: 0.5rem 0.85rem;
  }

  /* Tech Rail */
  .tech-rail-section {
    padding: 1.75rem 0;
  }

  .tech-rail-title {
    font-size: 0.7rem;
    margin-bottom: 1.25rem;
  }

  .tech-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Bento Grid & Stats */
  .impact-section {
    padding: 2.75rem 0;
  }

  .section-header {
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 6.5vw, 2.5rem);
    line-height: 1.15;
  }

  .section-desc {
    font-size: 0.875rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .bento-card {
    padding: 1.35rem 1.15rem;
  }

  .metric-value {
    font-size: 2.35rem;
  }

  .testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  /* Projects */
  .projects-section {
    padding: 2.75rem 0;
  }

  .filter-pills-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.65rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }

  .filter-pills-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    font-size: 0.72rem;
  }

  .project-card-hero {
    grid-template-columns: 1fr;
  }

  .project-media-hero {
    min-height: 220px;
  }

  .project-info-hero {
    padding: 1.35rem 1.15rem;
  }

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

  .project-card-desc {
    font-size: 0.875rem;
  }

  .project-info-half {
    padding: 1.35rem 1.15rem;
  }

  /* Services */
  .services-section {
    padding: 2.75rem 0;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .services-sidebar {
    position: static;
  }

  .booking-status-card {
    margin-top: 1.25rem;
    padding: 1.15rem 1rem;
  }

  .service-card {
    padding: 1.35rem 1.15rem;
  }

  .service-title {
    font-size: 1.15rem;
  }

  .service-desc {
    font-size: 0.875rem;
  }

  /* Contact */
  .contact-section {
    padding: 2.75rem 0;
  }

  .contact-header-center {
    margin-bottom: 1.75rem;
  }

  .contact-engine-box {
    grid-template-columns: 1fr;
    padding: 1.25rem 1rem;
    gap: 1.5rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .budget-pills-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .contact-sidebar {
    padding: 1.25rem 1rem;
  }

  .direct-channel-card {
    padding: 0.75rem 0.85rem;
  }

  .channel-value {
    font-size: 0.8rem;
  }

  /* Footer */
  .footer-top-row {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer-bottom-row {
    text-align: center;
    gap: 0.75rem;
  }

  .footer-links-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 0.8rem;
  }
}

/* Small Smartphone Screens (<= 480px) */
@media (max-width: 480px) {
  .brand-name {
    font-size: 1.15rem;
  }

  .header-cta-desktop {
    display: none !important;
  }

  .btn-admin-pill {
    padding: 0.45rem 0.7rem;
    font-size: 0.72rem;
  }

  .photo-modal-card {
    padding: 1.35rem 1rem;
  }

  .upload-dropzone {
    padding: 1.35rem 1rem;
  }
}

