/* ==========================================================================
   ABDELRAHMAN PORTFOLIO SYSTEM - STYLESHEET
   Includes Selected Work Character-by-Character & Line Blur-Reveal (.work-char, .work-desc-wrap)
   ========================================================================== */

:root {
  /* Colors */
  --sky-blue-top: #1b89f8;
  --sky-blue-mid: #3ca0ff;
  --sky-white-bottom: #ffffff;

  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-dim: #cbd5e1;
  --text-white: #ffffff;

  --accent-primary: #1b89f8;
  --accent-indigo: #4f46e5;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Custom Smooth Cubic-Bezier Spring Timing */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.25s var(--ease-spring);
  --transition-smooth: 0.45s var(--ease-spring);
  --transition-fold: 0.6s var(--ease-spring);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  background-color: #ffffff;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   FLUID EXPANDING / FOLDING FLOATING PILL NAVBAR
   ========================================================================== */
.floating-nav-container {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0 1rem;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  transition: max-width var(--transition-fold), padding var(--transition-fold), background var(--transition-smooth), box-shadow var(--transition-smooth);
  will-change: max-width, padding, background;
  overflow: hidden;
}

/* Expanded state */
.nav-pill,
.nav-pill.is-expanded {
  padding: 0.35rem 0.6rem 0.35rem 0.6rem;
  width: auto;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nav-pill:hover,
.nav-pill.is-expanded:hover {
  background: rgba(255, 255, 255, 0.65);
}

/* Collapsed state */
.nav-pill.is-collapsed {
  padding: 0.35rem 0.75rem 0.35rem 0.6rem;
  max-width: 215px;
  background: rgba(255, 255, 255, 0.45);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

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

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  white-space: nowrap;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
  opacity: 1;
  max-width: 320px;
  transform: translateX(0) scale(1);
  transition: opacity 0.45s var(--ease-spring), transform 0.45s var(--ease-spring), max-width 0.6s var(--ease-spring), margin-left 0.6s var(--ease-spring);
  white-space: nowrap;
  overflow: hidden;
}

.nav-pill.is-collapsed .nav-links {
  opacity: 0;
  max-width: 0;
  margin-left: 0;
  transform: translateX(12px) scale(0.92);
  pointer-events: none;
}

/* 3-Dots Button */
.nav-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.45rem;
  border-radius: var(--radius-pill);
  transition: opacity 0.45s var(--ease-spring), transform 0.45s var(--ease-spring), max-width 0.6s var(--ease-spring), margin-left 0.6s var(--ease-spring), background var(--transition-fast);
  margin-left: 0.5rem;
  flex-shrink: 0;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transform: scale(0.7);
  pointer-events: none;
}

.nav-pill.is-collapsed .nav-toggle-btn {
  opacity: 1;
  max-width: 40px;
  margin-left: 0.5rem;
  transform: scale(1);
  pointer-events: auto;
}

.nav-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: scale(1.08);
}

.nav-link {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  transition: color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.06);
}

.nav-link.active {
  background: var(--text-dark) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-nav-accent {
  padding: 0.35rem 0.95rem;
}

/* ==========================================================================
   PANORAMIC 16:9 SKY HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: url('Picsart_26-07-25_12-23-38-158.jpg') center top / cover no-repeat;
}

.sky-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0.85) 45%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding-top: 13.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.greeting-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeType 0.8s var(--ease-spring) 0.2s forwards;
}

.greeting-badge .emoji {
  font-size: 1.1rem;
}

.greeting-badge .greeting-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: inline-block;
  white-space: nowrap;
}

.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  margin-bottom: 2rem;
}

.hero-line-1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 7.5vw, 7.5rem);
  letter-spacing: -0.04em;
  color: #ffffff;
  text-transform: lowercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: inline-block;
}

.hero-line-2 {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(4.5rem, 9vw, 8.8rem);
  color: #ffffff;
  margin-top: -0.28em;
  margin-left: 0.75em;
  text-transform: lowercase;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.25));
  display: inline-block;
}

.floating-word {
  animation: floatDeveloperWord 4s ease-in-out 1.7s infinite;
}

/* HERO CHARACTER-BY-CHARACTER BLUR-REVEAL ANIMATION (FRAMER RICH TEXT TRANSITION) */
.hero-char {
  display: inline-block;
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(4.08px, -16.92px, 0px) scale(1.036, 1);
  transform-origin: 50% 50% 0px;
  animation: heroCharReveal 0.65s var(--ease-spring) calc(0.3s + var(--char-index) * 40ms) forwards;
  will-change: transform, filter, opacity;
}

@keyframes heroCharReveal {
  0% {
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(4.08px, -16.92px, 0px) scale(1.036, 1);
  }

  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translate3d(0, 0, 0) scale(1, 1);
  }
}

