/* ==========================================================================
   HERO SECTION STYLES
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  /* Ensure it strictly takes 100svh */
  display: flex;
  flex-direction: column;
  padding-top: max(100px, 12vh);
  /* Smart padding based on viewport */
  padding-bottom: var(--space-m);
  overflow: hidden;
  /* Clip any minor bleeding since it's a strict 100vh section */
}

/* Full Background Layer */
.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 130%;
  /* Oversize to push the centered building to the left */
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform-origin: right center;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  /* Gradient: Darker on the right (text side in RTL) to transparent on the left */
  background: linear-gradient(to left, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.4) 50%, rgba(5, 5, 5, 0.2) 100%);
}

/* Architectural Grid Overlay */
.hero__grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.grid-line {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.03);
}

.grid-line.vertical {
  top: 0;
  bottom: 0;
  width: 1px;
}

.grid-line.horizontal {
  left: 0;
  right: 0;
  height: 1px;
}

.grid-line.line-1 {
  left: 10%;
}

.grid-line.line-2 {
  left: 50%;
}

.grid-line.line-3 {
  right: 10%;
}

.grid-line.line-4 {
  top: 75%;
}

/* Main Container */
.hero__container {
  max-width: var(--container-width-main);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 2;
}

/* Left Content */
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 0;
  /* Removed bottom padding */
}

.hero__eyebrow {
  font-size: 0.85rem;
  color: var(--color-accent-metallic);
  margin-bottom: var(--space-s);
}

.hero__headline {
  font-size: clamp(2.25rem, 3.5vw + 0.5rem, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-m);
}

.headline-line {
  overflow: hidden;
  /* For GSAP reveal */
}

.headline-text {
  display: block;
}

.hero__description {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-accent-metallic);
  max-width: 85%;
  margin-bottom: var(--space-l);
  line-height: 1.6;
  border-right: 1px solid var(--color-accent-warm);
  border-left: none;
  padding-right: var(--space-m);
  padding-left: 0;
}

/* CTA Button */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-m);
  align-self: flex-start;
  group: cta-hover;
}

.cta-text {
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.hero__cta:hover .cta-icon {
  border-color: var(--color-accent-warm);
  background-color: var(--color-accent-warm);
  color: var(--color-near-black);
  transform: rotate(45deg);
}

.hero__cta:hover .cta-text {
  color: var(--color-accent-warm);
}

/* Disciplines Nav Wrapper */
.hero__disciplines-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Push to the far left in RTL */
}

/* Disciplines Nav */
.hero__disciplines {
  background-color: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-l);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.discipline-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.discipline-item {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-accent-metallic);
  display: flex;
  align-items: center;
  gap: var(--space-s);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.discipline-item .num {
  font-size: 0.65rem;
  opacity: 0.5;
}

.discipline-item:hover,
.discipline-item.active {
  color: var(--color-white);
}

.discipline-item.active .num {
  color: var(--color-accent-warm);
  opacity: 1;
}

/* Bottom Area */
.hero__bottom {
  max-width: var(--container-width-main);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  margin-top: auto;
  /* Push to the very bottom */
}

.hero__scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-s);
}

.scroll-text {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-accent-metallic);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 40px;
  /* Reduced from 60px to save vertical space */
  background: linear-gradient(to bottom, var(--color-accent-warm), transparent);
}

.hero__stats {
  display: flex;
  gap: var(--space-xl);
  /* Reduced gap */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-s);
  /* Reduced padding */
  padding-bottom: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-off-white);
}