/* =================================================================
   DESIGN TOKENS & CUSTOM PROPERTIES
   ================================================================= */
:root {
  /* Color Palette — Dark Cinematic + Cyan/Teal Accents */
  --color-bg: #0a0a0c;
  --color-bg-deep: #050507;
  --color-surface: #111115;
  --color-surface-alt: #18181e;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-glow: rgba(0, 232, 204, 0.15);

  --color-white: #ffffff;
  --color-white-90: rgba(255, 255, 255, 0.9);
  --color-white-70: rgba(255, 255, 255, 0.7);
  --color-white-50: rgba(255, 255, 255, 0.5);
  --color-white-30: rgba(255, 255, 255, 0.3);
  --color-white-10: rgba(255, 255, 255, 0.1);

  --color-cyan: #00e8cc;
  --color-cyan-dim: #00c4ad;
  --color-teal: #14b8a6;
  --color-cyan-glow: rgba(0, 232, 204, 0.35);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Anton', 'Space Grotesk', sans-serif;

  --fs-xs: clamp(0.65rem, 0.6vw + 0.3rem, 0.75rem);
  --fs-sm: clamp(0.75rem, 0.7vw + 0.4rem, 0.875rem);
  --fs-base: clamp(0.875rem, 0.8vw + 0.5rem, 1rem);
  --fs-md: clamp(1rem, 1vw + 0.5rem, 1.25rem);
  --fs-lg: clamp(1.25rem, 1.5vw + 0.5rem, 1.75rem);
  --fs-xl: clamp(1.75rem, 2.5vw + 0.5rem, 2.75rem);
  --fs-2xl: clamp(2.5rem, 4vw + 0.5rem, 4.5rem);
  --fs-3xl: clamp(3.5rem, 6vw + 0.5rem, 7rem);
  --fs-hero: clamp(3rem, 5vw + 0.5rem, 5.5rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;

  /* Layout */
  --navbar-h: 60px;
  --sidebar-w: 60px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index layers */
  --z-canvas: -1;
  --z-content: 10;
  --z-ui: 100;
  --z-preloader: 9999;
}

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

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

a:hover {
  color: var(--color-cyan);
}

ul,
ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

/* =================================================================
   PRELOADER
   ================================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-deep);
  gap: var(--space-lg);
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s;
}

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

.preloader__ring {
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-white-10);
  border-top-color: var(--color-cyan);
  border-radius: 50%;
  animation: preloader-spin 0.8s linear infinite;
}

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

.preloader__text {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white-50);
}

.preloader__dots {
  animation: preloader-dots 1.4s steps(4, end) infinite;
}

@keyframes preloader-dots {
  0% {
    content: '';
    opacity: 0;
  }

  25% {
    content: '.';
    opacity: 1;
  }

  50% {
    content: '..';
    opacity: 1;
  }

  75% {
    content: '...';
    opacity: 1;
  }

  100% {
    content: '';
    opacity: 0;
  }
}

/* =================================================================
   CANVAS — FIXED FULL-SCREEN BACKGROUND
   ================================================================= */
#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: var(--z-canvas);
  display: block;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  pointer-events: none;
  will-change: contents;
  background: var(--color-bg-deep);
}

/* =================================================================
   NAVBAR
   ================================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-h);
  z-index: var(--z-ui);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--space-xl);
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.85) 0%, transparent 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.navbar__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-md);
  letter-spacing: 0.05em;
  color: var(--color-white);
  justify-self: start;
}

.navbar__linkedin {
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--color-white-50);
  justify-self: center;
  text-align: center;
}

.navbar__links {
  display: flex;
  gap: var(--space-xl);
  justify-self: end;
}

.navbar__link {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white-70);
  position: relative;
  padding-bottom: 2px;
}

.navbar__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background: var(--color-cyan);
  transition: width 0.3s var(--ease-smooth);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__link:hover {
  color: var(--color-white);
}

/* =================================================================
   SIDEBAR
   ================================================================= */
.sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-ui);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-md);
  width: var(--sidebar-w);
}

.sidebar__icon {
  color: var(--color-white-50);
  transition: color 0.3s, transform 0.3s var(--ease-bounce);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar__icon:hover {
  color: var(--color-cyan);
  transform: scale(1.2);
}

/* =================================================================
   RESUME BADGE
   ================================================================= */
.resume-badge {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-ui);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white-50);
  transition: color 0.3s;
}

.resume-badge:hover {
  color: var(--color-cyan);
}

/* =================================================================
   SECTION — SHARED
   ================================================================= */
.section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  z-index: var(--z-content);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section__inner {
  width: 100%;
  max-width: 1400px;
  padding: var(--navbar-h) calc(var(--sidebar-w) + var(--space-lg)) var(--space-2xl) calc(var(--sidebar-w) + var(--space-lg));
  margin: 0 auto;
}

