/* ============================================================
   Component: Self-Organising Team Hero Card (self-organising-hero.css)
   BEM Notation: block_element--modifier
   Matched to Figma Node 0:4955 / 0:4983
   Card width: 1416px, Hero height: 816px
   Total left/right padding: 80px (12px outer card margin + 68px inner padding)
   ============================================================ */

/* Hero Card Section (Enclosing Header and Content) */
.self_hero_card {
  position: relative;
  width: calc(100% - 8px);
  max-width: var(--hero-card-max-width, 1416px);
  margin: 4px auto 48px;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 16px;
  border: 1px solid var(--color-card-border);
  background-color: var(--color-surface);
  overflow: hidden;
  padding-block: 0 40px;
  z-index: 2;
}

@media (min-width: 768px) {
  .self_hero_card {
    width: calc(100% - 24px);
    margin: 12px auto 48px;
    border-radius: var(--hero-card-radius, 24px);
    border: 1px solid var(--color-card-border);
  }
}

@media (min-width: 992px) {
  .self_hero_card {
    min-height: 860px;
    padding-block: 0 48px;
    margin: 12px auto 64px;
  }
}

/* 68px inner padding + 12px outer card margin = 80px total padding from screen edge */
.self_hero_container {
  width: 100%;
  max-width: 1416px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-top: 40px;
  position: relative;
  z-index: 3;
}

@media (min-width: 768px) {
  .self_hero_container {
    padding-inline: 40px;
    padding-top: 40px;
  }
}

@media (min-width: 992px) {
  .self_hero_container {
    padding-inline: 68px;
    /* 12px card margin + 68px = 80px total */
    padding-top: 68px;
  }
}

