:root {
  --about-max-width: 1400px;
  --about-text: var(--text-main);
  --about-muted: var(--text-muted);
  --about-shadow: var(--shadow-main);
}

.about-page {
  background: var(--bg-main);
  color: var(--text-main);
}

.about-wrap {
  max-width: var(--about-max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* HERO */
.about-hero {
  position: relative;
  /* Adjusted for Overlay Header */
  min-height: 280px;
  /* Reduced from 330px */
  /* Reduced padding on desktop too slightly for overall better look, but primarily mobile focus */
  padding: calc(var(--fixed-header-height, 130px) + 30px) 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  /* Image with dark overlay for readability */
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url('../images/hero_abstract_bg.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-bottom: none;
  cursor: default;
  position: relative;
}

.about-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle 500px at var(--hero-mouse-x, 50%) var(--hero-mouse-y, 50%),
      rgba(255, 255, 255, 0.08) 0%,
      transparent 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-hero:hover::after {
  opacity: 1;
}

/* Remove old pattern overlay as we have an image */
.about-hero::before {
  display: none;
}

.about-hero__inner {
  max-width: 1400px;
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.about-hero__icon {
  position: absolute;
  left: 160px;
  top: -20px;
  transform: translateY(-50%);
  width: 160px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.about-hero__icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

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

.about-hero__eyebrow {
  margin: 0 0 16px 0;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #81d4fa;
  /* Light cyan accent */
  font-size: 1.1rem;
  text-transform: uppercase;
}

.about-hero__title {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: neonPulse 3s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(56, 189, 248, 0.2);
  }

  100% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 30px rgba(56, 189, 248, 0.5), 0 0 40px rgba(56, 189, 248, 0.3);
  }
}

.about-hero__desc {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  line-height: 1.6;
}

/* MAIN */
.about-section--intro {
  padding: 56px 0 0 !important;
  /* Reduced bottom padding */
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 360px 1fr;
  gap: 34px;
  align-items: center;
  color: var(--text-main);
}

.about-intro-copy {
  text-align: center;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.9;
}

.about-intro-copy p {
  margin: 0 0 18px 0;
}

.about-intro-figure {
  display: flex;
  justify-content: center;
}

.about-intro-figure img {
  width: 100%;
  max-width: 288px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.10));
}

.about-intro-lists {
  display: grid;
  gap: 18px;
}

.about-subtitle {
  margin: 0 0 10px 0;
  font-weight: 900;
  color: var(--about-text);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.about-list {
  margin: 0;
  padding-left: 20px;
  color: var(--about-text);
  font-weight: 700;
  line-height: 1.9;
}

.about-list li {
  margin: 2px 0;
}

/* RINGS */
/* VALUES GRID */
.about-values-grid {
  margin: 80px auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-value-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.about-value-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 24px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.about-value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 250px at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%),
      rgba(255, 255, 255, 0.12) 0%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.about-value-card:hover::before {
  opacity: 1;
}

.about-value-card>* {
  position: relative;
  z-index: 2;
}

.about-value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--card-glow, rgba(56, 189, 248, 0.2));
  border-color: var(--card-color-1);
}

.about-value-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, transparent, var(--card-color-1), transparent);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-value-card:hover::after {
  opacity: 0.3;
}

.about-value-card__icon {
  font-size: 3rem;
  margin-bottom: 10px;
  background: -webkit-linear-gradient(45deg, var(--card-color-1), var(--card-color-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px var(--card-glow));
}

.about-value-card__title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
}

.about-value-card__desc {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--card-color-2);
  letter-spacing: 0.1em;
  margin: 0;
}

/* Card Specific Colors */
.about-value-card--mission {
  --card-color-1: #38bdf8;
  --card-color-2: #2563eb;
  --card-glow: rgba(56, 189, 248, 0.4);
  border-bottom: 4px solid #38bdf8;
}

.about-value-card--value {
  --card-color-1: #4ade80;
  --card-color-2: #16a34a;
  --card-glow: rgba(74, 222, 128, 0.4);
  border-bottom: 4px solid #4ade80;
}

