/* --------------------------------------------------
   PREMIUM DESIGN SYSTEM & RESETS
   -------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-cream: #F6F2EA;
  --text-dark: #1C1C1C;
  --text-gray: #555555;
  --mustard-yellow: #E9A825;
  --stories-blue: #2B59C3;
  --brands-red: #C83E2D;
  --mint-green: #2E8B57;
  --border-light: rgba(28, 28, 28, 0.1);
  --header-bg-scroll: rgba(244, 239, 230, 0.85);
  
  /* Fonts */
  --font-hand: 'Patrick Hand', cursive;
  --font-body: 'Manrope', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-magnetic: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}



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

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide custom cursors on touchscreen devices for accessibility */
@media (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

/* --------------------------------------------------
   CUSTOM FOLLOW-CURSOR (PAPER AIRPLANE)
   -------------------------------------------------- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.cursor-plane {
  width: 100%;
  height: 100%;
  color: var(--text-dark);
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: center center;
}


/* --------------------------------------------------
   STICKY NAVIGATION HEADER
   -------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition-slow);
  padding: 24px 0;
  /* Fade down on load */
  opacity: 0;
  transform: translateY(-15px);
  animation: fadeDown 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.2s;
}

.header.scrolled {
  background-color: var(--header-bg-scroll);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(28, 28, 28, 0.04);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  z-index: 110;
  transition: var(--transition-smooth);
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.5vw, 40px);
}

.nav-item {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
  opacity: 0.85;
  transition: var(--transition-smooth);
  display: inline-block;
}

.nav-item:hover {
  opacity: 1;
  color: var(--mustard-yellow);
}

.nav-item.active {
  opacity: 1;
  color: var(--mustard-yellow);
}

/* Hand-drawn Underline SVG */
.nav-underline {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 8px;
  color: var(--mustard-yellow);
  pointer-events: none;
}

.nav-underline path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-item.active .nav-underline path,
.nav-item:hover .nav-underline path {
  stroke-dashoffset: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 110;
}

/* Let's Talk Outline Button */
.btn-talk {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--mustard-yellow);
  border: 1.5px solid var(--mustard-yellow);
  border-radius: 999px;
  padding: 8px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  transition: var(--transition-smooth), var(--transition-magnetic);
  font-weight: 500;
}

.btn-talk:hover {
  background-color: var(--mustard-yellow);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(233, 168, 37, 0.25);
}

.btn-talk .arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-talk:hover .arrow-icon {
  transform: translate(3px, -3px);
}

/* Hamburger Menu Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 110;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 999px;
  transition: var(--transition-smooth);
}

/* --------------------------------------------------
   MOBILE MENU DRAWER
   -------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-cream);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 80px 20px;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  width: 100%;
}

.drawer-item {
  font-family: var(--font-hand);
  font-size: 2.2rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.drawer-item:hover, .drawer-item.active {
  color: var(--mustard-yellow);
}

.drawer-talk {
  margin-top: 20px;
  font-size: 1.6rem;
  padding: 12px 36px;
}

/* Animated Hamburger Menu States */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body.drawer-open {
  overflow: hidden;
}

/* --------------------------------------------------
   HERO SECTION
   -------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-color: var(--bg-cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding-top: 100px;
}

/* Background Contain Layout centering illustration perfectly */
.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('home%20page%202.png');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Container that mimics background image contain dimensions precisely */
.hero-bg-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: calc(100vh * 1.7768); /* matches 1672x941 proportion (1.7768) */
  max-height: calc(100vw / 1.7768);
  aspect-ratio: 1672 / 941;
  pointer-events: none;
  z-index: 5;
}

/* Clickable link box positioned directly over the 'Growth' doodle (graph + text) */
.growth-hotspot {
  position: absolute;
  left: 70%;
  top: 22%;
  width: 10%;
  height: 16%;
  border-radius: 16px;
  pointer-events: auto; /* enable click interactions */
  border: 2.5px dashed transparent;
  transition: var(--transition-smooth);
}

.growth-hotspot:hover {
  border-color: var(--stories-blue);
  background-color: rgba(43, 89, 195, 0.08);
  box-shadow: 0 0 20px rgba(43, 89, 195, 0.2);
}

/* --------------------------------------------------
   HERO TYPOGRAPHY & BUTTONS CONTENT
   -------------------------------------------------- */