/* Right Grid Pattern Background (Figma Node 0:4988) */
.self_hero_grid-bg-picture {
  position: absolute;
  top: 0;
  left: 468px;
  width: 937px;
  height: 816px;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

@media (max-width: 1440px) {
  .self_hero_grid-bg-picture {
    left: auto;
    right: 0;
    width: clamp(280px, 66%, 937px);
  }
}

.self_hero_grid-bg {
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

/* Two-column layout grid */
.self_hero_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 3;
}

@media (min-width: 992px) {
  .self_hero_grid {
    grid-template-columns: 564px 1fr;
    gap: 48px;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .self_hero_grid {
    grid-template-columns: 564px minmax(0, 603px);
    justify-content: space-between;
    gap: 56px;
  }
}

/* Left Content Column (Figma Node 0:4991) */
.self_hero_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 564px;
}

/* Eyebrow Badge / Tagline */
.self_hero_eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font-size: var(--font-size-eyebrow, 13px);
  font-weight: var(--font-weight-bold, 700);
  letter-spacing: var(--letter-spacing-eyebrow, 0.12em);
  text-transform: uppercase;
  color: var(--color-eyebrow, #7339D4);
  animation: self_hero_fade-up var(--duration-slow) var(--ease-out-smooth) 0.1s both;
}

/* Main Heading H1 */
.self_hero_title {
  margin: 0 0 24px 0;
  font-size: clamp(2rem, 4.4vw, 58px);
  font-weight: var(--font-weight-extrabold, 700);
  line-height: 1.12;
  letter-spacing: var(--letter-spacing-tighter, -0.02em);
  color: var(--color-text-primary, #0F0D15);
  animation: self_hero_fade-up var(--duration-slow) var(--ease-out-smooth) 0.2s both;
}

/* Multi-color Brand Gradient on "accelerate" */
.self_hero_gradient-text {
  display: inline-block;
  background-image: var(--gradient-behavior, linear-gradient(90deg, #7339D4 0%, #D84F7C 50%, #F5724B 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description / Value Proposition Copy (3 paragraphs) */
.self_hero_copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  max-width: 564px;
  animation: self_hero_fade-up var(--duration-slow) var(--ease-out-smooth) 0.32s both;
}

.self_hero_desc {
  margin: 0;
  font-size: var(--font-size-body, 16px);
  font-weight: var(--font-weight-regular, 400);
  line-height: var(--line-height-body, 1.55);
  color: var(--color-text-primary, #0F0D15);
}

/* Action Button Container */
.self_hero_actions {
  display: flex;
  align-items: center;
  animation: self_hero_fade-up var(--duration-slow) var(--ease-out-smooth) 0.44s both;
}

/* Primary CTA Button (Figma Node 0:5000: "Consult a behavioural expert") */
.self_hero_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  height: 60px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: var(--font-weight-medium, 500);
  color: var(--color-surface, #ffffff);
  background-color: var(--color-primary, #7339D4);
  border-radius: var(--radius-full, 9999px);
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-out-smooth),
    transform var(--duration-fast) var(--ease-out-smooth),
    box-shadow var(--duration-fast) var(--ease-out-smooth);
}

.self_hero_btn:hover {
  background-color: var(--color-primary-hover, #632AD5);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(131, 74, 224, 0.35);
}

.self_hero_btn:active {
  transform: translateY(0);
}

.self_hero_btn:focus-visible {
  outline: 2px solid var(--color-primary, #7339D4);
  outline-offset: 3px;
}

/* Right Visual Column (Figma Node 0:5001 / 0:5002) */
.self_hero_visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  animation: self_hero_fade-up var(--duration-slow) var(--ease-out-smooth) 0.35s both;
}

@media (min-width: 992px) {
  .self_hero_visual {
    align-items: flex-end;
  }
}

.self_hero_visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 603px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  transition: transform var(--duration-base) var(--ease-out-smooth);
}

.self_hero_visual-wrapper:hover {
  transform: translateY(-3px);
}

.self_hero_diagram {
  width: 100%;
  max-width: 603px;
  height: auto;
  display: block;
  object-fit: contain;
  overflow: visible;
  shape-rendering: geometricPrecision;
  filter: drop-shadow(0 12px 28px rgba(131, 74, 224, 0.08));
}

/* Caption under visual diagram (Figma Node 0:5068) */
.self_hero_caption {
  margin: 18px 0 0;
  font-size: 10px;
  font-weight: var(--font-weight-regular, 400);
  line-height: 1.45;
  color: var(--color-text-primary, #0F0D15);
  text-align: center;
  max-width: 540px;
}

@media (min-width: 768px) {
  .self_hero_caption {
    margin: 28px 0 0;
    font-size: 17px;
  }
}

/* Mobile Viewport Refinements */
@media (max-width: 767px) {
  .self_hero_card {
    padding-block: 0 40px;
    margin: 4px auto 36px;
    height: auto;
    min-height: auto;
  }

  .self_hero_container {
    padding-inline: 20px;
  }

  .self_hero_content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .self_hero_eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
    text-align: center;
  }

  .self_hero_title,
  .hero-title {
    font-size: 52px;
    font-weight: var(--font-weight-medium, 500);
    line-height: 1.12;
    letter-spacing: -1.5px;
    text-align: center;
    margin-bottom: 24px;
  }

  .self_hero_copy {
    align-items: center;
    text-align: center;
    max-width: 100%;
    margin-bottom: 32px;
    gap: 14px;
  }

  .self_hero_desc,
  .textdesc {
    font-size: 16px;
    font-weight: var(--font-weight-regular, 400);
    line-height: 1.55;
    text-align: center;
  }

  .self_hero_actions {
    justify-content: center;
    width: 100%;
  }

  .self_hero_btn {
    width: 280px;
    max-width: 100%;
    height: 52px;
    font-size: 16px;
    padding: 12px 24px;
  }

  .self_hero_visual-wrapper {
    max-width: 100%;
  }

  .self_hero_caption {
    font-size: 10px;
    margin-top: 14px;
    line-height: 1.5;
  }
}

/* Subtle Staggered Entrance Animation */
@keyframes self_hero_fade-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Accessibility: Respect Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

  .self_hero_eyebrow,
  .self_hero_title,
  .self_hero_copy,
  .self_hero_actions,
  .self_hero_visual {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .self_hero_btn,
  .self_hero_visual-wrapper {
    transition: none;
  }
}