/* ============================================
   BRILLION STUDIO - CULTURE / ABOUT PAGE
   ============================================ */

.placeholder-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}
.placeholder-label--small { font-size: 9px; }

.nav-active { color: var(--accent) !important; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================
   S1: MANIFESTO SCROLL REVEAL
   ============================================ */
.abt-manifesto {
  min-height: 400vh; /* Scroll room for 4 blocks */
  position: relative;
}

.abt-manifesto .container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
}

.abt-manifesto__block {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0 max(32px, calc((100vw - var(--max-w)) / 2 + 32px));
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.abt-manifesto__block.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.abt-manifesto__block.is-done {
  opacity: 0.08;
  transform: translateY(-20px);
}

.abt-manifesto__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.abt-manifesto__heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.abt-manifesto__scroll-hint {
  position: fixed;
  bottom: 40px;
  left: max(32px, calc((100vw - var(--max-w)) / 2 + 32px));
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: opacity 0.4s ease;
  z-index: 5;
}

/* ============================================
   S2: BRAND FILM
   ============================================ */
.abt-film {
  padding: 120px 0;
  background: var(--bg-surface);
}

.abt-film__wrap {
  margin-top: 32px;
}

.abt-film__placeholder {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 50%;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.5s ease;
}

.abt-film__placeholder:hover {
  border-color: var(--accent);
  transform: scale(1.005);
}

.abt-film__placeholder .placeholder-label {
  position: absolute;
  inset: 0;
}

.abt-film__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 0 rgba(255, 46, 0, 0.3);
}

.abt-film__placeholder:hover .abt-film__play {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 20px rgba(255, 46, 0, 0.1);
}

/* ============================================
   S3: VALUES WITH 3D ICONS
   ============================================ */
.abt-values {
  padding: 120px 0;
}

.abt-values__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 12px;
}

.abt-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.abt-values__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.abt-values__card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.abt-values__card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.abt-values__card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* 3D Icon containers */
.abt-values__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  perspective: 200px;
}

.abt-values__icon-3d {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease;
}

.abt-values__card:hover .abt-values__icon-3d {
  transform: rotateY(15deg) rotateX(-10deg);
}

/* Cube icon */
.abt-values__icon-3d--cube {
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(25deg);
}

.abt-values__cube-face {
  position: absolute;
  border: 1px solid var(--accent);
}

.abt-values__cube-face--front {
  width: 40px;
  height: 40px;
  background: rgba(255, 46, 0, 0.1);
  transform: translateZ(20px);
  left: 20px;
  top: 20px;
}

.abt-values__cube-face--right {
  width: 20px;
  height: 40px;
  background: rgba(255, 46, 0, 0.06);
  transform: rotateY(90deg) translateZ(40px);
  left: 40px;
  top: 20px;
}

.abt-values__cube-face--top {
  width: 40px;
  height: 20px;
  background: rgba(255, 46, 0, 0.15);
  transform: rotateX(90deg) translateZ(20px);
  left: 20px;
  top: 0;
}

/* Chart icon */
.abt-values__icon-3d--chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 8px;
  transform: perspective(200px) rotateX(-5deg) rotateY(10deg);
}

.abt-values__bar {
  width: 12px;
  height: var(--h);
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.abt-values__card:hover .abt-values__bar {
  opacity: 1;
}

/* Globe & pen icons use inline SVG */
.abt-values__icon-3d--globe svg,
.abt-values__icon-3d--pen svg {
  width: 48px;
  height: 48px;
}

/* ============================================
   S4: TEAM LEADERSHIP
   ============================================ */
.abt-team {
  padding: 120px 0;
  background: var(--bg-surface);
}

.abt-team__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 12px;
}

.abt-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.abt-team__member {
  text-align: left;
}

