.jb { background: var(--white); color: var(--charcoal); }

.jb__top { --u: calc(100vw / 1920); position: relative; color: var(--charcoal); }
.jb__photo { position: relative; overflow: hidden; margin: 0; background: #111; }
.jb__photo picture, .jb__photo img { display: block; width: 100%; height: 100%; }
.jb__photo img { object-fit: cover; object-position: 64% 50%; }
@keyframes jb-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.jb__photo img { animation: jb-settle 2.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.jb__photo::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.12) 52%, rgba(0, 0, 0, 0.28) 100%); }
.jb__head { position: relative; z-index: 2; display: flex; flex-direction: column; box-sizing: border-box; background: var(--white); color: var(--charcoal); }
.jb__head > * { flex: none; }
.jb__label { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; font-size: 13px; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; }
.jb__label a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .jb__label a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.jb__label i { width: 44px; height: 1px; background: currentColor; }
.jb__title { margin: 0; font-weight: 700; line-height: 1.0728; letter-spacing: 0.04em; }
.jb__title b { font-weight: 900; }
.jb__sum { margin: 0; font-weight: 800; letter-spacing: 0.05em; line-height: 1.2; }
.jb__down { position: absolute; z-index: 1; right: var(--gutter); display: flex; align-items: center; gap: 14px;
  color: var(--white); text-decoration: none; font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }

@media (min-aspect-ratio: 6/5) and (min-height: 500.02px) {
  .jb__top { padding-bottom: calc(var(--u) * 40); }
  .jb__photo { height: calc(100vh - var(--u) * 40); height: calc(100svh - var(--u) * 40); min-height: 420px; }
  .jb__head { position: absolute; left: calc(var(--u) * 84); bottom: 0; width: calc(var(--jb-edge, var(--u) * 1340) - var(--u) * 84); max-height: max(270px, calc(var(--u) * 470)); padding: calc(var(--u) * 40.6) calc(var(--u) * 50) 0; }
  .jb__label { gap: calc(var(--u) * 10); font-size: max(11px, calc(var(--u) * 17)); }
  .jb__label i { width: calc(var(--u) * 44); }
  .jb__title { margin-top: calc(var(--u) * 25.6); margin-bottom: calc(var(--u) * 33); max-width: calc(var(--u) * 1060); font-size: max(28px, calc(var(--u) * 80)); }
  .jb__sum { max-width: calc(var(--u) * 1060); font-size: max(18px, calc(var(--u) * 40)); }
  .jb__photo--gears img, .jb__photo--pools img { object-position: 50% 55%; }
  .jb__down { bottom: calc(var(--u) * 140); }
}
@media (max-aspect-ratio: 6/5), (max-height: 500px) {

  .jb__photo { height: 53vh; height: 53svh; min-height: 300px; }
  .jb__photo img { object-position: 64% 38%; }
  .jb__head { margin: -40px 10px 0; max-height: min(86vw, 380px); padding: 21px 36px 2px 23px; }
  .jb__label { gap: 12px; }
  .jb__label i { width: 28px; }
  .jb__title { margin-top: 24px; margin-bottom: 18px; font-size: clamp(30px, 9vw, 64px); line-height: 1.04; }
  .jb__sum { font-size: clamp(17px, 4.6vw, 30px); }
  .jb__down { position: static; justify-content: flex-end; margin: 28px var(--gutter) 0; color: var(--charcoal); }
}
.jb__down svg { width: 12px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; animation: jb-nudge 2.2s ease-in-out infinite; }
@keyframes jb-nudge { 0%, 100% { transform: translate3d(0, -3px, 0); } 50% { transform: translate3d(0, 5px, 0); } }
@keyframes jb-up { from { opacity: 0; transform: translate3d(0, 26px, 0); } }
.js .jb__label { animation: jb-up 0.9s var(--ease-out) 0.15s backwards; }
.js .jb__title { animation: jb-up 1.1s var(--ease-out) 0.28s backwards; }
.js .jb__sum { animation: jb-up 1.1s var(--ease-out) 0.42s backwards; }
.js .jb__down { animation: jb-up 0.9s var(--ease-out) 0.6s backwards; }

.jb__body { display: grid; grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 110px);
  width: calc(100% - 2 * var(--gutter)); max-width: 1680px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) 0 clamp(80px, 12vh, 140px); }
.jb__nav { position: sticky; top: clamp(110px, 14vh, 150px); align-self: start; padding-left: 22px; font-family: var(--sans); }
.jb__now { display: none; }
.jb__nav-h { margin: 0 0 23px; font-weight: 700; font-size: 18px; line-height: 1; color: var(--charcoal); }
.jb__list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.jb__list a { display: grid; grid-template-columns: 30px 1fr; align-items: baseline; gap: 8px; padding: 9px 0; color: #9b9b9b; text-decoration: none;
  transition: color 0.45s ease; }
.jb__n { font-weight: 700; font-size: 17px; line-height: 22.95px; letter-spacing: 0.14em; }
.jb__t { font-weight: 400; font-size: 18px; line-height: 22.95px; letter-spacing: 0.02em; }
.jb__list a[aria-current="true"] { color: var(--charcoal); }
@media (hover: hover) and (pointer: fine) { .jb__list a:hover { color: var(--charcoal); } }
.jb__bar { position: absolute; left: 0; top: 39px; bottom: 0; width: 1px; background: rgba(0, 0, 0, 0.12); }
.jb__bar i { position: absolute; inset: 0; background: var(--charcoal); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }

.jb__parts { display: grid; gap: clamp(56px, 3.9063vw, 96px); }