.hero-container {
  display: grid;
  grid-template-columns: 4.8fr 5.2fr;
  max-width: 1400px;
  margin: auto;
  width: 100%;
  padding: 40px 5%;
  flex-grow: 1;
  align-items: center;
  z-index: 10;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 580px;
}

/* Sequential Reveal Animations on Load */
.hero-title {
  font-family: var(--font-hand);
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards 0s;
}

.highlight-yellow { color: var(--mustard-yellow); font-size: clamp(3.2rem, 5.8vw, 6.5rem); line-height: 1.0; display: inline-block; vertical-align: middle; }
.highlight-blue { color: var(--stories-blue); font-size: clamp(3.2rem, 5.8vw, 6.5rem); line-height: 1.0; display: inline-block; vertical-align: middle; }
.highlight-red { color: var(--brands-red); font-size: clamp(3.2rem, 5.8vw, 6.5rem); line-height: 1.0; display: inline-block; vertical-align: middle; }

.hero-desc {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.05s;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 45px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.1s;
}

/* Primary Button Styling */
.btn-primary {
  background-color: var(--mustard-yellow);
  color: var(--text-dark);
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 500;
  padding: 12px 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth), var(--transition-magnetic);
  box-shadow: 0 4px 15px rgba(233, 168, 37, 0.15);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(233, 168, 37, 0.35);
  background-color: #E29E1B;
}

.btn-primary .arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary:hover .arrow-icon {
  transform: translate(4px, -4px);
}

/* Secondary Underline Text Button */
.btn-secondary {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition-smooth), var(--transition-magnetic);
}

.btn-secondary span {
  border-bottom: 2.2px solid var(--text-dark);
  padding-bottom: 2px;
  transition: var(--transition-smooth);
}

.btn-secondary:hover span {
  border-bottom-color: var(--mustard-yellow);
  color: var(--mustard-yellow);
}

.btn-secondary:hover {
  color: var(--mustard-yellow);
  transform: translateY(-4px) scale(1.02);
}

.btn-secondary .arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-secondary:hover .arrow-icon {
  transform: translate(4px, -4px);
}

/* Scroll Down Link */
.scroll-down-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.1s;
}

.scroll-down-link {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--text-gray);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
  opacity: 0.8;
}

.scroll-down-link:hover {
  opacity: 1;
  color: var(--text-dark);
  transform: translateY(3px);
}

