/* ==========================================================================
   ABOUT BIJU - Premium Editorial Section
   ========================================================================== */

.about-editorial {
  position: relative;
  background-color: #000;
  color: #E8E2DC; /* Off-white from existing palette */
  padding: 15vh 0 10vh;
  overflow: hidden;
  font-family: var(--ui, system-ui, sans-serif);
}

.about-editorial__container {
  position: relative;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Top Row: Eyebrow + Headline
   -------------------------------------------------------------------------- */

.about-editorial__header {
  margin-bottom: 8vh;
}

.about-editorial__eyebrow {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #D8B183; /* Muted Gold/Amber */
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}

.about-editorial__eyebrow::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: #D8B183;
  margin-left: 15px;
  opacity: 0.6;
}

.about-editorial__headline {
  font-family: var(--head, 'Oswald', sans-serif);
  font-size: clamp(24px, 3.5vw, 60px);
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  letter-spacing: 0.02em;
}

.about-editorial__headline .line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

/* --------------------------------------------------------------------------
   Main Layout Grid
   -------------------------------------------------------------------------- */

.about-editorial__grid {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 10vw;
  align-items: start;
}

/* Left Column: Portrait & Stats */
.about-editorial__col-image {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-editorial__portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  background: rgba(10, 10, 10, 0.5);
  overflow: hidden;
}

.about-editorial__portrait {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(20%) contrast(1.1);
}

.about-editorial__portrait-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to top, #000 0%, transparent 100%);
  pointer-events: none;
}

.about-editorial__stat {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(216, 177, 131, 0.3);
  padding-top: 20px;
  max-width: 300px;
}

.stat-num {
  font-family: var(--head);
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 700;
  line-height: 1;
  color: #D8B183;
}

.stat-text {
  font-family: var(--head);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #fff;
  margin-top: -5px;
  margin-bottom: 15px;
}

.stat-sub {
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(232, 226, 220, 0.6);
}

/* Right Column: Intro & Expertise */
.about-editorial__col-content {
  padding-top: 5vh;
}

.about-editorial__intro {
  font-family: var(--ui);
  font-size: clamp(16px, 1.2vw, 22px);
  line-height: 1.6;
  color: rgba(232, 226, 220, 0.85);
  font-weight: 300;
  max-width: 600px;
  margin-bottom: 80px;
}

.about-editorial__intro p {
  margin-bottom: 30px;
}

.about-editorial__expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 700px;
}

.expertise-block {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 20px;
  transition: border-color 0.4s ease;
}

.expertise-block:hover {
  border-color: #D8B183;
}

.expertise-num {
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #D8B183;
  display: block;
  margin-bottom: 15px;
}

.expertise-title {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 10px 0;
}

.expertise-desc {
  font-family: var(--ui);
  font-size: 12px;
  color: rgba(232, 226, 220, 0.6);
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Bottom Layout
   -------------------------------------------------------------------------- */

.about-editorial__footer {
  margin-top: 15vh;
  padding-top: 10vh;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 60px;
}

.about-editorial__statement {
  font-family: var(--ui);
  font-size: clamp(20px, 1.8vw, 32px);
  line-height: 1.4;
  font-weight: 300;
  color: #fff;
  margin: 0;
  max-width: 700px;
  position: relative;
}

.about-editorial__statement::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background-color: #00ffff; /* Subtle cyan accent */
  opacity: 0.5;
}

.about-editorial__final-statement {
  font-family: var(--head);
  font-size: clamp(24px, 2vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1); /* Very subtle watermark effect */
  text-align: right;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Cinematic Floating Elements (Parallax & Orbit)
   -------------------------------------------------------------------------- */

.about-particles {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0.1;
  pointer-events: none;
}

.about-orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 140%; height: 140%;
  pointer-events: none;
  z-index: 0;
  animation: orbit-spin 30s linear infinite;
  opacity: 0.8;
}

.orbit-particle.p1 { animation: pulse-glow 4s ease-in-out infinite; }
.orbit-particle.p2 { animation: pulse-glow 6s ease-in-out infinite 2s; }

