/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */

/* ── Dark theme ── */
body.theme-about {
  background: #0a0a0a !important;
  color: #f5f5f5;
}

body.theme-about::before {
  display: none;
}

body.theme-about .site-shell {
  background: #0a0a0a;
}

/* ── Fixed grid overlay ── */
.about-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(245, 245, 245, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 245, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridFadeIn 2.2s ease both;
  animation-delay: 0.4s;
}

/* ── Fixed vertical marquee columns ── */
.about-marquee {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 18px;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  cursor: default;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0px, transparent 82px, black 112px);
  mask-image: linear-gradient(to bottom, transparent 0px, transparent 82px, black 112px);
}

.about-marquee--left  { left: 14px; }
.about-marquee--right { right: 14px; }

.about-marquee-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.about-marquee-track span {
  font-family: "Akira Expanded", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f5f5f5;
  opacity: 0.18;
  writing-mode: vertical-rl;
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
}

.about-marquee--left .about-marquee-track span {
  transform: rotate(180deg);
}

.about-marquee-track--up   { animation: marqueeScrollUp   38s linear infinite; }
.about-marquee-track--down { animation: marqueeScrollDown 38s linear infinite; }

/* ── Navigation ── */
.about-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 26px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.about-nav-home {
  font-family: "Akira Expanded", sans-serif;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #f5f5f5;
  text-decoration: none;
  opacity: 0.7;
  cursor: pointer;
  pointer-events: all;
  transition: opacity 0.2s ease;
}

.about-nav-home:hover {
  opacity: 1;
}

.about-nav-logo {
  display: inline-block;
  line-height: 0;
  pointer-events: all;
}

.about-nav-logo-img {
  display: block;
  height: 44px;
  width: auto;
  filter: invert(1);
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.about-nav-logo:hover .about-nav-logo-img {
  opacity: 1;
}

/* ── Hero ── */
.about-hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0a;
}

.about-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.048;
  mix-blend-mode: overlay;
  z-index: 1;
}

