@import "main.css";

/* INDEX PAGE SPECIFIC STYLES */

/* --- EXTRACTED FROM HEAD --- */
.insight-content h2.text-section-title {
  font-size: 2.2rem !important;
  max-width: 100%;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.animate-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.animate-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.animate-reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

#hero-globe {
  width: 100%;
  height: 500px;
  cursor: grab;
  position: relative;
  z-index: 5;
  margin-top: -50px;
}

#hero-globe:active {
  cursor: grabbing;
}

@media (max-width: 991px) {
  #hero-globe {
    height: 300px;
    margin-top: 30px;
  }
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* --- CONSOLIDATED INLINE STYLES --- */
.hero-subheading {
  margin-top: -5px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.5;
}

.insight-large-title {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 1200px;
}

.insight-philosophy-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.insight-philosophy-desc {
  font-size: 1.15rem;
  line-height: 1.5;
  opacity: 0.9;
}

.meta-label-static {
  text-transform: none;
}

.insight-card-large {
  --aspect-max: 5/8;
  --aspect-min: 5/4;
  background: #eee;
}

.insight-card-small {
  --aspect-max: 7/8;
  --aspect-min: 7/4;
  background: #ddd;
}

.manifesto-moonshot-label {
  letter-spacing: 0.5em;
  font-size: 0.8rem;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
}

.manifesto-ash-bg {
  background-color: #f4f4f4 !important;
  color: #000 !important;
}

.manifesto-secondary-line {
  font-family: var(--font-heading);
  font-size: 0.45em; /* Precisely scaled from text-hero */
  text-transform: none;
  color: #000;
  margin-top: 10px;
  line-height: 1;
}

/* HIGH-FIDELITY HIGHLIGHT UTILITY */
.highlight-box {
  background: var(--color-signal);
  color: #fff !important;
  padding: 2px 6px;
  font-weight: 700;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  line-height: 1.6;
}

/* --- TEAMUP! INTERACTIVE BRICK ANIMATION --- */
.brick-animation-container {
  width: 100%;
  height: 480px;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

#brick-stage {
  position: absolute;
  width: 500px;
  height: 500px;
  pointer-events: none;
}

.brick-letter {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: #ccc;
  user-select: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s;
  z-index: 10;
  text-transform: uppercase;
}

.brick-letter.active {
  color: var(--color-signal);
  transform: scale(1.6);
  z-index: 15;
}

@keyframes float-brick-letter {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -12px) rotate(3deg); }
}

.lego-brick {
  position: absolute;
  width: 20px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12), inset 0 1px 1px rgba(255,255,255,0.3);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1), top 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

/* Studs */
.lego-brick::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 3px;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  box-shadow: 8px 0 0 rgba(255,255,255,0.25);
}

.brick-color-1 { background: #fd3004; } /* Red */
.brick-color-2 { background: #fffd00; } /* Yellow */
.brick-color-3 { background: #0084ff; } /* Blue */
.brick-color-4 { background: #00c853; } /* Green */
.brick-color-5 { background: #ff9100; } /* Orange */
.brick-color-6 { background: #ffffff; border: 1px solid rgba(0,0,0,0.05); } /* White */

/* --- EXPERTISE SECTION --- */

/* --- EXPERTISE SECTION --- */
.section-expertise {
  padding: 120px 0;
  background-color: #000;
  position: relative;
}

.expertise-glow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle at center,
    rgba(253, 48, 4, 0.15) 0%,
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  transform: translateY(-50%);
}

.expertise-left {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 100;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.expertise-left-content {
  pointer-events: auto;
  padding-left: 60px;
}

.expertise-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 25px;
  text-transform: none;
  letter-spacing: -0.01em;
}

.expertise-left .text-body {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #888;
  max-width: 400px;
}

.sticky-meta-grid {
  display: flex;
  gap: 40px;
}

.meta-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #444;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
}

.meta-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--color-signal);
  line-height: 1;
  text-shadow: 0 0 25px rgba(253, 48, 4, 0.2);
}

.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 10;
  position: relative;
  padding-left: 60px;
  padding-top: 40vh;
  padding-bottom: 40vh;
}

@media (max-width: 991px) {
  .expertise-left {
    height: auto;
    position: relative;
    top: 0;
    padding: 80px 0;
  }
  .expertise-left-content {
    padding-left: 0;
  }
  .expertise-list {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.expertise-progress-vertical {
  position: absolute;
  left: 0;
  top: 10vh;
  bottom: 10vh;
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.progress-line-v {
  flex-grow: 1;
  width: 2px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  margin: 15px 0;
  overflow: hidden;
}

.progress-fill-v {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--color-signal);
  box-shadow: 0 0 15px var(--color-signal);
  transition: height 0.1s linear;
}

.progress-val-v {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #444;
  letter-spacing: 0.1em;
}

.progress-val-v.active-val {
  color: #fff;
}

.expertise-item {
  position: relative;
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertise-item:first-child {
  border-top: none;
}

.item-header,
.item-content {
  opacity: 0.15;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertise-item.active .item-header,
.expertise-item.active .item-content {
  opacity: 1;
}

.item-header {
  display: flex;
  align-items: center;
  gap: 30px;
}

.item-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  color: #fff;
  margin: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  letter-spacing: -0.01em;
}

.item-content {
  margin-top: 40px;
  max-width: 600px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertise-item.active .item-content {
  height: auto;
  opacity: 1;
}

.item-desc {
  font-size: 1.15rem;
  color: #999;
  line-height: 1.6;
  margin-bottom: 40px;
}
/* --- ARCHIVES SECTION STYLES --- */
.archive-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

@media (max-width: 991px) {
  .archive-heading {
    font-size: 2.2rem;
  }
}

/* 
 * ═══════════════════════════════════════════
 * INDEX SPECIFIC RESPONSIVE TIERS
 * ═══════════════════════════════════════════
 */

/* XS: MOBILE (Up to 480px) */
@media (max-width: 480px) {
  .hero-content {
    padding-top: 40px;
  }
  .expertise-left h2 {
    font-size: 2.2rem;
  }
  .sticky-meta-grid {
    flex-direction: column;
    gap: 20px;
  }
  .expertise-list {
    padding-left: 0;
  }
}

/* M: LARGE TABLET (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  #hero-globe {
    height: 400px;
  }
  .expertise-left-content {
    padding-left: 20px;
  }
}

/* XL: HD DESKTOP (1281px - 1920px) */
@media (min-width: 1281px) and (max-width: 1920px) {
  .expertise-left-content {
    padding-left: 80px;
  }
}

/* ULTRA: 4K (1921px and up) */
@media (min-width: 1921px) {
  .expertise-left-content {
    padding-left: 120px;
  }
  .expertise-left h2 {
    font-size: 5rem;
  }
  .meta-value {
    font-size: 5rem;
  }
  .item-title {
    font-size: 5rem;
  }
  .item-desc {
    font-size: 1.5rem;
    max-width: 800px;
  }
}