.scroll-arrow {
  animation: arrowBounce 1.5s infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes fadeDown {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------
   SCROLL REVEAL & STYLES
   -------------------------------------------------- */
.scroll-reveal, .process-step, .testimonial-card, .flip-card {
  opacity: 0;
  transform: perspective(1200px) rotateX(6deg) translate3d(0, 35px, 0);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
  filter: blur(3px);
}

.scroll-reveal.revealed, .process-step.revealed, .testimonial-card.revealed, .flip-card.revealed {
  opacity: 1;
  transform: perspective(1200px) rotateX(0deg) translate3d(0, 0, 0);
  filter: blur(0);
}

/* --------------------------------------------------
   BOTTOM STATISTICS STRIP
   -------------------------------------------------- */
.stats-strip-container {
  width: 100%;
  padding: 0 5% 45px 5%;
  z-index: 10;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.1s;
}

.stats-strip {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 30px;
  align-items: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 10px;
  transition: transform 0.15s ease-out;
  transform: translateZ(0);
}

.stat-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-item:hover .stat-icon-wrapper {
  transform: scale(1.15) rotate(5deg);
}

.stat-icon-wrapper svg {
  width: 100%;
  height: 100%;
}

/* Self-drawing SVG path setup on visible */
.stat-icon-wrapper svg path,
.stat-icon-wrapper svg circle,
.stat-icon-wrapper svg rect {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.stats-strip-container.revealed .stat-icon-wrapper svg path,
.stats-strip-container.revealed .stat-icon-wrapper svg circle,
.stats-strip-container.revealed .stat-icon-wrapper svg rect {
  stroke-dashoffset: 0;
}

/* Custom drawing delays per column */
.stat-item:nth-child(1) svg path, .stat-item:nth-child(1) svg circle { transition-delay: 0s; }
.stat-item:nth-child(3) svg rect, .stat-item:nth-child(3) svg path { transition-delay: 0.25s; }
.stat-item:nth-child(5) svg path, .stat-item:nth-child(5) svg circle { transition-delay: 0.5s; }
.stat-item:nth-child(7) svg path { transition-delay: 0.75s; }

.coral-icon { color: var(--brands-red); }
.blue-icon { color: var(--stories-blue); }
.green-icon { color: var(--mint-green); }
.yellow-icon { color: var(--mustard-yellow); }

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

.stat-number {
  font-family: var(--font-hand);
  font-size: 2.1rem;
  line-height: 1.1;
  font-weight: 400;
  color: var(--text-dark);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.stat-divider {
  width: 1.5px;
  height: 52px;
  background-color: var(--border-light);
}

/* 3D Tilt Card hover wrapper */
.hover-tilt {
  transition: transform 0.15s ease-out;
}

/* --------------------------------------------------
   RESPONSIVE STYLING (MEDIA QUERIES)
   -------------------------------------------------- */

@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 5.2fr 4.8fr;
  }
  .stats-strip {
    padding: 18px 20px;
  }
  .stat-item {
    gap: 12px;
  }
  .stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 991px) {
  .header {
    padding: 15px 0;
  }
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .header-right .btn-talk {
    display: none;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 120px;
  }
  .hero-content {
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .scroll-down-container {
    align-items: center;
  }
  .desktop-br {
    display: none;
  }
  .hero-bg-wrapper {
    background-position: 65% bottom;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    padding: 25px;
    border-radius: 24px;
  }
  .stat-item {
    justify-content: flex-start;
    padding: 10px 15%;
  }
  .stat-divider {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 80px;
    background-position: 60% bottom;
  }
  .hero-container {
    padding-bottom: 240px;
  }
  .hero-title {
    margin-bottom: 16px;
  }
  .hero-desc {
    margin-bottom: 30px;
    font-size: 1.05rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 16px;
    margin-bottom: 30px;
  }
  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .stats-strip {
    grid-template-columns: 1fr;
    grid-gap: 15px;
    padding: 20px;
  }
  .stat-item {
    justify-content: center;
    padding: 8px 0;
  }
  .stats-strip-container {
    padding-bottom: 30px;
  }
}



.section-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-gray);
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-hand);
  font-size: 3.2rem;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 24px;
}

/* --------------------------------------------------
   SECTION 1: ABOUT ETC STUDIOS
   -------------------------------------------------- */
.about-section {
  padding: 120px 8%;
  background-color: var(--bg-cream);
}
.about-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 24px;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
.about-stat-card {
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid #1C1C1C;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 4px 4px 0px #1C1C1C;
  transition: transform 0.3s;
}
.about-stat-card:hover {
  transform: translateY(-3px);
}
.about-stat-num {
  font-family: var(--font-hand);
  font-size: 2.8rem;
  color: var(--stories-blue);
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}
.about-graphic-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-morph-svg {
  width: 100%;
  max-width: 450px;
  height: auto;
}

/* --------------------------------------------------
   SECTION 2: WHY CHOOSE US (STICKY NOTES)
   -------------------------------------------------- */