/* =================================================================
   LABEL
   ================================================================= */
.label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.label--cyan {
  color: var(--color-cyan);
}

/* =================================================================
   SECTION 1 — HERO
   ================================================================= */
.section--hero {
  background: transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  gap: var(--space-xl);
}

.hero-grid__left {
  padding-left: var(--space-lg);
}

.hero-grid__name {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-shadow: 0 0 60px rgba(0, 232, 204, 0.08);
}

.hero-grid__center {
  /* Empty */
}

/* Hero Text Animation Masking */
.hero-role-slider {
  position: relative;
  height: 120px;
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

.hero-role {
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0;
}

.hero-role__mask {
  overflow: hidden;
  padding-top: 5px;
}

.hero-grid__company {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-white);
  text-shadow: 0 0 60px rgba(0, 232, 204, 0.08);
}

/* =================================================================
   SECTION 2 — ABOUT
   ================================================================= */
.section--about {
  background: transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  gap: var(--space-2xl);
}

.about-grid__left {
  display: flex;
  justify-content: flex-start;
}

.about-grid__right {
  /* Empty */
}

/* Glassmorphism Card for About Section */
.about-card {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  max-width: 580px;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  display: flex;
  gap: var(--space-md);
}

.section-title__cyan {
  color: var(--color-cyan);
}

.section-title__white {
  color: var(--color-white);
}

.about-grid__text {
  font-size: var(--fs-base);
  color: var(--color-white-90);
  line-height: 1.8;
}

/* =================================================================
   SECTION 3 — WHAT I DO
   ================================================================= */
.section--whatido {
  background: transparent;
}

.whatido-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  gap: var(--space-xl);
}

.whatido-grid__left {
  padding-left: var(--space-lg);
}

.whatido-title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-white);
}

.whatido-title__cyan {
  color: var(--color-cyan);
}

.whatido-grid__center {
  /* Empty */
}

.whatido-grid__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.service-card {
  background: rgba(17, 17, 21, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-xl);
  transition: border-color 0.4s var(--ease-smooth), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  border-color: var(--color-border-glow);
  box-shadow: 0 0 40px rgba(0, 232, 204, 0.06);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: var(--space-md);
  color: var(--color-cyan);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.service-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-white-50);
  line-height: 1.7;
}

/* =================================================================
   SECTION 4 — CAREER
   ================================================================= */
.section--career {
  background: transparent;
}

.career-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(var(--navbar-h) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
}

.career-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  text-align: center;
  margin-bottom: var(--space-2xl);
  line-height: 1.2;
  font-style: italic;
  font-weight: 400;
}

.career-title__white {
  color: var(--color-white);
}

.career-title__cyan {
  color: var(--color-cyan);
}

.timeline {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--color-cyan-dim), var(--color-cyan), var(--color-cyan-dim), transparent);
  transform: translateX(-50%);
  opacity: 0.5;
  box-shadow: 0 0 12px var(--color-cyan-glow);
}

.timeline__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  position: relative;
  padding: 24px;

  /* Dark glassmorphism */
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: border-color 0.4s var(--ease-smooth), box-shadow 0.4s;
}

.timeline__row:hover {
  border-color: var(--color-border-glow);
  box-shadow: 0 8px 40px rgba(0, 232, 204, 0.08), 0 8px 32px rgba(0, 0, 0, 0.35);
}

.timeline__left {
  text-align: right;
  padding-right: var(--space-lg);
}

.timeline__role {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.timeline__company {
  font-size: var(--fs-sm);
  color: var(--color-cyan);
  font-weight: 500;
}

.timeline__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  min-width: 100px;
}

.timeline__year {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 16px var(--color-cyan-glow), 0 0 4px var(--color-cyan);
  border: 2px solid rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 2;
}

.timeline__right {
  padding-left: var(--space-lg);
}

.timeline__desc {
  font-size: var(--fs-sm);
  color: var(--color-white-70);
  line-height: 1.7;
  max-width: 400px;
}

/* =================================================================
   SECTION 5 — MY WORK
   ================================================================= */
.section--work {
  background: transparent;
}

.work-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(var(--navbar-h) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  width: 100%;
}

/* Centered Glassmorphism Title */
.work-title-wrapper {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 15px 40px;
  margin-bottom: var(--space-2xl);
  display: inline-block;
  z-index: 10;
}

.work-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  text-align: center;
}

.work-title__white {
  color: var(--color-white);
}

.work-title__cyan {
  color: var(--color-cyan);
  margin-left: var(--space-sm);
}

/* Swiper Container */
.my-work-swiper {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 60px;
  overflow: hidden;
}

