/* ===== About — Section 1: Hero + stats ===== */
body.page-light { background: var(--light); color: var(--ink); }

.section1 {
  position: relative;
  padding: clamp(130px, 14vw, 180px) 0 clamp(50px, 6vw, 80px);
  background:
    radial-gradient(circle at 78% 30%, rgba(255, 255, 255, 0.9), transparent 45%),
    var(--light);
  overflow: hidden;
}

.section1__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(30px, 4vw, 60px);
}

.section1__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 7.6vw, 118px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
}
.section1__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.section1__title .line > span { display: inline-block; transform: translateY(105%); animation: aboutLineUp 1.1s var(--ease) both; }
.section1__title .line:nth-child(1) > span { animation-delay: 0.5s; }
.section1__title .line:nth-child(2) > span { animation-delay: 0.65s; }

.section1__text {
  max-width: 400px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: #34343a;
  animation: aboutFadeUp 1s var(--ease) 1s both;
}

/* ----- Visual ----- */
.section1__visual { position: relative; perspective: 1200px; }
.section1__tilt { transition: transform 0.9s var(--ease); transform-style: preserve-3d; will-change: transform; }
.section1__visual img {
  width: 100%;
  filter: drop-shadow(0 40px 50px rgba(20, 20, 22, 0.28));
  animation: aboutVisualIn 1.6s var(--ease) 0.4s both, aboutFloat 8s ease-in-out 2s infinite;
}
/* soft blue/green glow under the object */
.section1__visual::before {
  content: "";
  position: absolute;
  inset: 20% 10% 5% 15%;
  background: radial-gradient(circle, rgba(47, 91, 255, 0.35), rgba(46, 232, 111, 0.2) 45%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: aboutGlow 6s ease-in-out infinite alternate;
}

/* ----- Stats ----- */
.section1__stats {
  display: flex;
  gap: clamp(30px, 5vw, 70px);
  margin-top: clamp(40px, 5vw, 70px);
  padding-top: clamp(30px, 4vw, 44px);
  position: relative;
}
.section1__stats::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: min(100%, 560px); height: 1px;
  background: rgba(20, 20, 22, 0.18);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.section1__stats.is-visible::before { transform: scaleX(1); }

.about-stat { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.about-stat + .about-stat { padding-left: clamp(30px, 5vw, 70px); border-left: 1px solid rgba(20, 20, 22, 0.18); }
.section1__stats.is-visible .about-stat { opacity: 1; transform: none; }
.section1__stats.is-visible .about-stat:nth-child(2) { transition-delay: 0.15s; }

.about-stat__num {
  font-family: var(--font-display);
  font-size: clamp(64px, 7.5vw, 104px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.about-stat__label { font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; margin-top: 6px; }

/* ----- Keyframes ----- */
@keyframes aboutLineUp { to { transform: translateY(0); } }
@keyframes aboutFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes aboutVisualIn {
  from { opacity: 0; transform: translateY(40px) rotate(6deg) scale(0.9); }
  to   { opacity: 1; transform: none; }
}
@keyframes aboutFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-16px) rotate(1deg); }
}
@keyframes aboutGlow { from { opacity: 0.6; transform: scale(0.95); } to { opacity: 1; transform: scale(1.08); } }

@media (max-width: 860px) {
  .section1__grid { grid-template-columns: 1fr; }
  .section1__visual { order: -1; max-width: 560px; margin: 0 auto; }
}