.about-floating-badge {
  position: absolute;
  bottom: 10%; left: -5%;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(216, 177, 131, 0.2);
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  z-index: 10;
  animation: float-slow 6s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 15px rgba(216, 177, 131, 0.05);
}

.about-micro-card {
  position: absolute;
  top: 15%; right: -10%;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  z-index: 5;
  animation: float-slow 8s ease-in-out infinite 1s;
}

.micro-card-header {
  font-family: var(--ui);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #D8B183;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(216, 177, 131, 0.2);
  padding-bottom: 4px;
}

.micro-card-list {
  list-style: none;
  padding: 0; margin: 0;
  font-family: var(--ui);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
}

.micro-card-list li {
  margin-bottom: 3px;
}

.about-fragment {
  position: absolute;
  font-family: var(--head);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #fff;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

.about-connections {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.connection-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.js-about-reveal.is-visible .connection-line {
  animation: line-draw 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes orbit-spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; filter: drop-shadow(0 0 2px rgba(216, 177, 131, 0.2)); }
  50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(216, 177, 131, 0.8)); }
}

@keyframes line-draw {
  to { stroke-dashoffset: 0; }
}

/* --------------------------------------------------------------------------
   Animation Initial States (Handled by JS)
   -------------------------------------------------------------------------- */

.js-about-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.js-about-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* --------------------------------------------------------------------------
   Contact Section Video
   -------------------------------------------------------------------------- */

.contact-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 5vh;
  gap: 60px;
  align-items: center;
}

.about-editorial__col-video {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-video-wrapper {
  width: 100%;
  max-width: 360px; /* Preserve 9:16 without getting massively tall */
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(216, 177, 131, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(216, 177, 131, 0.1);
  background: #050505;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-video-wrapper:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 177, 131, 0.4);
}

.contact-video-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
  pointer-events: none;
}

.contact-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   Mobile Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .about-editorial__grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }
  
  .about-editorial__col-content {
    padding-top: 0;
  }
  
  .about-editorial__portrait-wrapper, .contact-video-wrapper {
    max-width: 100%;
  }
  
  .contact-video-wrapper {
    max-width: 360px; /* still keep the 9:16 relatively constrained so it doesn't get crazy tall */
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .about-editorial {
    padding: 10vh 0 8vh;
  }

  .about-editorial__header {
    margin-bottom: 5vh;
  }

  .about-editorial__eyebrow {
    font-size: 10px;
  }

  .about-editorial__headline {
    font-size: 24px; /* Force safe mobile size */
  }

  .about-editorial__grid {
    gap: 50px;
  }

  .about-editorial__intro {
    font-size: 16px;
    margin-bottom: 50px;
  }

  .about-editorial__expertise-grid {
    grid-template-columns: 1fr; /* Stack vertically on small phones */
    gap: 30px;
  }

  .about-editorial__portrait-wrapper {
    width: 100%;
    margin: 0 auto;
  }

  .stat-num {
    font-size: 70px;
  }

  .about-editorial__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin-top: 10vh;
    padding-top: 6vh;
  }

  .about-editorial__statement {
    font-size: 20px;
  }

  .about-editorial__statement::before {
    left: -15px;
  }

  .about-editorial__final-statement {
    font-size: 24px;
    text-align: left;
    color: rgba(255, 255, 255, 0.15);
  }

  /* Simplify floating effects on mobile */
  .about-orbit,
  .about-connections,
  .about-fragment {
    display: none !important;
  }
  
  .about-floating-badge {
    bottom: 5%;
    left: 5%;
    transform: scale(0.85);
    transform-origin: bottom left;
  }
  
  .about-micro-card {
    top: 5%;
    right: 5%;
    transform: scale(0.85);
    transform-origin: top right;
  }
}

@media (max-width: 380px) {
  .about-editorial__headline {
    font-size: 20px;
  }
  
  .about-editorial__statement {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-about-reveal, .js-about-stagger {
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
  
  .about-orbit,
  .about-floating-badge,
  .about-micro-card,
  .orbit-particle,
  .js-parallax {
    animation: none !important;
    transform: none !important;
  }
}