@keyframes heroFadeType {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatDeveloperWord {

  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }

  50% {
    transform: translateY(-12px) rotate(-3.5deg);
  }
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: rgba(255, 255, 255, 0.98);
  font-weight: 600;
  line-height: 1.5;
  max-width: 500px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: heroFadeType 0.9s var(--ease-spring) 1.15s forwards;
}

.hero-right {
  height: 100%;
}

.hero-bottom-bar {
  width: 100%;
  padding: 3rem 0 1.5rem 0;
  margin-top: auto;
}

.bottom-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.meta-label {
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}

.pin-icon {
  width: 15px;
  height: 15px;
  color: var(--text-dark);
}

.location-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.05em;
}

.mindset-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text-dark);
}

/* ==========================================================================
   WHAT I DO SECTION
   ========================================================================== */
.what-i-do-section {
  padding: 7.5rem 0 6.5rem 0;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.what-i-do-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.what-badge-col {
  padding-top: 0.75rem;
}

.what-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-dark);
}

.diamond-icon {
  color: var(--accent-primary);
  font-size: 0.9rem;
}

.what-content-col {
  display: flex;
  flex-direction: column;
}

.what-i-do-statement {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.35em;
  row-gap: 0.1em;
}

/* SLOWER GRADUAL REVEAL WORDS */
.reveal-word {
  color: #cbd5e1;
  opacity: 0.28;
  filter: blur(0.4px);
  transform: translateY(3px);
  transition: color 0.45s var(--ease-spring), opacity 0.45s var(--ease-spring), filter 0.45s var(--ease-spring), transform 0.45s var(--ease-spring);
  display: inline-block;
  will-change: color, opacity, transform, filter;
}

.reveal-word.is-lit {
  color: var(--text-dark);
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.reveal-word.script-highlight {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.15em;
  line-height: 1;
}

.reveal-word.script-highlight.is-lit {
  color: var(--accent-primary);
}

.reveal-word.dimmed-word.is-lit {
  color: #94a3b8;
  opacity: 0.6;
}

/* Stats Grid Spec */
.stats-grid-spec {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  max-width: 780px;
}

.stat-box-spec {
  display: flex;
  flex-direction: column;
}

.stat-number-spec {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, 5vw, 4.8rem);
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.85rem;
  cursor: pointer;
}

