:root {
  --bb-ink: #18232c;
  --bb-ink-soft: #40515f;
  --bb-blue: #0d4d8b;
  --bb-blue-dark: #07345f;
  --bb-blue-deep: #061a2f;
  --bb-orange: #f28c18;
  --bb-orange-dark: #c96f09;
  --bb-line: #d8e0e6;
  --bb-panel: #ffffff;
  --bb-paper: #f4f7f9;
  --bb-steel: #718291;
  --bb-white: #ffffff;
  --bb-shadow: 0 22px 70px rgba(6, 26, 47, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bb-paper);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  color: var(--bb-ink);
  background:
    linear-gradient(90deg, rgba(13, 77, 139, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 77, 139, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #f7fafc 0%, #eef3f6 44%, #ffffff 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 0%, rgba(242, 140, 24, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 14%, rgba(13, 77, 139, 0.16), transparent 26rem);
  pointer-events: none;
}

a {
  color: var(--bb-blue);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--bb-blue-dark);
}

.site-header,
.site-footer,
.site-main {
  width: min(1160px, calc(100% - 2rem));
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.9rem;
  color: var(--bb-ink);
  text-decoration: none;
}

.brand img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(6, 26, 47, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--bb-blue-dark);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
}

.brand small {
  margin-top: 0.28rem;
  color: var(--bb-orange-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(13, 77, 139, 0.18);
  border-radius: 999px;
  color: var(--bb-blue-dark);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(6, 26, 47, 0.06);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a:focus {
  color: var(--bb-white);
  border-color: var(--bb-blue-dark);
  background: var(--bb-blue-dark);
  transform: translateY(-1px);
}

.site-main {
  margin-top: 1.25rem;
  margin-bottom: 3.5rem;
}

.page-shell {
  padding: clamp(1.35rem, 3.4vw, 3.2rem);
  border: 1px solid rgba(13, 77, 139, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--bb-shadow);
}

.page-shell-home {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr);
  min-height: 380px;
  overflow: hidden;
  border: 1px solid rgba(6, 26, 47, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(105deg, rgba(6, 26, 47, 0.97) 0%, rgba(7, 52, 95, 0.95) 54%, rgba(13, 77, 139, 0.90) 100%);
  box-shadow: var(--bb-shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.74), transparent 78%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -10rem;
  width: 34rem;
  height: 34rem;
  border: 5rem solid rgba(242, 140, 24, 0.13);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.8rem);
  color: var(--bb-white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--bb-orange);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--bb-white);
  font-size: clamp(2.45rem, 4.8vw, 4.65rem);
  line-height: 0.96;
}

.lead {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  font-weight: 600;
}

.hero-mark {
  position: relative;
  min-height: 100%;
}

.hero-mark .plate,
.hero-mark .handle,
.hero-mark .keyway {
  position: absolute;
  display: block;
}

.hero-mark .plate {
  right: clamp(1.6rem, 5vw, 4rem);
  top: 50%;
  width: min(42vw, 315px);
  height: min(52vw, 335px);
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.06)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: auto, 24px 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 36px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(-50%) rotate(6deg);
}

.hero-mark .handle {
  right: clamp(0.2rem, 4vw, 2.8rem);
  top: calc(50% - 16px);
  width: min(33vw, 245px);
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bb-orange) 0%, #ffb03f 50%, var(--bb-orange-dark) 100%);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.28);
  transform: rotate(-5deg);
}

.hero-mark .handle::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 50%;
  width: 66px;
  height: 66px;
  border: 16px solid var(--bb-orange);
  border-radius: 50%;
  background: var(--bb-blue-deep);
  transform: translateY(-50%);
}

.hero-mark .keyway {
  right: clamp(8rem, 17vw, 13.4rem);
  top: calc(50% + 76px);
  width: 34px;
  height: 86px;
  border-radius: 999px 999px 10px 10px;
  background: rgba(6, 26, 47, 0.84);
  transform: rotate(6deg);
}

.product-section,
.contact-panel {
  margin-top: 1.15rem;
  border: 1px solid rgba(13, 77, 139, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 44px rgba(6, 26, 47, 0.10);
}

.product-section {
  padding: clamp(1.5rem, 3vw, 2.6rem);
}

.product-section h2,
.contact-panel h2,
.page-shell > h1 {
  margin: 0;
  color: var(--bb-blue-dark);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.page-shell > h2 {
  margin-top: 2rem;
  color: var(--bb-blue-dark);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.page-shell > p,
.page-shell li {
  color: var(--bb-ink-soft);
  font-size: 1.02rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.45rem;
}

.product-item {
  min-height: 178px;
  padding: 1.25rem;
  border: 1px solid rgba(13, 77, 139, 0.13);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff, #f6f9fb);
  box-shadow: 0 12px 30px rgba(6, 26, 47, 0.08);
}

.product-item::before {
  content: "";
  display: block;
  width: 46px;
  height: 6px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bb-orange), var(--bb-blue));
}

.product-item h3 {
  margin: 0 0 0.7rem;
  color: var(--bb-blue-dark);
  font-size: 1.2rem;
  line-height: 1.18;
}

.product-item p {
  margin: 0;
  color: var(--bb-ink-soft);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background:
    linear-gradient(135deg, rgba(7, 52, 95, 0.97), rgba(13, 77, 139, 0.94));
  color: var(--bb-white);
}

.contact-panel h2,
.contact-panel p {
  color: var(--bb-white);
}

.contact-panel p {
  margin: 0.75rem 0 0;
}

.contact-actions {
  display: grid;
  gap: 0.65rem;
  min-width: min(100%, 300px);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 10px;
  color: var(--bb-white);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus {
  color: var(--bb-blue-deep);
  background: var(--bb-white);
}

.contact-link.primary {
  border-color: var(--bb-orange);
  color: var(--bb-blue-deep);
  background: var(--bb-orange);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.contact-link.primary:hover,
.contact-link.primary:focus {
  background: #ffb03f;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  color: var(--bb-steel);
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero {
    min-height: 0;
  }

  .hero-mark {
    min-height: 230px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .site-header,
  .site-footer,
  .site-main {
    width: min(100% - 1rem, 1160px);
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .hero-mark {
    min-height: 190px;
  }

  .hero-mark .plate {
    right: 1.2rem;
    width: 220px;
    height: 235px;
  }

  .hero-mark .handle {
    right: 0.8rem;
    width: 190px;
  }
}