.abt-team__photo {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 120%;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.abt-team__photo .placeholder-label {
  position: absolute;
  inset: 0;
}

.abt-team__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.abt-team__member:hover .abt-team__photo {
  border-color: var(--accent);
}

.abt-team__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.abt-team__member h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.abt-team__role {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.abt-team__bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ============================================
   S5: STATS COUNTER
   ============================================ */
.abt-stats {
  padding: 100px 0;
}

.abt-stats__grid {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
}

.abt-stats__item {
  text-align: center;
}

.abt-stats__val {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.abt-stats__suffix {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--accent);
}

.abt-stats__label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ============================================
   S6: ISOMETRIC 3D WORKSPACE
   ============================================ */
.abt-workspace {
  padding: 120px 0;
  background: var(--bg-surface);
  overflow: hidden;
}

.abt-workspace__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 12px;
}

.abt-workspace__scene-wrap {
  margin-top: 64px;
  perspective: 1000px;
}

.abt-workspace__scene {
  position: relative;
  height: 400px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: rotateX(30deg) rotateY(-25deg);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.abt-workspace__layer {
  position: absolute;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease;
}

/* Floor */
.abt-workspace__layer--floor {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateZ(-20px);
}

.abt-workspace__floor-grid {
  width: 600px;
  height: 400px;
  background:
    repeating-linear-gradient(0deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 60px);
  opacity: 0.3;
  border-radius: var(--radius);
}

/* Desk */
.abt-workspace__layer--desk {
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
}

.abt-workspace__desk {
  width: 400px;
  height: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Monitor */
.abt-workspace__layer--screen {
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateZ(40px);
}

.abt-workspace__monitor {
  width: 320px;
  height: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(255, 46, 0, 0.05);
}

/* Desk items */
.abt-workspace__layer--items {
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateZ(20px);
  display: flex;
  gap: 180px;
}

.abt-workspace__item--plant {
  width: 24px;
  height: 40px;
  background: var(--accent);
  opacity: 0.3;
  border-radius: 12px 12px 4px 4px;
}

.abt-workspace__item--mug {
  width: 20px;
  height: 24px;
  background: var(--border);
  border-radius: 4px;
  margin-top: 16px;
}

.abt-workspace__item--keyboard {
  width: 80px;
  height: 8px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 24px;
}

.abt-workspace__note {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 48px;
}

/* ============================================
   S7: CLIENTS MARQUEE
   ============================================ */
.abt-clients {
  padding: 80px 0;
}

.abt-clients__marquee-wrap {
  overflow: hidden;
  margin-top: 32px;
  padding: 20px 0;
}

@keyframes clientMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.abt-clients__marquee {
  display: flex;
  gap: 0;
  width: max-content;
  animation: clientMarquee 30s linear infinite;
  will-change: transform;
}

.abt-clients__marquee:hover {
  animation-play-state: paused;
}

.abt-clients__logo {
  flex-shrink: 0;
  padding: 16px 48px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: -0.01em;
  white-space: nowrap;
  border-right: 1px solid var(--border-dim);
  transition: color 0.3s ease;
}

.abt-clients__logo:hover {
  color: var(--text);
}

/* ============================================
   S8: CTA
   ============================================ */
.abt-cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.abt-cta__content {
  position: relative;
  z-index: 2;
}

.abt-cta__content h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 12px;
}

.abt-cta__content .section-sub {
  margin: 16px auto 0;
  max-width: 480px;
}

.abt-cta__content .btn {
  margin-top: 32px;
}

@keyframes float3d {
  0%, 100% { transform: perspective(600px) rotateX(10deg) rotateY(-10deg) translateY(0); }
  50%      { transform: perspective(600px) rotateX(12deg) rotateY(-8deg) translateY(-12px); }
}

.abt-cta__floating-shape {
  position: absolute;
  z-index: 0;
  width: 300px;
  height: 200px;
  top: 50%;
  left: 50%;
  margin-top: -140px;
  margin-left: -200px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  opacity: 0.2;
  animation: float3d 6s ease-in-out infinite;
}

.abt-cta__floating-shape--alt {
  width: 200px;
  height: 150px;
  margin-left: 40px;
  margin-top: -60px;
  animation-delay: -3s;
  opacity: 0.12;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .abt-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .abt-team__grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* Manifesto */
  .abt-manifesto {
    min-height: auto;
  }
  .abt-manifesto .container {
    position: relative;
    height: auto;
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 48px;
  }
  .abt-manifesto__block {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 0;
    margin-bottom: 64px;
  }
  .abt-manifesto__block.is-done {
    opacity: 1;
    transform: none;
  }
  .abt-manifesto__scroll-hint {
    display: none;
  }

  /* Values */
  .abt-values__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Team */
  .abt-team__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .abt-team__photo {
    padding-bottom: 80%;
  }

  /* Stats */
  .abt-stats__grid {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }
  .abt-stats__item {
    min-width: 140px;
  }

  /* Workspace - flatten */
  .abt-workspace__scene {
    transform: none;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .abt-workspace__layer {
    position: relative;
    transform: none !important;
  }
  .abt-workspace__floor-grid {
    width: 300px;
    height: 200px;
  }
  .abt-workspace__desk {
    width: 280px;
  }
  .abt-workspace__monitor {
    width: 260px;
    height: 160px;
  }

  /* CTA */
  .abt-cta__floating-shape {
    width: 200px;
    height: 140px;
  }
}

/* Ultra-wide: 4-up team grid */
@media (min-width: 1600px) {
  .abt-team__grid { grid-template-columns: repeat(4, 1fr); }
}
