/* Critical brand images: explicit dimensions and image fallbacks prevent blank preview states. */
.hero-content {
  min-width: 0;
}

.scroll-cue {
  left: 50%;
  transform: translateX(-50%);
}

.hero-logo-shell {
  width: clamp(14rem, calc(18vw + 8rem), 24rem);
  aspect-ratio: 1600 / 914;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  background: url("assets/logo-400.png") center / contain no-repeat;
  overflow: hidden;
}

.hero-logo-shell .hero-logo {
  display: block;
  width: 100%;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.hero-title {
  max-width: 100%;
  font-size: clamp(2.35rem, 7vw, 6rem);
}

.about-grid,
.about-grid > * {
  min-width: 0;
}

.founder-media {
  background: #111 url("assets/founder-800.jpg") center / cover no-repeat;
}

.founder-photo {
  display: block;
}

.footer-logo-shell {
  width: clamp(10rem, calc(10vw + 6rem), 14rem);
  aspect-ratio: 1600 / 914;
  background: url("assets/logo-400.png") center / contain no-repeat;
  filter: invert(1);
}

.footer-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
}

/* Recognition grid: four equal cards on desktop, balanced pairs on tablets. */
.recognition-heading {
  margin: 0 0 1.5rem;
  text-align: center;
}

.recognition-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.recognition-item {
  display: flex;
  min-width: 0;
  min-height: 8.75rem;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.8rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.018);
  text-align: left;
}

.recognition-pillar {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  line-height: 1;
}

.recognition-copy {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .recognition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .recognition-item {
    min-height: 9.25rem;
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .recognition-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .recognition-item {
    min-height: 9.5rem;
  }
}

/* Founder identity: keep the name and role centered as one intentional unit. */
.founder-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  text-align: center;
}

.founder-name {
  display: inline-flex;
  width: min(100%, 24rem);
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #b08d45;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.founder-role {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.55;
  text-transform: uppercase;
}

/* FIX inclusions: equal rows and consistent bullet/text alignment. */
.engagement-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.engagement-item {
  display: grid;
  grid-template-columns: 0.45rem minmax(0, 1fr);
  gap: 0.85rem;
  align-content: start;
  min-width: 0;
  min-height: 4.25rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  line-height: 1.5;
}

.engagement-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.engagement-bullet {
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.55rem;
  background: #b08d45;
}

/* Inquiry journey: vertical and centered on narrow screens, one clean line from 640px up. */
.journey-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(100%, 22rem);
  margin: 3rem auto 3.25rem;
  padding: 0;
  list-style: none;
  isolation: isolate;
}

.journey-steps::before {
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  width: 1px;
  background: rgba(176, 141, 69, 0.32);
  content: "";
  z-index: -1;
}

.journey-step {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-width: 0;
  min-height: 3.25rem;
  text-align: left;
}

.journey-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(176, 141, 69, 0.55);
  border-radius: 999px;
  background: #fff;
  color: #80602a;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.journey-label {
  color: rgba(17, 24, 39, 0.68);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.inquiry-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.inquiry-action > a {
  max-width: 25rem;
}

.inquiry-note {
  max-width: 34rem;
  margin: 0;
}

@media (min-width: 640px) {
  .journey-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    max-width: 48rem;
    margin-top: 4rem;
    margin-bottom: 4.5rem;
  }

  .journey-steps::before {
    top: 1.375rem;
    right: 10%;
    bottom: auto;
    left: 10%;
    width: auto;
    height: 1px;
  }

  .journey-step {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 1.25rem;
    padding-inline: 0.5rem;
    text-align: center;
  }

  .journey-label {
    display: flex;
    min-height: 2.1rem;
    align-items: flex-start;
    justify-content: center;
    white-space: normal;
  }

  .journey-number {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 0.7rem;
  }

  .inquiry-action {
    gap: 1.75rem;
  }
}

@media (max-width: 639px) {
  .engagement-includes {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .engagement-item {
    min-height: 0;
    padding: 0.85rem 0;
  }

  .engagement-item:nth-last-child(2) {
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  }
}

@media (max-width: 359px) {
  .hero-logo-shell {
    width: 12rem;
  }

  .footer-logo-shell {
    width: 9.5rem;
  }

  .founder-name {
    padding-inline: 0.9rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .founder-role {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .journey-steps {
    width: min(100%, 17rem);
    margin-top: 2.5rem;
    margin-bottom: 2.75rem;
  }

  .journey-label {
    letter-spacing: 0.09em;
  }
}
