/* ============================================================================
   HOME — templates/website/index.html only
   Everything shared with another page belongs in website.css instead.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------------- */
.bs-hero {
  position: relative;
  /* svh, not vh: on a phone, vh is measured against the browser chrome at its
     smallest, so a 100vh hero is cut off the moment the address bar is shown. */
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--bs-header-h) + clamp(32px, 5vw, 68px));
  padding-bottom: clamp(56px, 6.5vw, 100px);
}

.bs-hero__rule {
  height: 1px;
  width: min(420px, 100%);
  background: linear-gradient(to right, rgb(var(--bs-brand)), rgb(var(--bs-brand) / 0));
  transform-origin: left center;
}

.bs-hero__facts {
  display: grid;
  gap: 26px 40px;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--bs-hairline);
  padding-top: 26px;
}
@media (min-width: 640px) { .bs-hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bs-hero__facts dt {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(var(--bs-ink-3));
}
.bs-hero__facts dd {
  margin-top: 9px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
  color: rgb(var(--bs-ink));
}

.bs-hero__cue { display: none; }
@media (min-width: 1024px) {
  .bs-hero__cue {
    display: block;
    position: absolute;
    left: var(--bs-gutter);
    bottom: clamp(28px, 4vw, 56px);
  }
}

/* ---------------------------------------------------------------------------
   MARQUEE STRIP
   ------------------------------------------------------------------------- */
.bs-strip {
  border-top: 1px solid var(--bs-hairline);
  border-bottom: 1px solid var(--bs-hairline);
  padding-block: clamp(20px, 2.6vw, 32px);
  background: rgb(var(--bs-bg-alt));
}
.bs-strip .bs-marquee__item { color: rgb(var(--bs-ink-2)); }

/* ---------------------------------------------------------------------------
   NUMBERS
   ------------------------------------------------------------------------- */
.bs-numbers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}
@media (min-width: 900px) { .bs-numbers__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.bs-numbers__cell {
  padding: clamp(28px, 4vw, 52px) clamp(16px, 2.4vw, 32px) clamp(28px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--bs-hairline);
}
/* Hairlines between columns only — a border on every cell would double up at
   the grid's own edges and read as a table. */
.bs-numbers__cell + .bs-numbers__cell { border-left: 1px solid var(--bs-hairline); padding-left: clamp(16px, 2.4vw, 32px); }
@media (max-width: 899px) {
  .bs-numbers__cell:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ---------------------------------------------------------------------------
   WHY CHOOSE US
   ------------------------------------------------------------------------- */
.bs-why { background: rgb(var(--bs-bg-alt)); }
.bs-why__sticky { position: static; }
@media (min-width: 1024px) {
  .bs-why__sticky { position: sticky; top: calc(var(--bs-header-h) + 48px); }
}
.bs-why__list { display: flex; flex-direction: column; border-top: 1px solid var(--bs-hairline); }
.bs-why__item {
  display: grid;
  grid-template-columns: 3.4em 1fr;
  gap: 8px 16px;
  padding-block: clamp(26px, 3.4vw, 40px);
  border-bottom: 1px solid var(--bs-hairline);
}
@media (max-width: 519px) { .bs-why__item { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   VISION & MISSION
   ------------------------------------------------------------------------- */
.bs-quote {
  position: relative;
  padding-left: clamp(20px, 3vw, 34px);
  border-left: 2px solid rgb(var(--bs-brand));
}
.bs-quote p { color: rgb(var(--bs-ink)); }

.bs-mission { display: flex; flex-direction: column; }
.bs-mission li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  padding-block: 18px;
  border-bottom: 1px solid var(--bs-hairline);
}
.bs-mission li:first-child { border-top: 1px solid var(--bs-hairline); }
.bs-mission svg { margin-top: 5px; color: rgb(var(--bs-brand-ink)); }

/* ---------------------------------------------------------------------------
   HERO PHOTOGRAPH
   The hero is no longer full-height: with a photograph beside the headline
   the first screen already says what the company builds, and the numbers
   below it should start inside the first scroll.
   ------------------------------------------------------------------------- */
.bs-hero { min-height: 0; }
@media (min-width: 1024px) { .bs-hero { min-height: min(100svh, 920px); } }

/* ---------------------------------------------------------------------------
   INFRASTRUCTURE & TECHNICAL STRENGTH
   ------------------------------------------------------------------------- */
.bs-strength { border-top: 1px solid var(--bs-hairline); }

/* ---------------------------------------------------------------------------
   DIRECTORS (compact)
   ------------------------------------------------------------------------- */
.bs-dirmini {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin-top: clamp(28px, 3.4vw, 44px);
}
@media (min-width: 900px) { .bs-dirmini { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
.bs-dirmini__item { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 32px); }
.bs-dirmini__role { color: rgb(var(--bs-brand-ink)); }