.about-value-card--vision {
  --card-color-1: #818cf8;
  --card-color-2: #4f46e5;
  --card-glow: rgba(129, 140, 248, 0.4);
  border-bottom: 4px solid #818cf8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 50px auto 30px;
  }
}

/* QUOTE */
.about-quote {
  text-align: center;
  margin: 60px auto 80px;
  position: relative;
  padding: 40px;
  overflow: hidden;
}

.about-quote::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 400px at var(--quote-mouse-x, 50%) var(--quote-mouse-y, 50%),
      rgba(255, 255, 255, 0.05) 0%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.about-quote:hover::after {
  opacity: 1;
}

.about-quote__lead,
.about-quote__body {
  position: relative;
  z-index: 1;
}

.about-quote__lead {
  margin: 0 0 20px 0;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: neonPulse 4s ease-in-out infinite alternate-reverse;
}

.about-quote__body {
  margin: 0;
  color: var(--about-text);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.8;
}

/* TIMELINE */
.about-timeline {
  margin: 60px auto 80px;
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.about-timeline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 400px at var(--timeline-mouse-x, 50%) var(--timeline-mouse-y, 50%),
      rgba(59, 130, 246, 0.08) 0%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.about-timeline:hover::after {
  opacity: 1;
}

.about-timeline__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 100px 60px 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  align-items: flex-start;
  /* Align top for multi-line content */
}

.about-timeline__year {
  font-size: 1.8rem;
  font-weight: 900;
  text-align: right;
  background: linear-gradient(180deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  padding-top: 10px;
}

.about-timeline__line {
  width: 4px;
  background: linear-gradient(180deg, #3b82f6 0%, rgba(59, 130, 246, 0.2) 100%);
  border-radius: 999px;
  position: relative;
  justify-self: center;
  height: 100%;
  min-height: 120px;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.about-timeline__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, #38bdf8, transparent);
  background-size: 100% 200%;
  animation: neonFlow 3s linear infinite;
}

@keyframes neonFlow {
  0% {
    background-position: 0% -100%;
  }

  100% {
    background-position: 0% 100%;
  }
}

.about-timeline__line::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 15px #3b82f6;
  border: 3px solid #0f172a;
  /* Match bg color for ring effect */
}

.about-timeline__content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(5px);
  margin-top: 0;
}

