@charset "UTF-8";

:root {
  --orange: #e86f1c;
  --orange-dark: #c95b10;
  --navy: #152b3c;
  --text: #263746;
  --muted: #71808b;
  --line: #e7ebee;
  --paper: #ffffff;
  --background: #f4f5f6;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #fff 0, #fff 74px, var(--background) 74px, var(--background) 100%);
}

a {
  color: inherit;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  width: 58px;
  height: 42px;
  align-items: center;
}

.brand-circle {
  width: 39px;
  height: 39px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--orange);
  font-size: 9px;
  line-height: 10px;
  font-weight: 700;
  text-align: center;
}

.brand-circle-left {
  position: relative;
  z-index: 2;
}

.brand-circle-right {
  position: absolute;
  right: 0;
  top: 1px;
  z-index: 1;
  font-size: 19px;
  color: var(--navy);
  border-color: var(--navy);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  color: var(--navy);
  font-size: 18px;
  letter-spacing: .03em;
}

.brand-text small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.links a:hover,
.contact-card a:hover {
  text-decoration: underline;
}

.hero {
  min-height: calc(100vh - 125px);
  display: flex;
  align-items: center;
  padding: 76px 0 84px;
}

.hero-inner {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.bme-logo {
  margin-bottom: 24px;
}

.bme-logo img {
  display: inline-block;
  width: auto;
  max-width: 360px;
  max-height: 120px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 0 auto;
  color: var(--navy);
  font-size: clamp(29px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 700;
}

.lead {
  max-width: 620px;
  margin: 24px auto 38px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.contact-card {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 22px;
  text-align: left;
  background: #fff;
  border-top: 3px solid var(--orange);
  box-shadow: 0 12px 35px rgba(21, 43, 60, .08);
}

.contact-card > div {
  min-width: 0;
}

.label {
  display: block;
  margin-bottom: 7px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-card span:not(.label),
.contact-card a {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
}

.links a {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.links a::after {
  content: " ↗";
  color: var(--orange);
}

.site-footer {
  min-height: 51px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: #8a959c;
  font-size: 11px;
}

@media (max-width: 760px) {
  body {
    background: var(--background);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 119px);
    padding: 54px 0 60px;
  }

  .hero-inner {
    width: min(100% - 28px, 620px);
  }

  .bme-logo img {
    max-width: 165px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: .09em;
  }

  h1 {
    font-size: clamp(30px, 9vw, 46px);
  }

  .lead {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 17px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    width: calc(100% - 24px);
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-mark {
    transform: scale(.85);
    transform-origin: left center;
    width: 50px;
    margin-right: -5px;
  }

}