.stat-heading-spec {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.stat-sub-spec {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ==========================================================================
   SELECTED WORK (SEPARATE HEADER + 100% FULL-SCREEN EDGE-TO-EDGE CARDS)
   ========================================================================== */
.work-header-section {
  padding: 6rem 0 3rem 0;
  background: #ffffff;
  width: 100%;
}

.section-badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

/* SELECTED WORK CHARACTER-BY-CHARACTER BLUR-REVEAL TITLE */
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 0.1em;
}

.work-word {
  display: inline-block;
  white-space: nowrap;
  margin: 0 0.18em;
}

.work-char {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.45s var(--ease-spring), filter 0.45s var(--ease-spring), transform 0.45s var(--ease-spring);
  will-change: transform, filter, opacity;
}

.work-char.is-visible {
  opacity: 1;
  filter: blur(0px);
  transform: none;
}

/* WHOLE LINE BLUR FADE REVEAL FOR SUBTITLE UNDER */
.work-desc-wrap {
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  filter: blur(6px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring), filter 0.75s var(--ease-spring);
  will-change: opacity, transform, filter;
  display: inline-block;
}

.work-desc-wrap.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* FULL SCREEN 100VW EDGE-TO-EDGE CONTAINER */
.scroll-stack-container {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  min-height: 600vh;
}

/* Sticky Card Wrapper Pinning (Full Viewport Height) */
.stacking-card-wrapper {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.card-wrapper-1 {
  z-index: 1;
  top: 0;
}

.card-wrapper-2 {
  z-index: 2;
  top: 0;
}

.card-wrapper-3 {
  z-index: 3;
  top: 0;
}

.card-wrapper-4 {
  z-index: 4;
  top: 0;
}

.card-wrapper-5 {
  z-index: 5;
  top: 0;
}

.card-wrapper-6 {
  z-index: 6;
  top: 0;
}

/* The Full Screen Card Element */
.stacking-card {
  width: 100vw;
  height: 100vh;
  border-radius: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: none;
  transform-origin: center center;
  will-change: transform, border-radius;
  transition: none;
}

/* UNIQUE BACKGROUND CLASSES FOR EACH CARD */
.card-1 {
  background: url('hero-1.jpg') center center / cover no-repeat;
}

.card-2 {
  background: url('flyphone.png') center center / cover no-repeat;
}

.card-3 {
  background: url('slide3-1 (1).jpeg') right center / cover no-repeat;
}

.card-4 {
  background: url('Gemini_Generated_Image_p4z3eyp4z3eyp4z3.png') center center / cover no-repeat;
}

.card-5 {
  background: url('blackOne2.jpg') center center / cover no-repeat;
}

.card-6 {
  background: url('about_riyadh_district.png') center center / cover no-repeat;
}

.full-card-bg {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  padding: 4rem 6rem;
  height: 100%;
  align-items: center;
  position: relative;
}

.card-glass-panel {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 32px;
  padding: 3.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  max-width: 580px;
}

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

.glass-badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  color: #ffffff;
}

.glass-year {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.glass-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: -0.02em;
}

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

.gtag {
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.glass-desc {
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
}

.btn-case-study {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.55rem 1.5rem 0.55rem 0.65rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  width: max-content;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast), background var(--transition-fast);
  margin-top: 0.5rem;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}

.btn-case-study:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}

.btn-arrow-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.card-right-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* 16:9 SCREENSHOT MOCKUP FRAME */
.card-image-mockup {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card-image-mockup:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

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

/* ==========================================================================
   ABOUT ME SECTION (FRAMER CHARACTER-BY-CHARACTER BLUR-REVEAL ANIMATION)
   ========================================================================== */
.about-section {
  padding: 8rem 0;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  position: relative;
  z-index: 10;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

/* Polaroid Photo Frame */
.polaroid-frame {
  background: #ffffff;
  padding: 1.25rem 1.25rem 4rem 1.25rem;
  border-radius: 4px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring);
  max-width: 440px;
  margin: 0 auto;
}

.polaroid-frame:hover {
  transform: rotate(-1deg) translateY(-6px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.16);
}

.polaroid-img-wrapper {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  overflow: hidden;
  border-radius: 2px;
  background: #e2e8f0;
}

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

/* Right Content */
.about-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

/* Framer Title Layout */
.about-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.1;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  text-transform: lowercase;
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.1em;
}

.about-word {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.28em;
}

/* FRAMER CHARACTER-BY-CHARACTER BLUR-REVEAL SPECIFIED INLINE-BLOCK ANIMATION */
.about-char {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.45s var(--ease-spring), filter 0.45s var(--ease-spring), transform 0.45s var(--ease-spring);
  will-change: transform, filter, opacity;
}

.about-char.is-visible {
  opacity: 1;
  filter: blur(0px);
  transform: none;
}

/* Hero-Style Blur-to-Sharp Fade Reveal Container for Bio Text & Signature */
.about-bio-wrap {
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  filter: blur(6px);
  transition: opacity 0.85s var(--ease-spring), transform 0.85s var(--ease-spring), filter 0.85s var(--ease-spring);
  will-change: opacity, transform, filter;
}