.why-section {
  padding: 120px 8%;
  background-color: var(--bg-cream);
}
.why-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.sticky-note {
  position: relative;
  padding: 36px 30px 40px 30px;
  border: 2.5px solid #1C1C1C;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  box-shadow: 6px 6px 0px #1C1C1C;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  filter: blur(8px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
              filter 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.3s ease;
  will-change: transform, opacity, filter;
}
.sticky-note.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}
.note-yellow { background-color: #FDF6E2; }
.note-blue { background-color: #E2F0FD; }
.note-red { background-color: #FDE8E5; }
.note-mint { background-color: #E8F5E9; }
.note-pink { background-color: #FDF2FA; }
.note-cream { background-color: #FAF6F0; }

.tape-effect {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 90px;
  height: 28px;
  background-color: rgba(233, 168, 37, 0.4);
  backdrop-filter: blur(1px);
  border-left: 2px dashed rgba(28,28,28,0.15);
  border-right: 2px dashed rgba(28,28,28,0.15);
  pointer-events: none;
}
.note-title {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.note-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-gray);
}
.note-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  color: var(--text-dark);
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: opacity 0.3s, transform 0.3s;
}
.sticky-note:hover {
  animation: noteWobble 0.6s ease-in-out infinite;
  box-shadow: 14px 14px 0px #1C1C1C;
}
.sticky-note:hover .note-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* --------------------------------------------------
   SECTION 3: SERVICES (3D FLIP CARDS)
   -------------------------------------------------- */
.services-section {
  padding: 120px 8%;
  background-color: var(--bg-cream);
}
.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.flip-card {
  background-color: transparent;
  height: 270px;
  perspective: 1000px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 2px solid #1C1C1C;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 0px #1C1C1C;
}
.flip-card-front {
  background-color: #FFFFFF;
  color: var(--text-dark);
}
.flip-card-back {
  background-color: var(--text-dark);
  color: #FFFFFF;
  transform: rotateY(180deg);
}
.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
}
.service-icon svg {
  width: 100%;
  height: 100%;
}
.service-card-title {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.flip-hint {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 0.05em;
}
.service-card-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}
.card-back-cta {
  padding: 8px 24px;
  font-size: 0.85rem;
  border-color: #FFFFFF;
  color: #FFFFFF;
}
.card-back-cta:hover {
  background-color: #FFFFFF;
  color: var(--text-dark);
}

/* --------------------------------------------------
   SECTION 4: OUR WORK (MASONRY GALLERY)
   -------------------------------------------------- */
.work-section {
  padding: 120px 8%;
  background-color: var(--bg-cream);
}
.work-header {
  margin-bottom: 60px;
}
.work-description {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-dark); /* Brand charcoal color */
  max-width: 460px; /* Editorial width around 420-500px */
  margin-top: 16px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.work-description .highlight-amber {
  color: var(--mustard-yellow); /* Brand amber accent */
  font-family: var(--font-hand); /* Matches handwritten look of Colored. */
  font-size: 1.5rem;
  line-height: 1.2;
  display: inline-block;
  margin-top: 6px;
}
.scroll-reveal-blur {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  filter: blur(8px);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
              filter 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity, filter;
}
.scroll-reveal-blur.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}
.work-masonry {
  display: flex;
  flex-direction: row;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.masonry-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  width: 100%;
}

@media (max-width: 991px) {
  .work-masonry {
    gap: 20px;
  }
  .masonry-col {
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .work-masonry {
    gap: 16px;
  }
  .masonry-col {
    gap: 16px;
  }
}

.work-item {
  display: block;
  width: 100%;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.work-media-wrapper {
  position: relative;
  width: 100%;
  background: #FCFAF7; /* Warm cream paper card background */
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; /* Uneven organic hand-drawn curves */
  padding: 12px 12px 28px 12px; /* Margins around media, extra height at bottom for scrapbook look */
  box-shadow: 2px 5px 12px rgba(43, 37, 26, 0.08); /* Soft paper shadow */
  overflow: hidden;
  
  /* Force GPU layer promotion to prevent WebKit rendering freezes and hover disappearances */
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  
  /* Smooth transitions for hover transforms and shadows */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item:hover .work-media-wrapper {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 4px 12px 22px rgba(43, 37, 26, 0.14);
}

.card-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1.5px solid #2B251A; /* Thin dark pencil/graphite outline border */
  border-radius: inherit; /* Inherited uneven curves */
  pointer-events: none;
  z-index: 10;
}

.work-media-wrapper img, .work-media-wrapper video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px 12px 6px 6px; /* Blend curves into uneven sketch frame */
  transition: transform 0.5s ease;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.video-play-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: #FFFFFF;
  border: 2px solid #1C1C1C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1C1C1C;
  box-shadow: 2px 2px 0px #1C1C1C;
  pointer-events: none;
  z-index: 5;
  transition: var(--transition-smooth);
}

.work-item:hover .video-play-hint {
  background: var(--mustard-yellow);
  transform: scale(1.05);
}

.video-play-hint svg.play-svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transform: translateX(1px);
}

.video-play-hint svg.audio-svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

/* --------------------------------------------------
   PREMIUM FULLSCREEN PORTFOLIO LIGHTBOX
   -------------------------------------------------- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(246, 242, 234, 0.98); /* Warm cream background */
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100002;
}

.lightbox-content img, .lightbox-content video {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border: 3.5px solid #1C1C1C;
  border-radius: 24px;
  box-shadow: 10px 10px 0px #1C1C1C;
  background-color: #FFFFFF;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active .lightbox-content img, .lightbox.active .lightbox-content video {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: #FFFFFF;
  border: 2.5px solid #1C1C1C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1C1C1C;
  cursor: pointer;
  z-index: 100010;
  box-shadow: 4px 4px 0px #1C1C1C;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  background: var(--mustard-yellow);
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px #1C1C1C;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #FFFFFF;
  border: 2.5px solid #1C1C1C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1C1C1C;
  cursor: pointer;
  z-index: 100005;
  box-shadow: 4px 4px 0px #1C1C1C;
  transition: var(--transition-smooth);
}

.lightbox-nav:hover {
  background: var(--mustard-yellow);
  transform: translateY(-52%);
  box-shadow: 6px 6px 0px #1C1C1C;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-nav svg {
  width: 20px;
  height: 20px;
}

/* Hide navigation buttons for videos */
.lightbox.video-active .lightbox-nav {
  display: none;
}

/* --------------------------------------------------
   SECTION 5: PROCESS TIMELINE (AIRPLANE PATH)
   -------------------------------------------------- */
.process-section {
  padding: 120px 8%;
  background-color: var(--bg-cream);
}
.process-header {
  text-align: center;
  margin-bottom: 80px;
}
.process-path-container {
  position: relative;
  max-width: 1000px;
  height: 600px;
  margin: 0 auto;
}
.process-dotted-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.process-plane-follower {
  position: absolute;
  width: 32px;
  height: 32px;
  left: 120px;
  top: 180px;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  transition: transform 0.05s ease-out;
  will-change: left, top, transform;
}
.process-plane-follower svg {
  width: 100%;
  height: 100%;
}
.process-step {
  position: absolute;
  background: #FFFFFF;
  border: 2px solid #1C1C1C;
  border-radius: 20px;
  padding: 24px;
  width: 250px;
  box-shadow: 4px 4px 0px #1C1C1C;
  z-index: 5;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.process-step:hover {
  transform: translateY(-6px) scale(1.02);
}
.process-icon {
  width: 44px;
  height: 44px;
  color: var(--stories-blue);
  margin-bottom: 12px;
}
.process-icon svg {
  width: 100%;
  height: 100%;
}
.step-num {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--mustard-yellow);
  line-height: 1;
  margin-bottom: 4px;
}
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-gray);
}
.step-1 { left: 40px; top: 120px; }
.step-2 { left: 380px; top: 30px; }
.step-3 { left: 710px; top: 120px; }
.step-4 { left: 520px; top: 380px; }
.step-5 { left: 160px; top: 380px; }