.jb__sec { scroll-margin-top: 110px; font-family: var(--sans); font-weight: 400; font-size: clamp(18px, 1.3021vw, 33px); line-height: 1.36; letter-spacing: 0.022em; color: var(--charcoal); }
.jb__txt { max-width: 30.4em; }
.jb__txt p { margin: 0 0 1.36em; }
.jb__txt > p:last-child { margin-bottom: 0; }
.jb__num { margin: 0 0 16px !important; font-family: var(--font); font-weight: 700; font-size: 12px; line-height: 1; letter-spacing: 0.2em; color: var(--charcoal); }
.jb__num span { color: #a3a3a3; }
.jb__nb { white-space: nowrap; }
.jb__h { margin: 0 0 0.85em; font-family: var(--font); font-weight: 900; font-size: clamp(26px, 2.0833vw, 52px); line-height: 1.1; letter-spacing: 0.04em;
  width: min(20.3em, calc(100vw - 2 * var(--gutter))); color: var(--charcoal); }
.jb__pull { margin: 3.14em 0 0.32em; padding: 0 0 0 24px; border-left: 2px solid var(--charcoal); }
.jb__pull p { margin: -0.27em 0 -0.25em !important; font-family: var(--font); font-weight: 900; font-size: clamp(24px, 2.0833vw, 52px); line-height: 1.2; letter-spacing: 0.02em; color: var(--charcoal); }

.js .jb__txt > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 0.8s ease, transform 1s var(--ease-out); }
.js .jb__sec.is-in .jb__txt > * { opacity: 1; transform: none; }
.js .jb__sec.is-in .jb__txt > :nth-child(2) { transition-delay: 0.06s; }
.js .jb__sec.is-in .jb__txt > :nth-child(3) { transition-delay: 0.12s; }
.js .jb__sec.is-in .jb__txt > :nth-child(4) { transition-delay: 0.18s; }
.js .jb__sec.is-in .jb__txt > :nth-child(5) { transition-delay: 0.24s; }
.js .jb__sec.is-in .jb__txt > :nth-child(n+6) { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .jb__photo img, .jb__down svg, .js .jb__label, .js .jb__title, .js .jb__down { animation: none; }
  .js .jb__txt > * { opacity: 1; transform: none; clip-path: none; transition: none; }
}

@media (max-width: 1100px), (max-aspect-ratio: 6/5), (max-height: 500px) {
  .jb__body { grid-template-columns: 1fr; padding-top: 56px !important; }
  .jb__nav { margin-top: 0 !important; }
  .jb__nav { position: fixed; z-index: 90; left: 14px; right: 14px; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); top: auto; padding: 0;
    background: var(--white); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
    opacity: 0; transform: translate3d(0, 16px, 0); visibility: hidden; transition: opacity 0.4s ease, transform 0.5s var(--ease-out), visibility 0s linear 0.5s; }
  .jb__nav.is-shown { opacity: 1; transform: none; visibility: visible; transition: opacity 0.4s ease, transform 0.5s var(--ease-out), visibility 0s; }
  .jb__now { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 16px;
    border: 0; background: none; color: var(--charcoal); font: inherit; text-align: left; cursor: pointer; }
  .jb__now-n { font-weight: 700; font-size: 11px; letter-spacing: 0.14em; }
  .jb__now-t { overflow: hidden; font-weight: 700; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
  .jb__now svg { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.5; transform: rotate(180deg); transition: transform 0.4s var(--ease-out); }
  .jb__nav.is-open .jb__now svg { transform: none; }
  .jb__nav-h { display: none; }
  .jb__n { font-size: 11px; line-height: 1.6; }
  .jb__t { font-size: 15px; line-height: 1.3; }
  .jb__list { position: absolute; left: 0; right: 0; bottom: 100%; gap: 0; padding: 8px 16px; background: var(--white);
    box-shadow: 0 -12px 40px -16px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
    clip-path: inset(100% 0 0 0); transition: clip-path 0.45s cubic-bezier(0.65, 0, 0.35, 1);

    max-height: calc(100vh - 210px); max-height: calc(100dvh - 210px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto; overscroll-behavior: contain; }
  .jb__nav.is-open .jb__list { clip-path: inset(-40px -40px 0 -40px); }
  .jb__list a { padding: 12px 0; }
  .jb__bar { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 2px; background: rgba(0, 0, 0, 0.08); }
  .jb__bar i { transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
  .page-b.page-article .qz { display: none; }
}

.page-b.page-article .jl__title { color: var(--charcoal); }
@media (min-aspect-ratio: 6/5) and (min-height: 500.02px) {
  .page-b.page-article .jl { padding-top: calc(var(--u) * 69); }
  .page-b.page-article .jcar { padding-top: calc(var(--u) * 221); }
  .jb__body { padding-top: calc(100vw / 1920 * 96); }
  .jb__nav { margin-top: 8px; }
}
@media (max-aspect-ratio: 6/5), (max-height: 500px) {
  .page-b.page-article .jl { padding-top: 40px; }
  .page-b.page-article .jcar { padding-top: 80px; }
}

.page-b.page-article .jcard__ph { aspect-ratio: 1 / 1; background: var(--grey); }
.jcard__ph--gears img { object-position: 50% 62%; }
.jcard__ph--pools img { object-position: 50% 80%; }
.jcard__ph--stuck img { object-position: 50% 12%; }
@media (min-aspect-ratio: 6/5) and (min-height: 500.02px) {
  .page-b.page-article .jcar__row::after { display: none; }
  .page-b.page-article .jcard { flex: 1 1 0; width: auto; min-width: 0; }
  .page-b.page-article .jcard__title, .page-b.page-article .jcard__line { max-width: none; }
}

.jb__h strong { font-weight: 900; -webkit-text-stroke: 0.035em currentColor; }