.about-bio-wrap.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.bio-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.sign-off {
  font-family: 'Caveat', cursive;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-top: 0.75rem;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.skill-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.skill-icon {
  font-size: 1.3rem;
}

.skill-card-header h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
}

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

.pill-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.pill-tag:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: #e0f2fe;
}

/* ==========================================================================
   WHY WORK WITH ME SECTION
   ========================================================================== */
.why-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.value-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   PURE SKY CLOUDS FOOTER SECTION (REFERENCE MATCH)
   ========================================================================== */
.site-sky-footer {
  position: relative;
  width: 100%;
  min-height: 95vh;
  padding: 14rem 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url('pure_sky_clouds_169.png') center top / cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.site-sky-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to bottom, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.sky-footer-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.sky-cta-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.sky-cta-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.cta-script-font {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-style: italic;
  font-size: 1.15em;
  margin: 0 0.1em;
  display: inline-block;
  color: #ffffff;
  transition: opacity 0.4s var(--ease-spring), transform 0.4s var(--ease-spring), filter 0.4s var(--ease-spring);
  will-change: transform, opacity, filter;
  transform-origin: 50% 50% 0px;
  filter: blur(0px);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1, 1) rotate(-2deg);
}

/* Exiting word floats UP and blurs out */
.cta-script-font.word-anim-out {
  opacity: 0;
  transform: translate3d(0, -28px, 0) scale(0.94, 1) rotate(-2deg);
  filter: blur(6px);
}

/* Entering word starts DOWN below and floats UP into view */
.cta-script-font.word-anim-in {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.94, 1) rotate(-2deg);
  filter: blur(6px);
}

.sky-cta-right {
  display: flex;
  justify-content: flex-end;
}

.sky-card-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  border: 2.5px solid rgba(255, 255, 255, 0.7);
  transform: rotate(-3deg);
}

.sky-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.sky-info-row {
  display: flex;
  gap: 5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

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

.info-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
}

.info-val {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: opacity 0.2s ease;
}

.info-val:hover {
  opacity: 0.85;
}

.sky-social-icons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sky-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #1b89f8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s var(--ease-spring), background 0.25s ease;
}

.sky-icon-btn:hover {
  transform: translateY(-3px) scale(1.08);
  background: #f8fafc;
}

.sky-copy-row {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.sky-copy-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.sky-watermark-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  user-select: none;
  margin-top: 1rem;
}

