
.hb-commute-final {
  --hb-ink: #111111;
  --hb-copy: #333333;
  --hb-muted: #6b6b6b;
  --hb-line: #dddddd;
  --hb-soft: #f5f5f5;
  --hb-soft-2: #fafafa;
  --hb-white: #ffffff;
  --hb-shadow: 0 16px 36px rgba(0, 0, 0, .11);

  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--hb-copy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

.hb-commute-final,
.hb-commute-final * {
  box-sizing: border-box;
}

.hb-commute-final header,
.hb-commute-final section,
.hb-commute-final nav,
.hb-commute-final div,
.hb-commute-final figure {
  max-width: 100%;
}

.hb-commute-final h1,
.hb-commute-final h2,
.hb-commute-final h3,
.hb-commute-final p,
.hb-commute-final ul,
.hb-commute-final ol,
.hb-commute-final figure {
  margin-top: 0;
}

.hb-commute-final h1 {
  width: 100%;
  margin: 0 0 25px;
  color: var(--hb-ink);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hb-commute-final h2 {
  width: 100%;
  margin: 68px 0 23px;
  padding-top: 20px;
  border-top: 2px solid var(--hb-ink);
  color: var(--hb-ink);
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  scroll-margin-top: 30px;
}

.hb-commute-final h3 {
  margin: 35px 0 14px;
  color: var(--hb-ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.012em;
}

.hb-commute-final p {
  margin-bottom: 19px;
}

.hb-commute-final a {
  color: var(--hb-ink);
  font-weight: 700;
  text-decoration-color: #888888;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hb-commute-final a:hover {
  text-decoration-color: var(--hb-ink);
}

.hb-commute-final a:focus-visible {
  outline: 2px solid var(--hb-ink);
  outline-offset: 3px;
}

/* =========================
   HERO
========================= */

.hb-commute-hero {
  width: 100%;
  padding: 32px 0 14px;
}

.hb-lede {
  width: 100%;
  margin-bottom: 29px;
  color: #252525;
  font-size: 19px;
  line-height: 1.7;
}

.hb-answer {
  width: 100%;
  margin: 30px 0 34px;
  padding: 23px 26px;
  border-left: 4px solid var(--hb-ink);
  background: var(--hb-soft);
}

.hb-answer strong {
  display: block;
  margin-bottom: 7px;
  color: var(--hb-ink);
  font-size: 15px;
}

.hb-answer p {
  margin: 0;
}

/* =========================
   TABLE OF CONTENTS
========================= */

.hb-toc {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 34px 0 46px;
  padding: 10px;
  border: 1px solid var(--hb-line);
  background: var(--hb-soft);
}

.hb-toc a {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 8px;
  border: 1px solid #c8c8c8;
  background: var(--hb-white);
  color: var(--hb-ink);
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.hb-toc a:hover {
  border-color: var(--hb-ink);
  background: var(--hb-ink);
  color: var(--hb-white);
}

/* =========================
   COMMUTE ROUTE
========================= */

.hb-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 33px 0 38px;
  border-top: 2px solid var(--hb-ink);
  border-bottom: 1px solid var(--hb-line);
}

.hb-route-item {
  min-width: 0;
  padding: 23px 24px;
}

.hb-route-item:first-child {
  padding-left: 0;
}

.hb-route-item:last-child {
  padding-right: 0;
}

.hb-route-item + .hb-route-item {
  border-left: 1px solid var(--hb-line);
}

.hb-route-num {
  display: block;
  margin-bottom: 7px;
  color: var(--hb-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hb-route-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--hb-ink);
  font-size: 17px;
}

.hb-route-item span:last-child {
  display: block;
  color: var(--hb-muted);
  font-size: 15px;
  line-height: 1.58;
}

/* =========================
   NOTES / CALLOUTS
========================= */

.hb-note {
  width: 100%;
  margin: 30px 0 35px;
  padding: 22px 24px;
  border: 1px solid var(--hb-line);
  background: var(--hb-soft-2);
}

.hb-note p:last-child {
  margin-bottom: 0;
}

.hb-note strong {
  color: var(--hb-ink);
}

.hb-fit-for {
  width: 100%;
  margin: 31px 0 37px;
  padding: 25px 27px;
  border-top: 2px solid var(--hb-ink);
  border-bottom: 1px solid var(--hb-line);
  background: var(--hb-soft-2);
}

.hb-fit-for strong {
  display: block;
  margin-bottom: 12px;
  color: var(--hb-ink);
  font-size: 18px;
}

.hb-fit-for ul {
  margin: 0;
  padding-left: 22px;
}

.hb-fit-for li {
  margin-bottom: 8px;
}

.hb-fit-for li:last-child {
  margin-bottom: 0;
}

/* =========================
   MOVEMENT STEPS
========================= */

.hb-movement-list {
  margin: 28px 0 38px;
  padding: 0;
  list-style: none;
  counter-reset: movement;
  border-top: 1px solid var(--hb-line);
}

.hb-movement-list li {
  position: relative;
  margin: 0;
  padding: 18px 0 18px 54px;
  border-bottom: 1px solid var(--hb-line);
  counter-increment: movement;
}

.hb-movement-list li:before {
  content: counter(movement);
  position: absolute;
  top: 18px;
  left: 0;
  width: 31px;
  height: 31px;
  border: 1px solid var(--hb-ink);
  border-radius: 50%;
  color: var(--hb-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 29px;
  text-align: center;
}

/* =========================
   PRODUCT FEATURE
========================= */

.hb-product-feature {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  width: 100%;
  margin: 42px 0 49px;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  background: var(--hb-white);
  align-items: stretch;
}

/*
  Left product-media column stretches to exactly the
  same height as the right text column.
*/
.hb-product-media {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  padding: 16px;
  border-right: 1px solid var(--hb-line);
  background: #f4f4f4;
}

/*
  Main image expands to use remaining vertical space.
  This removes the large blank block under the gallery.
*/
.hb-product-image {
  position: relative;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid #dedede;
  background: #eeeeee;
  text-decoration: none !important;
  transform: translate3d(0, 0, 0);
  transition:
    transform .28s cubic-bezier(.2, .7, .2, 1),
    box-shadow .28s ease,
    border-color .28s ease;
  will-change: transform;
}

.hb-product-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.hb-product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.hb-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #dedede;
  background: #eeeeee;
  text-decoration: none !important;
  transform: translate3d(0, 0, 0);
  transition:
    transform .28s cubic-bezier(.2, .7, .2, 1),
    box-shadow .28s ease,
    border-color .28s ease;
  will-change: transform;
}

.hb-gallery-item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

/* Magnetic floating image effect */

.hb-product-image:hover,
.hb-gallery-item:hover {
  z-index: 5;
  border-color: #b7b7b7;
  box-shadow: var(--hb-shadow);
  transform: translate3d(0, -7px, 0);
}

.hb-product-image:hover img,
.hb-gallery-item:hover img {
  transform: scale(1.025);
}

.hb-product-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 46px);
}

.hb-product-label {
  display: block;
  margin-bottom: 9px;
  color: var(--hb-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hb-product-copy h3 {
  margin: 0 0 15px;
}

.hb-product-copy p {
  margin-bottom: 17px;
}

/*
  Product buttons always sit left/right as two equal columns.
*/
.hb-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 10px;
}

.hb-button {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 10px;
  border: 1px solid var(--hb-ink);
  background: var(--hb-ink);
  color: var(--hb-white) !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.hb-button:hover {
  background: var(--hb-white);
  color: var(--hb-ink) !important;
  transform: translateY(-2px);
}

.hb-button-secondary {
  background: var(--hb-white);
  color: var(--hb-ink) !important;
}

.hb-button-secondary:hover {
  background: var(--hb-ink);
  color: var(--hb-white) !important;
}

/* =========================
   POCKET CALLOUT
========================= */

.hb-pocket-story {
  width: 100%;
  margin: 30px 0 35px;
  padding: 25px 28px;
  border-left: 3px solid var(--hb-ink);
  background: var(--hb-soft-2);
}

.hb-pocket-story-label {
  display: block;
  margin-bottom: 10px;
  color: var(--hb-ink);
  font-size: 15px;
  font-weight: 800;
}

.hb-pocket-story p {
  margin-bottom: 0;
}

/* =========================
   INDOOR SECTION
========================= */

.hb-indoor {
  width: 100%;
  margin: 32px 0 37px;
  border-top: 2px solid var(--hb-ink);
}

.hb-indoor-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  padding: 21px 0;
  border-bottom: 1px solid var(--hb-line);
}

.hb-indoor-row strong {
  color: var(--hb-ink);
}

.hb-indoor-row p {
  margin: 0;
}

.hb-warning {
  width: 100%;
  margin: 30px 0 36px;
  padding: 20px 24px;
  border-left: 3px solid var(--hb-ink);
  background: var(--hb-soft-2);
}

.hb-warning strong {
  color: var(--hb-ink);
}

/* =========================
   COMPARISON
========================= */

.hb-compare {
  width: 100%;
  margin: 31px 0 38px;
  border-top: 2px solid var(--hb-ink);
}

.hb-compare-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 30px;
  padding: 23px 0;
  border-bottom: 1px solid var(--hb-line);
}

.hb-compare-row > strong {
  color: var(--hb-ink);
  font-size: 17px;
}

.hb-compare-copy p {
  margin-bottom: 8px;
}

.hb-compare-copy p:last-child {
  margin-bottom: 0;
}

.hb-sub {
  color: var(--hb-muted);
  font-size: 14px;
}

/* =========================
   BUY DECISION
========================= */

.hb-buy-decision {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin: 34px 0 40px;
  border: 1px solid var(--hb-line);
}

.hb-buy-side {
  min-width: 0;
  padding: 27px;
}

.hb-buy-side + .hb-buy-side {
  border-left: 1px solid var(--hb-line);
  background: var(--hb-soft);
}

.hb-buy-side strong {
  display: block;
  margin-bottom: 12px;
  color: var(--hb-ink);
  font-size: 18px;
}

.hb-buy-side ul {
  margin: 0;
  padding-left: 21px;
}

.hb-buy-side li {
  margin-bottom: 9px;
}

.hb-buy-side li:last-child {
  margin-bottom: 0;
}

/* =========================
   FINAL CTA
========================= */

.hb-final-cta {
  width: 100%;
  margin: 65px 0 20px;
  padding: clamp(31px, 5vw, 48px);
  border: 2px solid var(--hb-ink);
  background: var(--hb-soft);
}

.hb-final-label {
  display: block;
  margin-bottom: 11px;
  color: var(--hb-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hb-final-cta h3 {
  width: 100%;
  margin: 0 0 15px;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.27;
}

.hb-final-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  width: 100%;
  margin-top: 24px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 860px) {
  .hb-commute-final {
    padding: 0 20px;
  }

  .hb-toc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hb-product-feature {
    grid-template-columns: 1fr;
  }

  .hb-product-media {
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--hb-line);
  }

  .hb-product-image {
    flex: none;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hb-product-image img {
    position: absolute;
    object-fit: contain;
    background: #eeeeee;
  }

  .hb-product-copy {
    padding: 30px 26px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 680px) {
  .hb-commute-final {
    padding: 0 16px;
    font-size: 16px;
    line-height: 1.68;
  }

  .hb-commute-hero {
    padding-top: 22px;
  }

  .hb-commute-final h1 {
    margin-bottom: 21px;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.08;
  }

  .hb-commute-final h2 {
    margin-top: 54px;
    padding-top: 17px;
    font-size: 28px;
  }

  .hb-commute-final h3 {
    font-size: 21px;
  }

  .hb-lede {
    font-size: 18px;
  }

  .hb-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 38px;
  }

  .hb-route {
    grid-template-columns: 1fr;
  }

  .hb-route-item,
  .hb-route-item:first-child,
  .hb-route-item:last-child {
    padding: 20px 0;
  }

  .hb-route-item + .hb-route-item {
    border-top: 1px solid var(--hb-line);
    border-left: 0;
  }

  .hb-product-media {
    padding: 12px;
  }

  .hb-product-image {
    aspect-ratio: 1 / 1;
  }

  .hb-product-copy {
    padding: 28px 22px 30px;
  }

  .hb-indoor-row,
  .hb-compare-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hb-buy-decision {
    grid-template-columns: 1fr;
  }

  .hb-buy-side + .hb-buy-side {
    border-top: 1px solid var(--hb-line);
    border-left: 0;
  }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 520px) {
  .hb-answer,
  .hb-note,
  .hb-fit-for,
  .hb-pocket-story {
    padding: 20px;
  }

  .hb-toc {
    grid-template-columns: 1fr;
  }

  .hb-product-gallery {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 2px 2px 11px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .hb-gallery-item {
    flex: 0 0 62%;
    scroll-snap-align: start;
  }

  .hb-product-copy {
    padding: 26px 20px 28px;
  }

  .hb-buttons,
  .hb-final-buttons {
    gap: 8px;
  }

  .hb-button {
    min-height: 44px;
    padding: 10px 7px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .hb-buttons,
  .hb-final-buttons {
    grid-template-columns: 1fr;
  }

  .hb-button {
    font-size: 12px;
  }
}

/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
  .hb-product-image,
  .hb-product-image img,
  .hb-gallery-item,
  .hb-gallery-item img,
  .hb-button {
    transition: none;
  }

  .hb-product-image:hover,
  .hb-gallery-item:hover,
  .hb-button:hover {
    transform: none;
  }
}
