/* =========================================================
   WHY MURKEZ — PAGE-SPECIFIC STYLES
   Shared nav/hero-frame/footer/buttons/eyebrow/static metric come
   from the root /styles.css. This file covers only the
   sections unique to this page.
   ========================================================= */

.accent { color: var(--hero-accent); }

/* -----------------------------------------------------
   SECTION 1 — HERO
   Static hero-bg.webp per spec (not the live CSS gradient/
   blob system). Height/spacing/typography scale inherited
   from the shared .hero / .hero__content / .hero__tagline.
   ----------------------------------------------------- */
.page-hero {
  position: relative;
  background-color: var(--navy);
  overflow: hidden;
  height: 78vh;
  justify-content: center;
}
.page-hero .hero__content {
  max-width: 1536px;
  padding-top: 150px;
  padding-bottom: 110px;
}
/* The source image's bright gradient arc sits in its top-right corner.
   Rather than edit the image file, we mirror just this background layer
   horizontally so that bright portion lands top-left instead — the
   actual asset file is untouched. Sits at z-index:0, same layer as
   .hero__bg (root styles.css) which paints after it in DOM order and
   so stacks above it — particles remain visible over the image. */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/hero-bg.webp');
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
  z-index: 0;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.25s forwards;
}
.page-hero__copy {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}
.page-hero .hero__ctas { margin-top: 0; }

/* -----------------------------------------------------
   SECTION 2 — WHY WE EXIST
   ----------------------------------------------------- */
.why-exist {
  background: var(--white);
  padding: 56px 0;
}
.why-exist__headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  max-width: 760px;
  margin-bottom: 28px;
}
.why-exist__copy {
  max-width: 720px;
  margin-bottom: 0;
}
.why-exist__copy p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: 16px;
}
.why-exist__copy p:last-child { margin-bottom: 0; }

.why-exist__diagram {
  position: relative;
  width: 112%;
  margin-left: -6%;
  margin-right: -6%;
  margin-top: 24px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.why-exist__diagram-img {
  width: 100%;
  height: auto;
  display: block;
}
.why-exist__diagram-img--mobile { display: none; }
.scenarios-mobile-img { display: none; width: 100%; height: auto; margin: 0 0 8px; }
.why-exist__result {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  white-space: nowrap;
  margin: 0 auto 40px;
}
@media (max-width: 860px) {
  .why-exist__result { white-space: normal; max-width: 640px; }
}

.why-exist__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -18px rgba(13, 27, 75, 0.22);
  border-color: rgba(0, 168, 198, 0.3);
}
.why-card__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.why-card__icon::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.why-card__body {
  flex: 1;
  min-width: 0;
}
.why-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  min-width: 0;
}
.why-card__copy {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.55;
  min-width: 0;
  flex: 1;
}

/* -----------------------------------------------------
   SECTION 3 — BRAND STATEMENT (navy background,
   per-word cyan highlight)
   ----------------------------------------------------- */
.brand-statement-navy {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 100px 24px;
  text-align: center;
}
.brand-statement-navy__line {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
}

/* -----------------------------------------------------
   SECTION 4 — EXPERIENCE EARNED THROUGH EXECUTION
   ----------------------------------------------------- */
.execution {
  background: var(--bg);
  padding: 0;
}
.execution__panel {
  padding: 64px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 32px;
  text-align: center;
}
.execution__intro {
  position: relative;
  padding-left: 24px;
}
.execution__bar {
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: calc(100% - 8px);
  background: var(--blue);
  border-radius: 2px;
}
.execution__headline {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}
.execution__copy {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.55;
}
.execution__stat {
  text-align: center;
  border-left: 1px solid var(--border-light);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.execution__stat:first-child { border-left: none; padding-left: 0; }
.execution__icon {
  color: var(--blue);
  margin-bottom: 14px;
}
.execution__stat .impact__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.execution__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted-label);
  text-transform: uppercase;
  line-height: 1.5;
}

/* -----------------------------------------------------
   SECTION 5 — BUSINESS CHALLENGES
   Hub-and-spoke, visual language matches murkez-simplicity.png:
   thin cyan lines, small dot nodes, minimal hover states.
   ----------------------------------------------------- */
.challenges {
  background: var(--white);
  padding: 72px 0 84px;
  text-align: center;
}
.challenges__heading {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.challenges__heading .accent { color: var(--cyan-400); }

.scenarios {
  display: grid;
  grid-template-columns: 1fr 90px auto 90px 1fr;
  align-items: center;
  gap: 0 18px;
  max-width: 1080px;
  margin: 0 auto;
}
.scenarios__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.scenario-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid #EEF1F5;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px -18px rgba(13, 27, 75, 0.18);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.scenario-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(13, 27, 75, 0.24);
  border-color: rgba(0, 168, 198, 0.3);
}
.scenario-item__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scenario-item__icon svg { width: 22px; height: 22px; }
.scenario-item__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.scenarios__connector { width: 100%; height: 284px; overflow: visible; }
.scenarios__connector path {
  fill: none;
  stroke: var(--border);
  stroke-width: 1.5;
}
.scenarios__connector .node { fill: #C7D2DE; }
.scenarios__connector .node--hub { fill: var(--cyan-400); }

.scenarios__hub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scenarios__hub-ring {
  position: absolute;
  border: 1px solid rgba(0, 168, 198, 0.22);
  border-radius: var(--radius-lg);
}
.scenarios__hub-ring--1 { inset: -14px; }
.scenarios__hub-ring--2 { inset: -30px; border-color: rgba(0, 168, 198, 0.12); }
.scenarios__hub-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 38px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -18px rgba(13, 27, 75, 0.45), 0 0 0 1px rgba(0, 168, 198, 0.15);
}
.scenarios__hub-logo { width: 118px; height: auto; display: block; }
.challenges__closing {
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  max-width: 640px;
  white-space: nowrap;
  margin: 48px auto 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .execution__panel { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .execution__stat:nth-child(2) { border-left: none; }
  .scenarios { display: none; }
  .scenarios-mobile-img { display: block; }
  .why-exist__diagram-img--desktop { display: none; }
  .why-exist__diagram-img--mobile { display: block; }
  .carousel-cue--desktop { display: none; }
  .challenges__closing { white-space: normal; max-width: 480px; }
}

@media (max-width: 860px) {
  .page-hero { height: auto; min-height: auto; }
  .page-hero .hero__content { padding-top: 120px; padding-bottom: 56px; }
  .why-exist { padding: 56px 0; }
  .why-exist__diagram {
    margin-bottom: 40px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .why-exist__diagram-img--mobile {
    width: 100%;
    height: auto;
    max-width: 380px;
    margin: 0 auto;
  }
  .scenarios-mobile-img { max-width: 380px; margin: 0 auto 8px; }
  .why-exist__cards { grid-template-columns: 1fr; }
  .why-card { flex-direction: column; }
  .why-card__title, .why-card__copy { flex: none; width: 100%; }
  .why-card__title { margin-top: 14px; }
  .execution__panel { grid-template-columns: 1fr; padding: 32px 0; }
  .execution__stat { border-left: none; padding-left: 0; }
  .execution__stat .impact__number { font-size: 32px; }
  .execution { padding: 0; }
  .challenges { padding: 64px 0 72px; }
  .brand-statement-navy { padding: 72px 24px; }
}

/* Divider between "Why We Exist" cards and "Business Challenges" section */
.section-divider {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-divider span {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent);
}