.sky-watermark-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 7.5vw, 7.2rem);
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.22);
  line-height: 0.88;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.footer-socials a:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-section {
    background-position: 78% top;
  }

  .what-i-do-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .stacking-card-wrapper {
    height: 100vh;
    height: 100dvh;
    padding: 0.5rem;
    box-sizing: border-box;
  }

  .stacking-card {
    height: calc(100vh - 1rem);
    height: calc(100dvh - 1rem);
    border-radius: 1.5rem;
  }

  .full-card-bg {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 0.9rem;
    gap: 0.65rem;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    grid-template-columns: 1fr;
  }

  .card-right-visual {
    display: flex !important;
    width: 100%;
    max-height: 27%;
    justify-content: center;
    align-items: center;
    min-height: 0;
    flex-shrink: 1;
  }

  .card-image-mockup {
    max-width: 380px;
    width: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  }

  .card-glass-panel {
    max-width: 100%;
    width: 100%;
    padding: 1.15rem 1.15rem;
    gap: 0.6rem;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    max-height: 70%;
  }

  .glass-header {
    margin-bottom: 0;
  }

  .glass-badge {
    font-size: 0.78rem;
    padding: 0.2rem 0.65rem;
  }

  .glass-year {
    font-size: 0.8rem;
  }

  .glass-title {
    font-size: clamp(1.3rem, 3.8vw, 1.75rem);
    line-height: 1.15;
  }

  .glass-tags {
    gap: 0.35rem;
  }

  .gtag {
    font-size: 0.74rem;
    padding: 0.2rem 0.65rem;
  }

  .glass-desc {
    font-size: 0.86rem;
    line-height: 1.38;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .btn-case-study {
    font-size: 0.86rem;
    padding: 0.4rem 1.15rem 0.4rem 0.5rem;
    gap: 0.45rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    align-self: flex-start;
  }

  .btn-arrow-circle {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .skills-grid,
  .value-props-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .floating-nav-container {
    top: 0.85rem;
  }

  .nav-pill.is-collapsed {
    padding: 0.35rem 0.75rem 0.35rem 0.6rem;
    max-width: 220px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.75);
  }

  .nav-pill.is-expanded {
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.85);
  }

  .hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    background-image: url('Picsart_26-07-25_12-23-38-158.jpg');
    background-size: cover;
    background-position: 68% top;
    background-repeat: no-repeat;
  }

  .hero-content-wrapper {
    padding-top: 5.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

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

  .hero-left {
    max-width: 100%;
    width: 100%;
    margin-top: 0;
  }

  .greeting-badge {
    margin-bottom: 0.65rem;
  }

  .greeting-badge .greeting-text {
    font-size: 1.02rem;
    font-weight: 700;
  }

  .hero-title {
    margin-bottom: 1rem;
  }

  .hero-line-1 {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
    white-space: nowrap;
    line-height: 1;
  }

  .hero-line-2 {
    font-size: clamp(3.4rem, 14.5vw, 5rem);
    margin-top: -0.22em;
    margin-left: 0.18em;
    line-height: 0.85;
  }

  .hero-subtitle {
    font-size: clamp(0.92rem, 3.6vw, 1.05rem);
    max-width: 290px;
    line-height: 1.45;
  }

  .hero-bottom-bar {
    padding: 1rem 0 1.25rem 0;
    margin-top: auto;
  }

  .bottom-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .stacking-card-wrapper {
    height: 100vh;
    height: 100dvh;
    padding: 0.35rem;
  }

  .stacking-card {
    height: calc(100vh - 0.7rem);
    height: calc(100dvh - 0.7rem);
    border-radius: 1.25rem;
  }

  .full-card-bg {
    padding: 0.95rem 0.7rem;
    gap: 0.5rem;
  }

  .card-right-visual {
    max-height: 25%;
  }

  .card-image-mockup {
    max-width: 320px;
    border-radius: 10px;
  }

  .card-glass-panel {
    padding: 0.95rem 0.95rem;
    gap: 0.45rem;
    border-radius: 16px;
    max-height: 72%;
  }

  .glass-badge {
    font-size: 0.75rem;
    padding: 0.18rem 0.6rem;
  }

  .glass-year {
    font-size: 0.78rem;
  }

  .glass-title {
    font-size: clamp(1.2rem, 4.6vw, 1.5rem);
    line-height: 1.15;
  }

  .glass-tags {
    gap: 0.3rem;
  }

  .gtag {
    font-size: 0.72rem;
    padding: 0.18rem 0.55rem;
  }

  .glass-desc {
    font-size: 0.82rem;
    line-height: 1.38;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .btn-case-study {
    font-size: 0.82rem;
    padding: 0.35rem 0.95rem 0.35rem 0.45rem;
    gap: 0.45rem;
    margin-top: 0.1rem;
  }

  .btn-arrow-circle {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }

  .skills-grid,
  .value-props-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .hero-section {
    background-size: cover;
    background-position: 68% top;
  }

  .hero-content-wrapper {
    padding-top: 5rem;
  }

  .hero-line-1 {
    font-size: clamp(2.3rem, 10.5vw, 3.2rem);
  }

  .hero-line-2 {
    font-size: clamp(3.1rem, 13.5vw, 4.5rem);
    margin-left: 0.15em;
  }

  .stats-grid-spec {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-row,
  .skills-grid,
  .value-props-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .full-card-bg {
    padding: 0.75rem 0.5rem;
    gap: 0.4rem;
  }

  .card-right-visual {
    max-height: 23%;
  }

  .card-image-mockup {
    max-width: 270px;
    border-radius: 8px;
  }

  .card-glass-panel {
    padding: 0.85rem 0.85rem;
    gap: 0.4rem;
    border-radius: 14px;
    max-height: 74%;
  }

  .glass-title {
    font-size: clamp(1.1rem, 4.8vw, 1.35rem);
    line-height: 1.12;
  }

  .glass-desc {
    font-size: 0.78rem;
    line-height: 1.35;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .btn-case-study {
    font-size: 0.78rem;
    padding: 0.3rem 0.85rem 0.3rem 0.4rem;
    gap: 0.4rem;
  }

  .btn-arrow-circle {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }
}

@media (max-height: 680px) and (max-width: 768px) {
  .full-card-bg {
    padding: 0.6rem 0.45rem;
    gap: 0.35rem;
  }

  .card-right-visual {
    max-height: 20%;
  }

  .card-glass-panel {
    padding: 0.75rem 0.75rem;
    gap: 0.35rem;
    max-height: 77%;
  }

  .glass-title {
    font-size: 1.1rem;
  }

  .glass-desc {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

/* ==========================================================================
   MY TECH JOURNEY - HORIZONTAL SCROLL-DRIVEN TIMELINE (EXACT FRAMER MATCH)
   ========================================================================== */
.journey-section {
  position: relative;
  height: 500vh;
  background-color: #f8fafc;
  padding: 0;
}

.journey-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 0;
}

.journey-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1b89f8;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.journey-badge-top .badge-diamond {
  color: #1b89f8;
  font-size: 0.85rem;
}

.journey-main-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #0f172a;
  text-transform: lowercase;
  line-height: 1.1;
  text-align: center;
}

.journey-word {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.28em;
}

.journey-char {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.45s var(--ease-spring), filter 0.45s var(--ease-spring), transform 0.45s var(--ease-spring);
  will-change: transform, filter, opacity;
}

.journey-char.is-visible {
  opacity: 1;
  filter: blur(0px);
  transform: none;
}

.journey-main-subtitle {
  font-size: 1.02rem;
  color: #64748b;
  text-align: center;
  max-width: 620px;
  margin: 0.65rem auto 0 auto;
  line-height: 1.5;
}

.journey-subtitle-wrap {
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
  will-change: transform, opacity;
}

.journey-subtitle-wrap.is-visible {
  opacity: 1;
  transform: none;
}

.journey-track-window {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 3.5rem 0;
  margin-top: 1rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.journey-center-line {
  position: absolute;
  top: 50%;
  left: calc(50vw);
  width: calc(100% - 100vw);
  height: 2px;
  background: #cbd5e1;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.journey-track {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  gap: 90px;
  align-items: center;
  will-change: transform;
  transition: transform 0.08s ease-out;
  padding-left: calc(50vw - 190px);
  padding-right: 0;
}

.journey-end-spacer {
  flex: 0 0 calc(50vw - 190px);
  width: calc(50vw - 190px);
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

.journey-node {
  flex: 0 0 380px;
  width: 380px;
  min-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  opacity: 1;
}

.journey-node.pill-top {
  justify-content: flex-end;
  height: 380px;
}

.journey-node.pill-bottom {
  justify-content: flex-start;
  height: 380px;
}

.journey-stem-line {
  width: 2px;
  height: 36px;
  background: #cbd5e1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px auto;
}

.journey-dot-head {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0284c7;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.journey-node.pill-top .journey-dot-head {
  bottom: 0;
}

.journey-node.pill-bottom .journey-dot-head {
  top: 0;
}

.journey-pill-badge {
  padding: 0.38rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  white-space: nowrap;
  text-align: center;
  margin: 0 auto;
}

.journey-pill-badge.green-pill {
  background: #ffffff;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.journey-pill-badge.blue-pill {
  background: #ffffff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.journey-card {
  width: 380px;
  min-width: 380px;
  height: auto;
  min-height: max-content;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem 1.65rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
  overflow: visible;
  text-align: left;
  transform: none;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
}

.journey-node.pill-top .journey-card {
  transform-origin: top center;
  transform: rotate(-1.5deg);
}

.journey-node.pill-bottom .journey-card {
  transform-origin: bottom center;
  transform: rotate(1.5deg);
}

.journey-date-pill {
  padding: 0.38rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  white-space: nowrap;
}

.journey-date-pill.green-pill {
  background: #ffffff;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.journey-date-pill.blue-pill {
  background: #ffffff;
  color: #29292b;
  border: 1px solid #d8e3eb;
}

.journey-node.is-focused .journey-card {
  transform: rotate(0deg) scale(1.02);
  border-color: rgba(27, 137, 248, 0.3);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.journey-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.journey-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.journey-icon-box.duo-icons {
  gap: 0.35rem;
}

.journey-head-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 130px;
}

.journey-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #131415;
  line-height: 1.2;
}

.journey-sub-tag {
  font-size: 0.82rem;
  color: #63615e;
  font-weight: 500;
}

.journey-location-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  background: #f1f5f9;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 100%;
  align-self: flex-start;
}

.journey-bullets {
  list-style: disc;
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.journey-bullets li {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

.journey-bullets li strong {
  color: #0f172a;
}



@media (max-width: 768px) {
  .journey-track-window {
    padding: 2rem 0;
  }

  .journey-track {
    gap: 36px;
    padding-left: calc(50vw - (100vw - 56px) / 2);
  }

  .journey-end-spacer {
    flex: 0 0 calc(50vw - (100vw - 56px) / 2);
    width: calc(50vw - (100vw - 56px) / 2);
  }

  .journey-node {
    flex: 0 0 calc(100vw - 56px);
    width: calc(100vw - 56px);
    min-width: calc(100vw - 56px);
  }

  .journey-card {
    width: 100%;
    min-width: 100%;
    padding: 1.25rem 1.2rem;
  }

  .journey-card-top {
    gap: 0.5rem;
  }

  .journey-head-text {
    min-width: 110px;
  }

  .journey-location-tag {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
  }
}

@media (max-width: 580px) {
  .floating-nav-container {
    top: 1rem;
    padding: 0 0.5rem;
  }

  .nav-pill.is-expanded {
    max-width: calc(100vw - 20px);
    padding: 0.3rem 0.5rem;
  }

  .nav-brand {
    gap: 0.45rem;
  }

  .brand-name {
    font-size: 0.8rem;
  }

  .nav-links {
    gap: 0.2rem;
    margin-left: 0.4rem;
  }

  .nav-link {
    font-size: 0.78rem;
    padding: 0.3rem 0.55rem;
  }

  .btn-nav-accent {
    padding: 0.3rem 0.55rem;
  }

  .sky-cta-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .sky-cta-right {
    justify-content: flex-start;
  }

  .sky-card-frame {
    max-width: 260px;
  }

  .sky-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .info-val {
    font-size: 0.95rem;
    word-break: break-all;
  }

  .sky-social-icons {
    gap: 0.85rem;
    margin-top: 0.25rem;
  }

  .sky-icon-btn {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .sky-watermark-text {
    font-size: clamp(2rem, 11vw, 4.5rem);
  }
}

@media (max-width: 440px) {
  .floating-nav-container {
    top: 0.75rem;
    padding: 0 0.25rem;
  }

  .nav-pill,
  .nav-pill.is-expanded {
    max-width: calc(100vw - 12px);
    padding: 0.25rem 0.4rem;
    height: 42px;
  }

  .avatar-circle {
    width: 28px;
    height: 28px;
  }

  .nav-brand {
    gap: 0.35rem;
  }

  .brand-name {
    font-size: 0.74rem;
    letter-spacing: 0.02em;
  }

  .nav-links {
    gap: 0.12rem;
    margin-left: 0.25rem;
  }

  .nav-link {
    font-size: 0.74rem;
    padding: 0.25rem 0.45rem;
  }

  .btn-nav-accent {
    padding: 0.25rem 0.45rem;
  }
}

@media (max-width: 360px) {
  .floating-nav-container {
    padding: 0 0.15rem;
  }

  .nav-pill,
  .nav-pill.is-expanded {
    padding: 0.2rem 0.3rem;
  }

  .brand-name {
    font-size: 0.68rem;
    letter-spacing: 0;
  }

  .nav-links {
    gap: 0.08rem;
    margin-left: 0.18rem;
  }

  .nav-link {
    font-size: 0.71rem;
    padding: 0.2rem 0.38rem;
  }

  .btn-nav-accent {
    padding: 0.2rem 0.38rem;
  }
}