:root {
  --bmc-ink: #161713;
  --bmc-paper: #f3efe5;
  --bmc-card: #fffdf7;
  --bmc-orange: #e65d32;
  --bmc-orange-soft: #f7c2aa;
  --bmc-green: #2f7254;
  --bmc-blue: #2c568c;
  --bmc-rule: rgba(22, 23, 19, 0.16);
}

.bmc-page {
  min-height: 100vh;
  color: var(--bmc-ink);
  background:
    radial-gradient(circle at 78% 4%, rgba(230, 93, 50, 0.12), transparent 27rem),
    linear-gradient(rgba(22, 23, 19, 0.032) 1px, transparent 1px),
    var(--bmc-paper);
  background-size: auto, 100% 28px, auto;
  font-family: var(--bmc-body), sans-serif;
}

.bmc-page main {
  overflow: hidden;
}

.bmc-hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 610px;
  margin: 0 auto;
  padding: 84px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: 64px;
  align-items: center;
}

.bmc-hero__eyebrow,
.bmc-kicker {
  display: inline-block;
  color: var(--bmc-orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bmc-hero h1,
.bmc-workbench h2,
.bmc-results h2,
.bmc-method h2 {
  font-family: var(--bmc-display), sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}

.bmc-hero h1 {
  margin: 18px 0 24px;
  max-width: 680px;
  font-size: clamp(4.6rem, 8.2vw, 7.8rem);
  line-height: 0.79;
}

.bmc-hero h1 span {
  display: block;
  color: var(--bmc-orange);
  font-style: italic;
}

.bmc-hero__copy > p {
  max-width: 620px;
  margin: 0;
  color: rgba(22, 23, 19, 0.72);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.bmc-hero__proof {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bmc-hero__proof span {
  padding: 10px 13px;
  border: 1px solid var(--bmc-rule);
  background: rgba(255, 253, 247, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bmc-hero__proof strong {
  color: var(--bmc-orange);
  font-size: 1rem;
}

.bmc-hero__map {
  position: relative;
  min-height: 455px;
  overflow: hidden;
  border: 1px solid rgba(22, 23, 19, 0.3);
  background: #203629;
  box-shadow: 16px 16px 0 var(--bmc-orange-soft);
}

.bmc-map__grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px);
  background-size: 28px 28px;
}

.bmc-map__figure {
  position: absolute;
  left: 50%;
  top: 44px;
  width: 210px;
  height: 364px;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 25px rgba(0,0,0,.2));
}

.bmc-map__figure span { position: absolute; display: block; background: #f0d7bd; }
.bmc-map__figure .head { left: 78px; top: 0; width: 54px; height: 66px; border-radius: 48% 48% 43% 43%; }
.bmc-map__figure .torso { left: 48px; top: 59px; width: 114px; height: 180px; clip-path: polygon(15% 0,85% 0,100% 22%,72% 100%,28% 100%,0 22%); }
.bmc-map__figure .arm { top: 72px; width: 34px; height: 190px; border-radius: 20px; transform-origin: top; }
.bmc-map__figure .arm.left { left: 22px; transform: rotate(5deg); }
.bmc-map__figure .arm.right { right: 22px; transform: rotate(-5deg); }
.bmc-map__figure .leg { top: 224px; width: 49px; height: 140px; border-radius: 0 0 20px 20px; }
.bmc-map__figure .leg.left { left: 52px; transform: rotate(2deg); }
.bmc-map__figure .leg.right { right: 52px; transform: rotate(-2deg); }

.bmc-map__line {
  position: absolute;
  left: 28px;
  right: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--bmc-display), sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bmc-map__line i { flex: 1; height: 1px; background: rgba(255,255,255,.68); }
.bmc-map__line.is-shoulder { top: 106px; }
.bmc-map__line.is-chest { top: 158px; }
.bmc-map__line.is-waist { top: 230px; }
.bmc-map__line.is-thigh { top: 316px; }
.bmc-map__stamp { position: absolute; left: 18px; bottom: 14px; color: rgba(255,255,255,.55); font: 700 .65rem/1 var(--bmc-body),sans-serif; letter-spacing: .16em; }

.bmc-workbench,
.bmc-results,
.bmc-method {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.bmc-workbench {
  position: relative;
  z-index: 3;
  padding: 40px;
  border: 1px solid rgba(22, 23, 19, 0.28);
  background: var(--bmc-card);
  box-shadow: 0 24px 80px rgba(54, 43, 25, 0.13);
}

.bmc-workbench::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 100%;
  background: var(--bmc-orange);
}

.bmc-workbench__head,
.bmc-targets__intro,
.bmc-preview__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.bmc-workbench h2,
.bmc-targets h2,
.bmc-preview h2,
.bmc-method h2 {
  margin: 5px 0 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.94;
}

.bmc-toggles { display: flex; gap: 10px; flex-wrap: wrap; }
.bmc-toggle { display: flex; padding: 3px; border: 1px solid var(--bmc-rule); background: #eeeadf; }
.bmc-toggle button { min-width: 58px; min-height: 40px; padding: 8px 12px; border: 0; color: rgba(22,23,19,.58); background: transparent; font: 800 .72rem/1 var(--bmc-body), sans-serif; text-transform: uppercase; cursor: pointer; }
.bmc-toggle button.is-active { color: #fff; background: var(--bmc-ink); }

.bmc-input-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--bmc-rule);
  border-left: 1px solid var(--bmc-rule);
}

.bmc-field {
  position: relative;
  min-height: 164px;
  padding: 22px 20px 18px;
  border-right: 1px solid var(--bmc-rule);
  border-bottom: 1px solid var(--bmc-rule);
}

.bmc-field__number { position: absolute; right: 13px; top: 10px; color: rgba(22,23,19,.18); font: 800 1.35rem/1 var(--bmc-display),sans-serif; }
.bmc-field__label { display: block; font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.bmc-field__input-wrap { margin-top: 13px; display: flex; align-items: baseline; gap: 5px; }
.bmc-field__input-wrap input { width: 100%; min-width: 0; padding: 0; border: 0; border-bottom: 2px solid rgba(22,23,19,.22); outline: 0; background: transparent; color: var(--bmc-ink); font: 700 2.25rem/1.2 var(--bmc-display),sans-serif; }
.bmc-field__input-wrap input:focus { border-color: var(--bmc-orange); }
.bmc-field__input-wrap input[aria-invalid="true"] { border-color: #b43227; }
.bmc-field__input-wrap > span { color: rgba(22,23,19,.45); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.bmc-field__hint { display: block; margin-top: 9px; color: rgba(22,23,19,.53); font-size: .7rem; line-height: 1.4; }
.bmc-field__hint.is-error { color: #a52e25; font-weight: 700; }

.bmc-form-foot { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.bmc-form-foot p { max-width: 530px; margin: 0; color: rgba(22,23,19,.58); font-size: .8rem; line-height: 1.6; }
.bmc-form-foot button { min-height: 54px; padding: 0 25px; border: 0; color: #fff; background: var(--bmc-orange); box-shadow: 6px 6px 0 var(--bmc-ink); font: 800 .82rem/1 var(--bmc-body),sans-serif; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.bmc-form-foot button:hover { transform: translate(2px,2px); box-shadow: 4px 4px 0 var(--bmc-ink); }

.bmc-results { padding-top: 92px; scroll-margin-top: 70px; }
.bmc-score-card { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; padding: 34px; color: #fff; background: var(--bmc-ink); }
.bmc-score-card__number { min-width: 180px; padding-right: 28px; border-right: 1px solid rgba(255,255,255,.22); font-family: var(--bmc-display),sans-serif; }
.bmc-score-card__number span { font-size: 6.4rem; font-weight: 800; line-height: .8; }
.bmc-score-card__number small { color: var(--bmc-orange-soft); font-size: 1.2rem; }
.bmc-score-card h2 { margin: 4px 0 6px; font-size: clamp(2.5rem,6vw,4.8rem); line-height: .9; }
.bmc-score-card p { margin: 0; color: rgba(255,255,255,.68); font-size: .9rem; }

.bmc-ratio-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-left: 1px solid var(--bmc-rule); }
.bmc-ratio { min-height: 214px; padding: 22px 18px; border-right: 1px solid var(--bmc-rule); border-bottom: 1px solid var(--bmc-rule); background: rgba(255,253,247,.72); }
.bmc-ratio__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: rgba(22,23,19,.5); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.bmc-ratio__top span:last-child { padding: 4px 6px; border: 1px solid currentColor; }
.bmc-ratio.is-in_range .bmc-ratio__top span:last-child { color: var(--bmc-green); }
.bmc-ratio.is-below .bmc-ratio__top span:last-child { color: #9b5b28; }
.bmc-ratio.is-above .bmc-ratio__top span:last-child { color: var(--bmc-blue); }
.bmc-ratio > strong { display: block; margin-top: 25px; font: 800 3.35rem/.8 var(--bmc-display),sans-serif; }
.bmc-ratio h3 { margin: 18px 0 5px; font-size: .8rem; }
.bmc-ratio p { margin: 0; color: rgba(22,23,19,.48); font-size: .66rem; }

.bmc-targets { margin-top: 76px; padding: 42px; border: 1px solid rgba(22,23,19,.28); background: #dbe4d8; }
.bmc-targets__intro p { max-width: 620px; margin: 14px 0 0; color: rgba(22,23,19,.65); font-size: .86rem; line-height: 1.65; }
.bmc-targets__intro > button { padding: 10px 12px; border: 1px solid var(--bmc-ink); background: transparent; font: 800 .68rem/1 var(--bmc-body),sans-serif; text-transform: uppercase; cursor: pointer; }
.bmc-targets__body { margin-top: 36px; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(260px,.5fr); gap: 34px; }
.bmc-target-list { background: rgba(255,253,247,.66); border: 1px solid rgba(22,23,19,.18); }
.bmc-slider { display: block; padding: 20px; border-bottom: 1px solid rgba(22,23,19,.14); }
.bmc-slider:last-child { border-bottom: 0; }
.bmc-slider__head { display: flex; justify-content: space-between; gap: 20px; }
.bmc-slider__head > span { display: flex; flex-direction: column; }
.bmc-slider__head > span:last-child { text-align: right; font: 800 1.25rem/1 var(--bmc-display),sans-serif; }
.bmc-slider__head small { margin-top: 4px; color: rgba(22,23,19,.46); font: 600 .66rem/1.3 var(--bmc-body),sans-serif; }
.bmc-slider__head .is-positive { color: var(--bmc-green); }
.bmc-slider__head .is-negative { color: var(--bmc-orange); }
.bmc-slider input[type="range"] { width: 100%; height: 22px; margin-top: 14px; accent-color: var(--bmc-orange); cursor: ew-resize; }
.bmc-target-score { padding: 28px; color: #fff; background: #203629; align-self: start; }
.bmc-target-score > strong { display: flex; gap: 12px; align-items: center; margin-top: 12px; font: 800 4.5rem/.9 var(--bmc-display),sans-serif; }
.bmc-target-score > strong span { color: var(--bmc-orange-soft); font-size: 1.7rem; }
.bmc-target-score > p { color: rgba(255,255,255,.64); font-size: .76rem; }
.bmc-adjustment-list { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.bmc-adjustment-list span { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.7); font-size: .72rem; text-transform: capitalize; }
.bmc-adjustment-list b { color: #fff; }

.bmc-results > .tcc-card { margin-top: 38px; }

.bmc-preview { margin-top: 88px; padding: 46px; color: #fff; background: #25241f; }
.bmc-preview__head { margin-bottom: 30px; align-items: flex-end; }
.bmc-preview__head h2 { max-width: 640px; }
.bmc-preview__head > p { max-width: 420px; margin: 0; color: rgba(255,255,255,.57); font-size: .78rem; line-height: 1.65; }
.bmc-preview .btf-card { max-width: none; margin: 0; color: var(--bmc-ink); }
.bmc-preview .tcc-card { color: var(--bmc-ink); }
.btf-regional-summary { margin: 18px 0; padding: 18px; border: 1px solid rgba(28,29,25,.14); background: #edf2e9; }
.btf-regional-summary > div:first-child { display: flex; justify-content: space-between; gap: 16px; }
.btf-regional-summary > div:first-child span { color: rgba(28,29,25,.56); font-size: .72rem; }
.btf-regional-summary__chips { margin-top: 12px; display: flex; gap: 7px; flex-wrap: wrap; }
.btf-regional-summary__chips span { padding: 6px 9px; border: 1px solid rgba(28,29,25,.18); background: #fff; font-size: .67rem; font-weight: 800; text-transform: capitalize; }

.bmc-method { padding: 110px 0 130px; }
.bmc-method__grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--bmc-rule); border-left: 1px solid var(--bmc-rule); }
.bmc-method article { min-height: 250px; padding: 28px; border-right: 1px solid var(--bmc-rule); border-bottom: 1px solid var(--bmc-rule); background: rgba(255,253,247,.5); }
.bmc-method article > span { color: var(--bmc-orange); font: 800 1.5rem/1 var(--bmc-display),sans-serif; }
.bmc-method h3 { margin: 32px 0 10px; font: 800 1.55rem/1 var(--bmc-display),sans-serif; text-transform: uppercase; }
.bmc-method p { margin: 0; color: rgba(22,23,19,.63); font-size: .82rem; line-height: 1.7; }

@media (max-width: 900px) {
  .bmc-hero { grid-template-columns: 1fr; padding-top: 56px; }
  .bmc-hero__map { width: min(520px,100%); }
  .bmc-input-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bmc-ratio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bmc-ratio:last-child { grid-column: span 2; }
  .bmc-targets__body { grid-template-columns: 1fr; }
  .bmc-target-score { width: 100%; }
  .bmc-preview__head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .bmc-hero,
  .bmc-workbench,
  .bmc-results,
  .bmc-method { width: min(100% - 24px,1180px); }
  .bmc-hero { min-height: 0; gap: 42px; padding: 46px 0 58px; }
  .bmc-hero h1 { font-size: clamp(4rem,22vw,6rem); }
  .bmc-hero__map { min-height: 390px; box-shadow: 8px 8px 0 var(--bmc-orange-soft); }
  .bmc-map__figure { top: 27px; transform: translateX(-50%) scale(.87); transform-origin: top; }
  .bmc-map__line.is-shoulder { top: 78px; }
  .bmc-map__line.is-chest { top: 124px; }
  .bmc-map__line.is-waist { top: 187px; }
  .bmc-map__line.is-thigh { top: 263px; }
  .bmc-workbench { padding: 27px 18px; }
  .bmc-workbench__head, .bmc-targets__intro { flex-direction: column; }
  .bmc-toggles { width: 100%; }
  .bmc-toggle { flex: 1; }
  .bmc-toggle button { flex: 1; }
  .bmc-input-grid { grid-template-columns: 1fr 1fr; }
  .bmc-field { min-height: 150px; padding: 18px 13px; }
  .bmc-field__input-wrap input { font-size: 1.9rem; }
  .bmc-form-foot { align-items: stretch; flex-direction: column; }
  .bmc-form-foot button { width: 100%; }
  .bmc-results { padding-top: 62px; }
  .bmc-score-card { grid-template-columns: 1fr; padding: 28px 22px; }
  .bmc-score-card__number { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); padding: 0 0 22px; }
  .bmc-score-card__number span { font-size: 5rem; }
  .bmc-ratio > strong { font-size: 2.7rem; }
  .bmc-targets, .bmc-preview { margin-left: -1px; margin-right: -1px; padding: 30px 18px; }
  .bmc-targets { margin-top: 52px; }
  .bmc-slider { padding: 17px 14px; }
  .bmc-preview { margin-top: 58px; }
  .btf-regional-summary > div:first-child { flex-direction: column; }
  .bmc-method { padding: 78px 0 95px; }
  .bmc-method__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .bmc-page *, .bmc-page *::before, .bmc-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