/* --------------------------------------------------
   SECTION 6: CLIENT TESTIMONIALS (SPEECH BUBBLES)
   -------------------------------------------------- */
.testimonials-section {
  padding: 120px 8%;
  background-color: var(--bg-cream);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}
.testimonials-scroll-container {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 30px;
}
.testimonials-scroll-container::-webkit-scrollbar {
  height: 8px;
}
.testimonials-scroll-container::-webkit-scrollbar-track {
  background: rgba(28,28,28,0.05);
  border-radius: 99px;
}
.testimonials-scroll-container::-webkit-scrollbar-thumb {
  background: var(--mustard-yellow);
  border: 2px solid #1C1C1C;
  border-radius: 99px;
}
.testimonials-row {
  display: flex;
  gap: 40px;
  width: max-content;
  padding: 10px;
}
.testimonial-card {
  width: 380px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.speech-bubble {
  background: #FFFFFF;
  border: 2.5px solid #1C1C1C;
  border-radius: 24px;
  padding: 30px;
  position: relative;
  box-shadow: 6px 6px 0px #1C1C1C;
}
.speech-bubble::after, .speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 45px;
  border-width: 15px 15px 0;
  border-style: solid;
  display: block;
  width: 0;
}
.speech-bubble::after {
  border-color: #FFFFFF transparent;
  bottom: -12.5px;
  left: 45.5px;
  z-index: 2;
}
.speech-bubble::before {
  border-color: #1C1C1C transparent;
  z-index: 1;
}
.review-stars {
  color: var(--mustard-yellow);
  font-size: 1.15rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.review-text-wrap {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.review-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-dark);
}
.read-more-btn {
  background: none;
  border: none;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--mustard-yellow);
  cursor: pointer;
  padding: 0;
  margin: 0;
  text-decoration: underline;
  display: inline-block;
  transition: color 0.2s ease;
}
.read-more-btn:hover {
  color: var(--text-dark);
}