.about-timeline__title {
  font-weight: 800;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.about-timeline__desc {
  color: var(--about-muted);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CONTACT */
.about-contact {
  margin: 60px auto 0 !important;
  /* Reduced bottom margin */
  padding-bottom: 50px !important;
  /* Set exact 40px gap */
}

.about-contact__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.about-contact__grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 400px at var(--contact-mouse-x, 50%) var(--contact-mouse-y, 50%),
      rgba(56, 189, 248, 0.08) 0%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.about-contact__grid:hover::after {
  opacity: 1;
}

.about-contact__item {
  flex: 1;
  text-align: center;
  position: relative;
  background: transparent;
  border: none;
  padding: 0 20px;
  transition: transform 0.3s ease;
}

.about-contact__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.about-contact__item:hover {
  transform: translateY(-5px);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.about-contact__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 24px;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.about-contact__item:hover .about-contact__icon {
  background: #38bdf8;
  color: #fff;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.about-contact__label {
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.about-contact__value {
  color: var(--about-muted);
  word-break: keep-all;
}

/* ANIMATIONS */
@keyframes shimmer {
  0% {
    left: -100%;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  20% {
    left: 200%;
    opacity: 0;
  }

  100% {
    left: 200%;
    opacity: 0;
  }
}

@keyframes rubberBand {
  0% {
    transform: scale3d(1, 1, 1);
  }

  30% {
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    transform: scale3d(1.05, 0.95, 1);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Apply Animations */
.about-contact__grid {
  position: relative;
  overflow: hidden;
  /* For shimmer */
}

/* Shimmer overlay */
.about-contact__grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-25deg);
  animation: shimmer 6s infinite 2s;
  /* Start after 2s, repeat every 6s */
  pointer-events: none;
}

/* Staggered Entrance for Items */
.about-contact__item {
  opacity: 0;
  /* Hidden initially */
  animation: fadeInUp 0.6s ease-out forwards;
}

.about-contact__item:nth-child(1) {
  animation-delay: 0.2s;
}

.about-contact__item:nth-child(2) {
  animation-delay: 0.3s;
}

.about-contact__item:nth-child(3) {
  animation-delay: 0.4s;
}

/* Icon Rubber Band on Hover */
.about-contact__item:hover .about-contact__icon {
  animation: rubberBand 0.8s;
  background: #38bdf8;
  color: #fff;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* Text Hover Effect */
.about-contact__item:hover .about-contact__value {
  color: #fff;
  transition: color 0.3s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 50px auto 30px;
  }

  .about-contact__grid {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
  }

  .about-contact__item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 30px;
  }

  .about-contact__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .about-contact__item:not(:last-child)::after {
    display: none;
  }
}

/* RESPONSIVE */
/* NOTE: 이전에 (max-width: 100%) 오타가 있어 반응형이 적용되지 않았음 */
@media (max-width: 1000px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-intro-lists {
    max-width: 520px;
    margin: 0 auto;
  }

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

  /* Specific About Hero to match Cases page (Taller) */
  .about-hero {
    min-height: 330px !important;
    padding: calc(130px + 40px) 0 40px !important;
    /* 170px top padding */
  }

  .about-wrap,
  .privacy-wrap,
  .terms-wrap {
    margin-top: 15px !important;
  }

  .about-hero__inner {
    padding: 0;
  }

  .about-hero__icon {
    display: none;
  }

  .about-hero__title {
    font-size: 2.22rem;
    /* Match Services page mobile font size */
  }
}

@media (max-width: 680px) {
  .about-hero {
    min-height: 330px !important;
    padding: 170px 0 40px !important;
  }

  .about-hero__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }

  .about-hero__icon {
    display: none;
  }

  .about-hero__eyebrow {
    font-size: 0.98rem;
    line-height: 1.4;
    padding: 0 8px;
  }

  .about-hero__text {
    padding: 0 6px;
  }

  /* 모바일에서는 <br>로 인한 과도한 줄바꿈을 완화 */
  .about-intro-copy br,
  .about-quote__body br {
    display: none;
  }

  .about-intro-copy {
    text-align: left;
    line-height: 1.75;
    font-weight: 700;
  }

  .about-intro-figure img {
    max-width: 256px;
  }

  /* 모바일에서는 중앙 스택 이미지(about3.png) 숨김 */
  .about-intro-figure {
    display: flex;
    justify-content: center;
    /* Center the stack container */
    margin-bottom: 30px;
  }

  .about-visual-stack {
    width: 100%;
    max-width: 280px;
    height: auto;
    gap: 10px;
  }

  .stack-item {
    height: 60px;
    font-size: 1.1rem;
  }

  .about-intro-lists {
    width: 100%;
    max-width: 520px;
  }

  .about-list-block {
    padding: 20px;
    border: 1px solid var(--border-main);
    border-radius: 14px;
    background: var(--bg-card);
  }
}

.about-list {
  line-height: 1.75;
}



/* ENTRANCE ANIMATIONS (Flashy) */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Default for the new structure, we can adjust via media queries */
  gap: 34px;
  align-items: center;
  color: var(--text-main);
}

/* VISUAL STACK (Replaces about3.png) */
.about-visual-stack {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  perspective: 1000px;
}

.stack-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stack-item {
  position: relative;
  width: 280px;
  height: 70px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  clip-path: polygon(0% 0%, 100% 0%, 95% 50%, 100% 100%, 0% 100%, 5% 50%);
  overflow: hidden;
}

.stack-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 150px at var(--item-mouse-x, 50%) var(--item-mouse-y, 50%),
      rgba(255, 255, 255, 0.15) 0%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 5;
}

.stack-item:hover::before {
  opacity: 1;
}

.stack-item__text {
  position: relative;
  z-index: 6;
}

.stack-item--1 {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.4));
  border-color: rgba(56, 189, 248, 0.3);
  z-index: 3;
}

