:root {
  --sbp-pine: #17261e;
  --sbp-pine-soft: #294137;
  --sbp-cream: #f5f1df;
  --sbp-sand: #d7c89c;
  --sbp-gold: #b88a45;
  --sbp-ink: #102b31;
  --sbp-muted: #63706b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sbp-cream);
  color: var(--sbp-ink);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
/* The shared homepage header is fixed, so its compatibility wrapper must not
   reserve a full viewport above this page's hero. */
body > .legacy-template-page.sbp-nav-host {
  height: 0 !important;
  min-height: 0 !important;
  position: relative;
  z-index: 100;
}
body > .legacy-template-page.sbp-home-footer-host {
  height: auto !important;
  min-height: 0 !important;
  position: relative;
  width: 100%;
  z-index: 1;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.sbp-shell { margin-inline: auto; max-width: 1440px; padding-inline: clamp(1.25rem, 4vw, 4.5rem); }
.sbp-eyebrow {
  color: var(--sbp-gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}
.sbp-display, .sbp-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
  margin: 0;
}
.sbp-title { font-size: clamp(2.6rem, 5.5vw, 5.5rem); }
.sbp-copy { font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.7; }

.sbp-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: .83rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: .08em;
  line-height: 1.15;
  min-height: 48px;
  padding: .75rem 1.5rem;
  text-transform: uppercase;
  text-align: center;
}
.sbp-btn { background: var(--sbp-sand); color: var(--sbp-pine); gap: 1.1rem; }
.sbp-btn::after { content: "→"; font-size: 1.15rem; }

.sbp-hero {
  align-items: flex-end;
  color: white;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  padding-block: 10rem 5rem;
  position: relative;
}
.sbp-hero > img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.sbp-hero::after {
  background: linear-gradient(90deg, rgba(9, 20, 15, .88) 0%, rgba(9, 20, 15, .66) 42%, rgba(9, 20, 15, .08) 78%);
  content: "";
  inset: 0;
  position: absolute;
}
.sbp-hero-content { max-width: 760px; position: relative; z-index: 1; }
.sbp-hero h1 { color: #fff7dc; font-size: clamp(3.4rem, 8vw, 8.2rem); margin-bottom: 20px; }
.sbp-hero .sbp-copy { color: #fff; max-width: 600px; text-shadow: 0 2px 6px rgba(0,0,0,.55); }
.sbp-hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.sbp-text-link { border-bottom: 1px solid var(--sbp-sand); color: var(--sbp-sand); font-weight: 600; padding: .4rem .1rem; }

.sbp-section { padding-block: clamp(4.5rem, 9vw, 9rem); }
.sbp-intro-grid { align-items: center; display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: 1fr 1fr; }
.sbp-intro-image { border-radius: 2rem 2rem 10rem 2rem; min-height: 560px; object-fit: cover; width: 100%; }
.sbp-note { border-left: 3px solid var(--sbp-gold); color: var(--sbp-muted); margin-top: 2rem; padding-left: 1.25rem; }

.sbp-mechanism { background: var(--sbp-pine); color: white; }
.sbp-mechanism .sbp-title { color: var(--sbp-sand); max-width: 820px; }
.sbp-mechanism-grid { align-items: center; display: grid; gap: clamp(3rem, 7vw, 7rem); grid-template-columns: 1fr 1fr; margin-top: 4rem; }
.sbp-steps { counter-reset: item; display: grid; gap: 1rem; }
.sbp-step { border-top: 1px solid rgba(215, 200, 156, .3); padding: 1.4rem 0 1.4rem 4rem; position: relative; }
.sbp-step::before { color: var(--sbp-sand); content: "0" counter(item); counter-increment: item; font-family: Georgia, serif; font-size: 1.8rem; left: 0; position: absolute; top: 1rem; }
.sbp-step h3 { font-size: 1.15rem; margin: 0 0 .4rem; }
.sbp-step p { color: #d5ddd8; margin: 0; }

.sbp-specs { background: #dfe8e7; }
.sbp-spec-grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); grid-template-columns: .8fr 1.2fr; }
@media (max-width: 900px) {
  .sbp-intro-grid, .sbp-mechanism-grid, .sbp-spec-grid { grid-template-columns: 1fr; }
  .sbp-intro-image { min-height: 430px; }
  .sbp-mechanism .sbp-title { max-width: 13ch; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .sbp-shell { padding-inline: 1.25rem; }
  .sbp-hero { min-height: 820px; padding-block: 8rem 3rem; }
  .sbp-hero > img { object-position: 66% center; }
  .sbp-hero::after { background: linear-gradient(to bottom, rgba(9,20,15,.35), rgba(9,20,15,.72) 48%, rgba(9,20,15,.94)); }
  .sbp-hero h1 { font-size: clamp(3rem, 16vw, 4.75rem); max-width: 9ch; }
  .sbp-hero .sbp-copy { font-size: 1rem; }
  .sbp-hero-actions { align-items: stretch; display: grid; width: 100%; }
  .sbp-hero-actions .sbp-btn { width: 100%; }
  .sbp-hero-actions .sbp-text-link { justify-self: center; text-align: center; }
  .sbp-intro-image { border-radius: 1.5rem 1.5rem 6rem 1.5rem; min-height: 320px; }
  .sbp-title { font-size: clamp(2.3rem, 12vw, 3.25rem); }
}

@media (max-width: 380px) {
  .sbp-hero h1 { font-size: clamp(2.8rem, 15vw, 3.5rem); }
}

/* Preserve complete source photographs and the labelled bearing diagram. */
.sbp-source-page .sbp-source-image {
  border-radius: 1rem;
  height: auto;
  min-height: 0;
  object-fit: contain;
  width: 100%;
}
.sbp-source-page .sbp-section .sbp-text-link {
  color: var(--sbp-pine);
  border-bottom-color: var(--sbp-gold);
}
.sbp-source-page .sbp-btn:hover {
  background: var(--sbp-gold);
  color: var(--sbp-pine);
}
.sbp-source-page :is(.sbp-btn, .sbp-text-link):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.sbp-source-page .sbp-section { scroll-margin-top: 7rem; }
