/* Home Box Manager — sample project presentation styles. */
/* Scoped under .presentation-container and .hbm-pres. */

.hbm-custom-html.presentation-container {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem auto;
  padding: 0.5rem 0;
}

.hbm-custom-html.presentation-container .hbm-custom-html__item {
  margin-bottom: 0;
}

.hbm-hook--displayWrapperBottom .hbm-section--custom-html {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.hbm-hook--displayWrapperBottom .hbm-section--custom-html .hbm-section__inner {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.hbm-pres {
  --hbm-pres-bg: #0f172a;
  --hbm-pres-surface: #1e293b;
  --hbm-pres-surface-2: #243450;
  --hbm-pres-text: #f8fafc;
  --hbm-pres-muted: #94a3b8;
  --hbm-pres-border: rgba(255, 255, 255, .08);
  --hbm-pres-primary: #10b981;
  --hbm-pres-secondary: #38bdf8;

  position: relative;
  width: 100%;
  overflow: hidden;
  color: var(--hbm-pres-text);
  background: var(--hbm-pres-bg);
  border: 1px solid var(--hbm-pres-border);
  border-radius: 8px;
  font-family: inherit;
}

.hbm-pres *,
.hbm-pres *::before,
.hbm-pres *::after {
  box-sizing: border-box;
}

.hbm-pres__body {
  position: relative;
  z-index: 1;
  min-height: 560px;
  padding: 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hbm-pres__eyebrow {
  margin: 0 0 1rem;
  color: var(--hbm-pres-secondary);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hbm-pres__lead {
  max-width: 60ch;
  margin: 1.5rem 0 0;
  color: var(--hbm-pres-muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.hbm-pres__text {
  margin: 0 0 1rem;
  color: var(--hbm-pres-text);
  line-height: 1.6;
}

.hbm-pres__text--muted {
  color: var(--hbm-pres-muted);
}

.hbm-pres__heading {
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
  line-height: 1.25;
}

.hbm-pres__heading--hero {
  font-size: 3.5rem;
  margin-bottom: 0;
}

.hbm-pres--hero .hbm-pres__lead--hero {
  margin: 1rem auto 0;
  font-size: 1.25rem;
}

.hbm-pres__heading--contact {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hbm-pres--contact .hbm-pres__lead--contact {
  margin-top: 0;
}

.hbm-pres__tile-title--secondary {
  color: var(--hbm-pres-secondary);
}

.hbm-pres__tile-title--primary {
  color: var(--hbm-pres-primary);
}

.hbm-pres__metric-value.hbm-pres__accent {
  color: var(--hbm-pres-primary);
}

.hbm-pres__table .hbm-pres__accent {
  color: var(--hbm-pres-primary);
}

.hbm-pres__tile-text code {
  color: var(--hbm-pres-secondary);
  font-size: 0.9em;
}

.hbm-pres__accent {
  color: var(--hbm-pres-primary);
}

.hbm-pres__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hbm-pres__list-item {
  position: relative;
  margin: 0 0 .85rem;
  padding-left: 1.6rem;
  color: var(--hbm-pres-text);
  line-height: 1.5;
}

.hbm-pres__list-item::before {
  content: "";
  position: absolute;
  top: .55rem;
  left: 0;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--hbm-pres-primary);
}

/* Hero */
.hbm-pres--hero .hbm-pres__body {
  text-align: center;
  align-items: center;
}

.hbm-pres__hero-name {
  margin: 1rem 0 0;
  color: var(--hbm-pres-muted);
  font-size: 1.05rem;
}

.hbm-pres__hero-role {
  color: var(--hbm-pres-secondary);
  font-weight: 600;
}

/* Grids */
.hbm-pres__grid {
  display: grid;
  gap: 1.5rem;
  margin: 0;
}

.hbm-pres__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hbm-pres__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hbm-pres__grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Metrics and tiles */
.hbm-pres__metric,
.hbm-pres__tile {
  padding: 1.5rem;
  background: var(--hbm-pres-surface);
  border: 1px solid var(--hbm-pres-border);
  border-radius: 8px;
}

.hbm-pres__metric {
  height: auto;
}

.hbm-pres__tile {
  height: 100%;
}

.hbm-pres__metric-value {
  display: block;
  color: var(--hbm-pres-primary);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.hbm-pres__metric-label {
  display: block;
  margin-top: .5rem;
  color: var(--hbm-pres-muted);
  font-size: .95rem;
}

.hbm-pres__tile-title {
  margin: 0 0 .65rem;
  color: var(--hbm-pres-text);
  font-size: 1.1rem;
  font-weight: 600;
}

.hbm-pres__tile-text {
  margin: 0;
  color: var(--hbm-pres-muted);
  font-size: .95rem;
  line-height: 1.55;
}

/* Callout */
.hbm-pres__callout {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--hbm-pres-surface-2);
  border-left: 3px solid var(--hbm-pres-primary);
  border-radius: 6px;
  color: var(--hbm-pres-text);
  line-height: 1.55;
}

/* Comparison table */
.hbm-pres__table-wrap {
  width: 100%;
  margin: 0;
  overflow-x: auto;
}

.hbm-pres__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.hbm-pres__table th,
.hbm-pres__table td {
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--hbm-pres-border);
  text-align: left;
  vertical-align: top;
}

.hbm-pres__table thead th {
  color: var(--hbm-pres-secondary);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hbm-pres__table tbody th {
  color: var(--hbm-pres-text);
  font-weight: 600;
}

.hbm-pres__table td {
  color: var(--hbm-pres-muted);
}

.hbm-pres__table .hbm-pres__cell--strong {
  color: var(--hbm-pres-text);
  font-weight: 600;
}

/* Contact */
.hbm-pres--contact .hbm-pres__body {
  text-align: center;
  align-items: center;
}

.hbm-pres__contact {
  margin: 1.5rem 0 0;
}

.hbm-pres__contact-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.hbm-pres__contact-role {
  margin: .35rem 0 0;
  color: var(--hbm-pres-secondary);
}

.hbm-pres__body--pitch {
  min-height: 0;
  padding: 4rem;
}

.hbm-pres__lead--section-intro {
  margin-top: 0;
  max-width: 80ch;
  margin-bottom: 2.5rem;
}

.hbm-pres__section-title {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--hbm-pres-text);
}

.hbm-pres__section-title--secondary {
  color: var(--hbm-pres-secondary);
}

.hbm-pres__section-title--primary {
  color: var(--hbm-pres-primary);
}

.hbm-pres__lead--intro {
  margin-top: 0;
  max-width: 80ch;
}

.hbm-pres__grid--spaced {
  margin-top: 2.5rem;
}

.hbm-pres__heading--final-pitch {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.hbm-pres__lead--pitch {
  margin-top: 1rem;
  font-size: 1.25rem;
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
}

.hbm-pres__lead--pitch + .hbm-pres__lead--pitch {
  margin-top: 1.5rem;
}

.hbm-pres__lead--emphasis {
  color: var(--hbm-pres-text);
}

.hbm-pres__contact--pitch {
  margin: 2.5rem 0 0;
  padding: 2rem 4rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  display: inline-block;
}

.hbm-pres__contact-name--pitch {
  font-size: 1.5rem;
}

.hbm-pres__contact-role--pitch {
  color: var(--hbm-pres-primary);
  font-size: 1.1rem;
}

.hbm-pres__footnote {
  margin: 2rem 0 0;
  color: var(--hbm-pres-muted);
  font-size: .9rem;
}

/* Tablet */
@media (max-width: 991px) {
  .hbm-pres__grid--2,
  .hbm-pres__grid--3,
  .hbm-pres__grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hbm-pres__body {
    padding: 3rem 2.5rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hbm-pres__grid,
  .hbm-pres__grid--2,
  .hbm-pres__grid--3,
  .hbm-pres__grid--4 {
    grid-template-columns: 1fr;
  }

  .hbm-pres__body {
    min-height: 0;
    padding: 1.5rem;
  }

  .hbm-pres__lead {
    font-size: 1.05rem;
  }

  .hbm-pres__heading--hero {
    font-size: 2.25rem;
  }

  .hbm-pres__heading--contact {
    font-size: 1.85rem;
  }

  .hbm-pres__heading--final-pitch {
    font-size: 2rem;
  }

  .hbm-pres__body--pitch {
    padding: 2rem 1.5rem;
  }

  .hbm-pres__contact--pitch {
    padding: 1.5rem 2rem;
  }
}