.stack-item--2 {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(13, 148, 136, 0.4));
  border-color: rgba(45, 212, 191, 0.3);
  z-index: 2;
}

.stack-item--3 {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.4));
  border-color: rgba(139, 92, 246, 0.3);
  z-index: 1;
}

.stack-item__gloss {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}

.mobile-slide-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease-out,
    margin 0.4s ease-out,
    padding 0.4s ease-out;
  margin: 0;
  padding: 0;
  width: 100%;
}

.mobile-slide-content.active {
  max-height: 800px;
  opacity: 1;
  margin-top: 15px;
  padding-bottom: 20px;
}

/* On Desktop, we might want to show some lists by default or keep them separate.
   But based on the new structure, let's make it look good on desktop too. */
@media (min-width: 1001px) {
  .about-visual-stack {
    display: none !important;
    /* Temporarily handle the new structure if we want to keep old desktop layout */
  }

  /* Actually, it's better to keep the same structure and just show everything on desktop. */
  #mobile-accordion {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: var(--about-max-width);
    height: auto;
  }

  .stack-group {
    align-items: center;
  }

  .mobile-slide-content {
    max-height: none;
    opacity: 1;
    overflow: visible;
    margin-top: 20px;
    width: 280px;
    /* Match the ribbon width for perfect alignment on PC */
  }

  #values,
  #business {
    transform: translateX(30px);
    /* Shift only values and business by 30px */
  }
}


@media (max-width: 1000px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-visual-stack {
    width: 100%;
    max-width: 280px;
    /* Re-affirm max-width */
    margin: 0 auto;
    /* Self-center using margins */
    height: auto;
    padding-bottom: 20px;
    align-items: center;
    /* Center the stack groups */
  }

  .stack-item {
    cursor: pointer;
  }

  .stack-item.active {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
  }
}

/* ENTRANCE ANIMATIONS (Flashy) */

/* 1. Blur Slide Up (Hero Title, Text) */
@keyframes heroEnter {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(10px);
  }

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

.about-hero__title.is-visible,
.about-hero__desc.is-visible {
  transition: none;
  /* Override default reveal transition */
  animation: heroEnter 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* 2. 3D Stack Entrance */
@keyframes stackEnter {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateX(30deg) translateY(50px);
  }

  100% {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) translateY(0);
  }
}

.about-visual-stack.reveal.is-visible .stack-item {
  animation: stackEnter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
  /* Initial state */
}

.about-visual-stack.reveal.is-visible .stack-item--1 {
  animation-delay: 0.1s;
}

.about-visual-stack.reveal.is-visible .stack-item--2 {
  animation-delay: 0.3s;
}

.about-visual-stack.reveal.is-visible .stack-item--3 {
  animation-delay: 0.5s;
}


/* 3. Elastic Card Pop (Mission/Value/Contact) */
@keyframes cardPop {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }

  50% {
    opacity: 1;
    transform: translateY(-5px) scale(1.02);
  }

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

.about-value-card.is-visible,
.about-contact__item.is-visible {
  transition: none;
  animation: cardPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Stagger delays for grid items if they are individually revealed or if parent is revealed */
.about-values-grid .about-value-card:nth-child(1) {
  animation-delay: 0.1s;
}

.about-values-grid .about-value-card:nth-child(2) {
  animation-delay: 0.2s;
}

.about-values-grid .about-value-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* 4. Timeline Neon Draw */
@keyframes lineDraw {
  0% {
    height: 0;
    opacity: 0;
  }

  100% {
    height: 100%;
    opacity: 1;
  }
}

.about-timeline.is-visible .about-timeline__line {
  animation: lineDraw 1.5s ease-out forwards;
  transform-origin: top;
}

/* Footer Styling for About Page */
/* Footer Styling for About Page */
.about-page~.site-footer {
  margin-top: 0 !important;
  background: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