/* Review Modal Overlay Styling */
.review-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.review-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.review-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(246, 242, 234, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.review-modal-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 550px;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.review-modal.active .review-modal-container {
  transform: scale(1) translateY(0);
}
.review-modal-card {
  background: #FFFFFF;
  border: 2.5px solid #1C1C1C;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 8px 8px 0px #1C1C1C;
  position: relative;
}
.review-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 2px solid #1C1C1C;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  color: #1C1C1C;
  cursor: pointer;
  transition: all 0.2s ease;
}
.review-modal-close:hover {
  background: #1C1C1C;
  color: #FFFFFF;
  transform: scale(1.05);
}
.review-modal-stars {
  color: var(--mustard-yellow);
  font-size: 1.35rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.review-modal-body {
  margin-bottom: 24px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 8px;
}
.review-modal-body::-webkit-scrollbar {
  width: 6px;
}
.review-modal-body::-webkit-scrollbar-track {
  background: rgba(28,28,28,0.05);
  border-radius: 99px;
}
.review-modal-body::-webkit-scrollbar-thumb {
  background: var(--mustard-yellow);
  border-radius: 99px;
}
.review-modal-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
}
.review-modal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1.5px dashed rgba(28, 28, 28, 0.1);
  padding-top: 20px;
}
.client-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding-left: 20px;
}
.avatar-wrapper {
  width: 48px;
  height: 48px;
  border: 2px solid #1C1C1C;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-wrapper svg {
  width: 80%;
  height: 80%;
}
.client-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.client-company {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 600;
}

/* --------------------------------------------------
   SECTION 7: FINAL CTA
   -------------------------------------------------- */
.cta-section {
  padding: 120px 8%;
  background-color: var(--bg-cream);
  display: flex;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}
.cta-illustration-wrapper {
  width: 220px;
  height: auto;
  margin-bottom: 24px;
}
.cta-flight-svg {
  width: 100%;
  color: var(--text-dark);
}
.cta-headline {
  font-family: var(--font-hand);
  font-size: 4.2rem;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-tagline {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 500px;
}
.cta-buttons {
  display: flex;
  gap: 20px;
}

/* --------------------------------------------------
   FOOTER
   -------------------------------------------------- */
.footer {
  padding: 60px 8% 40px 8%;
  background-color: var(--bg-cream);
  border-top: 2px solid rgba(28,28,28,0.08);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-logo-img {
  height: 44px;
  width: auto;
}
.footer-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-gray);
  transition: var(--transition-smooth);
}
.footer-link:hover {
  color: var(--text-dark);
}
.footer-line {
  width: 100%;
  height: 1px;
  background: rgba(28,28,28,0.1);
  margin-bottom: 30px;
}
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-contact-details {
  font-size: 0.95rem;
  color: var(--text-gray);
  font-weight: 500;
}
.footer-email {
  color: var(--stories-blue);
  font-weight: 700;
}
.footer-copyright {
  font-size: 0.9rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* --------------------------------------------------
   RESPONSIVE DESIGN FOR NEW SECTIONS
   -------------------------------------------------- */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-path-container {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
  .process-dotted-path {
    display: none;
  }
  .process-step {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100%;
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-graphic-container {
    order: -1;
  }
  .work-masonry {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2.6rem;
  }
  .cta-headline {
    font-size: 3.2rem;
  }
}

@media (max-width: 576px) {
  .why-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .footer-top-row, .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }
}

/* --------------------------------------------------
   SECTION 8: CONTACT SECTION
   -------------------------------------------------- */
.contact-section {
  padding: 120px 8%;
  background-color: var(--bg-cream);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-info-col {
  position: sticky;
  top: 100px;
}

.contact-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 40px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--text-dark);
  text-decoration: none;
}

a.detail-value:hover {
  color: var(--mustard-yellow);
}

.contact-socials {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border: 2px solid #1C1C1C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  background-color: var(--mustard-yellow);
  transform: translateY(-3px);
  box-shadow: 3px 3px 0 #1C1C1C;
}

/* Contact Form styling */
.contact-form-col {
  position: relative;
}