.about-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(245, 245, 245, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 245, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Bear watermark — pseudo-element so it can't be hidden by stacking */
.about-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background-image: url('assets/logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: invert(1) brightness(2);
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

/* Hero content */
.about-hero-center {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 max(48px, 6vw);
}

.about-hero-title {
  font-family: 'Bebas Neue', 'Akira Expanded', sans-serif;
  font-size: clamp(52px, 8.5vw, 96px);
  line-height: 1;
  letter-spacing: 0.03em;
  color: #f5f5f5;
  margin: 0 0 20px;
  opacity: 0;
  animation: aboutFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.about-hero-sub {
  font-family: "Akira Expanded", sans-serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #f5f5f5;
  margin: 0 0 32px;
  opacity: 0;
  animation: aboutFadeUpSub 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@keyframes aboutFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes aboutFadeUpSub {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 0.68; transform: translateY(0); }
}

.about-hero-line {
  display: block;
  width: min(400px, 55%);
  height: 6px;
  margin: 0 auto;
  overflow: visible;
}

.about-hero-line-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: lineExtend 1.1s ease-out 1.4s both;
}

/* ── Scroll indicator ── */
.about-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  user-select: none;
}

.about-scroll-label {
  font-family: "Akira Expanded", sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f5f5f5;
  opacity: 0.38;
}

.about-scroll-line {
  width: 1px;
  height: 36px;
  background: #f5f5f5;
  transform-origin: top center;
  animation: scrollLinePulse 2s ease-in-out infinite;
}

/* ── Content sections ── */
.about-section {
  position: relative;
  padding: 160px max(72px, 9vw) 160px;
  background: #0a0a0a;
  overflow: hidden;
}

/* Section ghost number */
.about-sec-num {
  position: absolute;
  top: 50%;
  right: max(32px, 3vw);
  transform: translateY(-50%);
  font-family: 'Bebas Neue', 'Akira Expanded', sans-serif;
  font-size: clamp(180px, 26vw, 360px);
  color: #f5f5f5;
  opacity: 0.03;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
}

/* Section inner — fades in on scroll entry */
.about-sec-inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-sec-inner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section label */
.about-sec-label {
  display: block;
  font-family: "Akira Expanded", sans-serif;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f5f5f5;
  opacity: 0.42;
  margin-bottom: 28px;
}

/* Section heading (02) */
.about-sec-heading {
  font-family: 'Bebas Neue', 'Akira Expanded', sans-serif;
  font-size: clamp(44px, 6.5vw, 78px);
  line-height: 0.96;
  letter-spacing: 0.02em;
  color: #f5f5f5;
  margin: 0 0 32px;
}

/* Body text */
.about-body {
  font-family: "Swansea", Georgia, serif;
  font-size: clamp(0.94rem, 1.7vw, 1.08rem);
  line-height: 1.82;
  color: #f5f5f5;
  opacity: 0.68;
  margin: 0;
  max-width: 640px;
  cursor: default;
}

/* ── Section 03 — The Eye ── */
.about-section--eye .about-sec-inner--eye {
  max-width: 780px;
}

.about-eye-grid {
  margin-top: 8px;
}

.about-eye-item {
  padding: 36px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-eye-item:nth-child(2) { transition-delay: 0.14s; }
.about-eye-item:nth-child(3) { transition-delay: 0.28s; }

.about-eye-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-eye-rule {
  display: block;
  width: 100%;
  height: 3px;
  margin-bottom: 22px;
  overflow: visible;
}

.about-eye-rule-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1s ease-out 0.1s;
}

.about-eye-item.is-visible .about-eye-rule-path {
  stroke-dashoffset: 0;
}

.about-eye-term {
  font-family: 'Bebas Neue', 'Akira Expanded', sans-serif;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1;
  letter-spacing: 0.03em;
  color: #f5f5f5;
  margin: 0 0 14px;
  cursor: default;
}

.about-eye-desc {
  font-family: "Swansea", Georgia, serif;
  font-size: 0.94rem;
  line-height: 1.78;
  color: #f5f5f5;
  opacity: 0.6;
  margin: 0;
  max-width: 560px;
  cursor: default;
}

/* ── Section 04 — Contact ── */
.about-section--contact .about-sec-num {
  right: auto;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about-sec-inner--contact {
  max-width: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-contact-rule {
  display: block;
  width: min(560px, 70vw);
  height: 3px;
  margin: 4px 0 36px;
  overflow: visible;
}

.about-contact-rule-path {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  transition: stroke-dashoffset 1.2s ease-out 0.25s;
}

.about-sec-inner.is-visible .about-contact-rule-path {
  stroke-dashoffset: 0;
}

.about-contact-name {
  font-family: 'Bebas Neue', 'Akira Expanded', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  letter-spacing: 0.03em;
  color: #f5f5f5;
  margin: 0 0 18px;
  cursor: default;
}

.about-contact-email {
  font-family: "Swansea", Georgia, serif;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: #f5f5f5;
  opacity: 0.65;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 245, 245, 0.2);
  padding-bottom: 3px;
  margin-bottom: 48px;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.about-contact-email:hover {
  opacity: 0.95;
  border-color: rgba(245, 245, 245, 0.6);
}

.about-contact-stamp {
  font-family: "Akira Expanded", sans-serif;
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f5f5f5;
  opacity: 0.22;
  margin: 0;
  cursor: default;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-section {
    padding: 120px max(52px, 7vw) 120px;
  }
}

@media (max-width: 760px) {
  .about-nav {
    padding: 20px 20px;
  }

  .about-nav-logo-img {
    height: 36px;
  }

  .about-section {
    padding: 100px 28px 100px;
  }

  .about-sec-num {
    font-size: clamp(120px, 35vw, 200px);
    right: 8px;
  }

  .about-section--contact .about-sec-num {
    right: auto;
  }

  .about-eye-item {
    padding: 28px 0;
  }

  .about-hero-title {
    font-size: clamp(44px, 13vw, 72px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-title,
  .about-hero-sub {
    animation: none;
    opacity: 1;
  }

  .about-hero-line-path {
    animation: none;
    stroke-dashoffset: 0;
  }

  .about-marquee-track--up,
  .about-marquee-track--down {
    animation: none;
  }

  .about-scroll-line {
    animation: none;
    transform: scaleY(1);
    opacity: 0.35;
  }

  .about-sec-inner,
  .about-eye-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