/* 3D Slides */
.swiper-slide.work-slide {
  width: 450px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: 30px;

  /* Dark Glassmorphism */
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: border-color 0.4s var(--ease-smooth);
}

.swiper-slide.work-slide:hover {
  border-color: var(--color-border-glow);
}

/* Inner Slide Content */
.work-slide__number {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  color: var(--color-white-10);
  display: block;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.work-slide__name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.work-slide__subtitle {
  font-size: var(--fs-sm);
  color: var(--color-white-50);
  margin-bottom: var(--space-lg);
}

.work-slide__tools {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.work-slide__tools-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white-70);
}

.work-slide__tools-list {
  font-size: var(--fs-sm);
  color: var(--color-white-50);
}

.work-slide__preview {
  position: relative;
  width: 100%;
}

.work-slide__image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.work-slide__gradient-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #1a1a40 75%, #0d0d1a 100%);
  position: relative;
}

.work-slide__gradient-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0, 232, 204, 0.1), transparent 60%), radial-gradient(circle at 70% 60%, rgba(88, 28, 135, 0.15), transparent 50%);
}

.work-slide__external-link {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-white-10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white-70);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  z-index: 5;
}

.work-slide__external-link:hover {
  background: var(--color-cyan);
  color: var(--color-bg);
}

/* Swiper Arrows Overrides */
.swiper-button-prev,
.swiper-button-next {
  color: var(--color-cyan) !important;
  background: rgba(0, 0, 0, 0.5);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  border: 1px solid var(--color-white-10);
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 18px !important;
}

/* =================================================================
   SECTION 6 — CONTACT
   ================================================================= */
.section--contact {
  background: var(--color-bg-deep);
  min-height: 60vh;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: calc(var(--navbar-h) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
}

.contact-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  margin-bottom: var(--space-lg);
}

.contact-title__white {
  color: var(--color-white);
}

.contact-title__cyan {
  color: var(--color-cyan);
  margin-left: var(--space-sm);
}

.contact-text {
  font-size: var(--fs-base);
  color: var(--color-white-50);
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.contact-links {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border: 1px solid var(--color-white-10);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-white-70);
  transition: all 0.3s var(--ease-smooth);
}

.contact-btn:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  background: rgba(0, 232, 204, 0.05);
  box-shadow: 0 0 20px rgba(0, 232, 204, 0.1);
}

/* =================================================================
   REVEAL ANIMATIONS
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

/* =================================================================
   RESPONSIVE — TABLET
   ================================================================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid__center {
    display: none;
  }

  .whatido-grid {
    grid-template-columns: 1fr 1fr;
  }

  .whatido-grid__center {
    display: none;
  }

  .timeline__row {
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
  }

  .timeline__left {
    text-align: left;
    padding-right: 0;
  }

  .timeline__center {
    display: none;
  }

  .timeline__line {
    left: 0;
    transform: none;
  }

  .timeline__right {
    padding-left: var(--space-md);
    grid-column: 1 / -1;
  }
}

/* =================================================================
   RESPONSIVE — MOBILE
   ================================================================= */
@media (max-width: 768px) {
  :root {
    --navbar-h: 50px;
    --sidebar-w: 0px;
  }

  .navbar {
    padding: 0 var(--space-md);
  }

  .navbar__linkedin {
    display: none;
  }

  .navbar__links {
    gap: var(--space-md);
  }

  .sidebar {
    display: none;
  }

  .section__inner {
    padding: var(--navbar-h) var(--space-md) var(--space-xl) var(--space-md);
  }

  /* --- Updated Hero Grid for Mobile --- */
  .hero-grid {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    padding-bottom: 12vh; 
    gap: 15px;
    text-align: center;
  }

  .hero-grid__left {
    padding-left: 0;
    width: 100%;
  }

  .hero-grid__name {
    font-size: clamp(1.8rem, 9vw, 3rem); 
    line-height: 1;
  }

  .hero-grid__right {
    text-align: center;
    padding-right: 0;
    width: 100%;
  }
  
  .hero-role-slider {
    justify-content: center;
    text-align: center;
    height: 80px; 
  }
  
  .hero-role {
    left: 0;
    right: 0;
  }
  /* ------------------------------------ */

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid__left {
    display: none;
  }

  .whatido-grid {
    grid-template-columns: 1fr;
  }

  .whatido-grid__left {
    padding-left: 0;
    text-align: center;
  }

  .section-title {
    justify-content: center;
  }

  .swiper-slide.work-slide {
    width: 85%;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}

/* =================================================================
   UTILITY — SMOOTH CANVAS TRANSITION FOR SECTIONS 4+
   ================================================================= */
#hero-canvas.canvas--faded {
  opacity: 0;
  transition: opacity 1s var(--ease-smooth);
}