.contact-form {
  background: #FFFFFF;
  border: 2.5px solid #1C1C1C;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 6px 6px 0px #1C1C1C;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #1C1C1C;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #A0A0A0;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--mustard-yellow);
  box-shadow: 0 0 0 3px rgba(233, 168, 37, 0.15);
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  border-radius: 12px;
}

/* Form success overlay styling */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(246, 242, 234, 0.98);
  border-radius: 28px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.form-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.success-bubble {
  background: #FFFFFF;
  border: 2.5px solid #1C1C1C;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: 6px 6px 0px #1C1C1C;
  transform: scale(0.85);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-success-overlay.active .success-bubble {
  transform: scale(1);
}

.success-icon-svg {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.success-title {
  font-family: var(--font-hand);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.success-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.success-close-btn {
  padding: 10px 30px;
}

/* --------------------------------------------------
   ADVANCED SCROLL REVEALS & MASKS
   -------------------------------------------------- */
.about-content {
  opacity: 0;
  transform: translate3d(-40px, 0, 0);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}
.about-section.revealed .about-content {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-graphic-container {
  opacity: 0;
  transform: translate3d(40px, 0, 0);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}
.about-section.revealed .about-graphic-container {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}



/* Stagger delay loops for lists */
.stagger-delay-1 { transition-delay: 0.05s; }
.stagger-delay-2 { transition-delay: 0.1s; }
.stagger-delay-3 { transition-delay: 0.15s; }
.stagger-delay-4 { transition-delay: 0.2s; }
.stagger-delay-5 { transition-delay: 0.25s; }
.stagger-delay-6 { transition-delay: 0.3s; }

/* Service cards draw animations */
.flip-card {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  filter: blur(8px);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
              filter 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity, filter;
}
.flip-card.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* Icon bounces */
.service-icon:hover, .process-icon:hover {
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

/* Form input stagger animations */
.anim-input {
  opacity: 0;
  transform: translate3d(0, 15px, 0);
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}
.contact-section.revealed .anim-input {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Responsive styles for Contact Section */
@media (max-width: 991px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-info-col {
    position: relative;
    top: auto;
  }
}

@media (max-width: 576px) {
  .contact-form {
    padding: 30px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-group-full {
    grid-column: span 1;
  }
}

/* --------------------------------------------------
   PREMIUM SCROLL-BASED MICRO-INTERACTIONS
   -------------------------------------------------- */

/* Animated Film/Paper Grain Overlay */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200%;
  background: transparent url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E') repeat;
  opacity: 0.035;
  pointer-events: none;
  z-index: 999999;
  animation: grainNoise 8s steps(10) infinite;
}

@keyframes grainNoise {
  0%, 100% { transform:translate(0, 0); }
  10% { transform:translate(-2%, -5%); }
  20% { transform:translate(-7%, 3%); }
  30% { transform:translate(3%, -10%); }
  40% { transform:translate(-2%, 10%); }
  50% { transform:translate(-8%, 5%); }
  60% { transform:translate(7%, 7%); }
  70% { transform:translate(2%, 15%); }
  80% { transform:translate(-5%, 5%); }
  90% { transform:translate(5%, -5%); }
}

/* Sticky Note Wobble */
@keyframes noteWobble {
  0% { transform: translateY(-8px) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
  100% { transform: translateY(-8px) rotate(-1deg); }
}

/* Self-Drawing Underlines & Dividers */
.heading-underline-svg {
  display: block;
  width: 100%;
  max-width: 250px;
  height: 12px;
  margin-top: 4px;
  pointer-events: none;
}

.heading-underline-svg path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.heading-underline-svg.revealed path {
  stroke-dashoffset: 0;
}

.pencil-divider {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 8%;
  pointer-events: none;
  opacity: 0.6;
}

.pencil-divider svg {
  width: 100%;
  height: 30px;
  display: block;
}

.pencil-divider path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.pencil-divider.revealed path {
  stroke-dashoffset: 0;
}

/* ==========================================================================
   PREMIUM DESIGN SYSTEM REFINEMENTS & MICRO-INTERACTIONS
   ========================================================================== */

/* 1. Global Cloud Floating Animation */
@keyframes cloudFloatLeft {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-8px, -3px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.contact-doodles-bg svg path[stroke*="stories-blue"],
.portfolio-header-decorations svg path[stroke*="stories-blue"] {
  animation: cloudFloatLeft 9s ease-in-out infinite;
}

/* 2. Why Choose Us (Why We) Cards Hover states */
.why-grid .sticky-note {
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, box-shadow;
}
.why-grid .sticky-note:hover {
  transform: translateY(-10px) rotate(0.5deg) !important;
  box-shadow: 0 15px 35px rgba(43, 37, 26, 0.08) !important;
}
.why-grid .sticky-note:hover .tape-effect {
  transform: scaleX(1.08) scaleY(0.95);
}
.why-grid .tape-effect {
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* 3. Services Card Hover Interactivity */
.flip-card:hover .note-arrow {
  transform: translateX(6px);
}
.note-arrow {
  transition: transform 0.3s ease;
}

/* 4. Our Work Portfolio Card Hover and Zooms */
.work-item {
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.45s ease;
  will-change: transform, box-shadow;
}
.work-item:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 14px 32px rgba(43, 37, 26, 0.08);
}
.work-item img {
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.work-item:hover img {
  transform: scale(1.03);
}

/* 5. Growth Analyser Graph Doodle Animation */
.graph-doodle-container svg path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawGraphPath 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes drawGraphPath {
  100% { stroke-dashoffset: 0; }
}

/* 6. Contact Form Card Interaction Details */
.contact-form {
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, box-shadow;
}
.contact-form:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(43, 37, 26, 0.06);
}
.form-submit-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.form-submit-btn:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.contact-form-col:hover .form-paperclip {
  transform: rotate(-22deg) scale(1.05);
}
.form-paperclip {
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}
.contact-form-col:hover .washi-tape-decor {
  transform: translateX(-50%) rotate(0.5deg) scaleY(0.95);
}
.washi-tape-decor {
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 7. Footer Paper Airplane Flight Animation */
.footer-airplane {
  transform: translate3d(0, 0, 0) rotate(0deg);
  opacity: 0.85;
  will-change: transform, opacity;
}
.footer.revealed .footer-airplane {
  transform: translate3d(350px, -180px, 0) rotate(15deg);
  opacity: 0;
}

/* ==========================================================================
   Contact Form 3D Flip Card & Success Animations
   ========================================================================== */
.contact-form-col {
  perspective: 1500px;
}
.contact-card-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-card-inner.flipped {
  transform: rotateY(180deg);
}
.contact-card-front,
.contact-card-back {
  width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.contact-card-back {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transform: rotateY(180deg);
  z-index: 2;
}

/* Success Card Lined Paper Styling */
.contact-card-back .success-bubble {
  background: #FFFFFF;
  border: 2.5px solid #1C1C1C;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 6px 6px 0px #1C1C1C;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Real-time checkmark drawing animation */
.success-check-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-card-inner.flipped .success-check-path {
  stroke-dashoffset: 0;
  transition-delay: 0.6s;
}

/* Pre-filled responsive flight path for the success airplane */
.success-airplane {
  transform: translate(-350px, 250px) rotate(55deg) scale(0.5);
  opacity: 0;
  will-change: transform, opacity;
}
.contact-card-inner.flipped .success-airplane {
  animation: successFlight 2.4s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.8s;
}

@keyframes successFlight {
  0% {
    opacity: 0;
    transform: translate(-350px, 250px) rotate(55deg) scale(0.5);
  }
  25% {
    opacity: 1;
  }
  70% {
    transform: translate(45px, -45px) rotate(-10deg) scale(1.15);
  }
  100% {
    opacity: 0.9;
    transform: translate(0, 0) rotate(-22deg) scale(1);
  }
}

/* Text Line-by-Line Staggered Fade-in Animations */
.success-line {
  opacity: 0;
  transform: translateY(12px);
  will-change: transform, opacity;
}
.contact-card-inner.flipped .success-line.line-1 {
  animation: fadeLineUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.8s;
}
.contact-card-inner.flipped .success-line.line-2 {
  animation: fadeLineUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards 1.0s;
}
.contact-card-inner.flipped .success-line.line-3 {
  animation: fadeLineUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards 1.2s;
}
.contact-card-inner.flipped .success-line.line-4 {
  animation: fadeLineUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards 1.4s;
}
.contact-card-inner.flipped .success-line.line-5 {
  animation: fadeLineUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards 1.6s;
}

@keyframes fadeLineUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


