/* Individual project: native page scroll, a sticky brief and a generous image column. */
.hb-project { --project-gap: 8px; --project-top: 130px; padding: 8px 8px 64px; background: var(--hb-color-paper); color: var(--hb-color-ink); }
.hb-project__layout { display: grid; grid-template-columns: minmax(320px,42fr) minmax(0,58fr); gap: var(--project-gap); align-items: start; }
.hb-project__summary { position: sticky; top: var(--project-sticky-top,var(--project-top)); margin-top: calc(var(--project-top) - 8px); min-height: calc(100svh - var(--project-top) - 16px); display: flex; flex-direction: column; padding: 0 clamp(0px,1.7vw,32px) 0 clamp(8px,2.5vw,48px); }
.hb-project .hb-breadcrumb { margin: 0 0 26px; font-size: 11px; color: var(--hb-color-muted); }
.hb-project__eyebrow { display: flex; align-items: center; gap: 11px; font: 400 11px/1.5 var(--hb-font-body); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 18px; }
.hb-project__eyebrow > svg { width: 20px; height: 20px; fill: var(--hb-color-orange); flex: none; }
.hb-project h1 { margin: 0 0 26px; font: 500 var(--hb-font-size-h1-desktop)/.98 var(--hb-font-heading); letter-spacing: -.06em; }
.hb-project h1 > span { color: var(--hb-color-orange); }
.hb-project__intro { max-width: 435px; margin: 0; font: 400 15px/1.7 var(--hb-font-body); letter-spacing: -.02em; }
.hb-project__facts { margin: 32px 0 24px; font: 400 14px/1.5 var(--hb-font-body); }
.hb-project__facts > div { display: grid; grid-template-columns: minmax(80px,.55fr) minmax(0,1fr); gap: 12px; padding: 13px 0; border-top: 1px solid #1a292023; }
.hb-project__facts dt { color: var(--hb-color-muted); }
.hb-project__facts dd { margin: 0; }
.hb-project__visit { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 0 0 22px; font: 400 14px/1.4 var(--hb-font-body); }
.hb-project__domain { display: block; margin-top: 4px; font-size: 11px; color: var(--hb-color-muted); }
.hb-project__visit-arrow { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--hb-color-forest); color: var(--hb-color-paper); transition: background .25s,transform .35s var(--hb-ease); }
.hb-project__visit-arrow svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.hb-project__visit:hover .hb-project__visit-arrow,.hb-project__visit:focus-visible .hb-project__visit-arrow { background: var(--hb-color-orange); transform: translateX(3px); }
.hb-project__reading { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; font: 400 10px/1.5 var(--hb-font-body); letter-spacing: .025em; color: var(--hb-color-muted); }
.hb-project__reading-line { height: 1px; flex: 1; background: #1a292026; overflow: hidden; }
.hb-project__reading-line > span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--hb-color-orange); }
.hb-project__reading > span:last-child { display: flex; align-items: center; gap: 6px; }
.hb-project__reading svg { width: 12px; height: 12px; stroke: currentColor; fill: none; transform: rotate(90deg); }
.hb-project__gallery { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--project-gap); align-items: stretch; }
.hb-project__figure { min-width: 0; margin: 0; overflow: hidden; border-radius: 8px; }
.hb-project__figure--wide { grid-column: 1/-1; }
.hb-project__figure--portrait { aspect-ratio: 3/4; }
.hb-project__figure--vertical { grid-column: 1/-1; aspect-ratio: 3/4; }
.hb-project__figure--half { aspect-ratio: 3/4; }
.hb-project__visual { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; cursor: zoom-in; }
.hb-project__figure:not(.hb-project__figure--cover) > .hb-project__visual { transform-origin: 100% 100%; transition: transform 1.4s var(--hb-ease),opacity .9s ease; }
.hb-project__figure.is-entering > .hb-project__visual { transform: scale(0); opacity: 0; transition: none; pointer-events: none; }
.hb-project__figure.is-reveal-instant > .hb-project__visual { transition: none; }
.hb-project__visual > img { display: block; width: 100%; height: auto; }
.hb-project__visual--hero { height: calc(100svh - 16px); height: calc(100dvh - 16px); background: #d2dfcb; }
.hb-project__visual--hero > img { height: 100%; object-fit: cover; object-position: 58% center; }
.hb-project__visual--human > img { height: 100%; object-fit: cover; object-position: 60% center; }
.hb-project__visual--phone { display: flex; align-items: center; justify-content: center; background: var(--hb-color-forest); }
.hb-project__visual--phone > img { width: auto; height: 86%; max-width: 82%; border: 4px solid #20271f; border-radius: clamp(14px,1.8vw,28px); box-shadow: 0 20px 45px #0004; }
.hb-project__expand { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 38px; height: 38px; color: var(--hb-color-ink); background: var(--hb-color-paper); border-radius: 50%; opacity: 0; transform: translateY(5px); transition: opacity .2s,transform .2s; }
.hb-project__expand svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.hb-project__visual:hover .hb-project__expand,.hb-project__visual:focus-visible .hb-project__expand { opacity: 1; transform: none; }
.hb-project a:focus-visible,.hb-project button:focus-visible { outline: 2px solid var(--hb-color-orange); outline-offset: 5px; }
.hb-project-lightbox { position: fixed; inset: 0; width: min(1600px,calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 20px; border: 0; border-radius: 16px; background: var(--hb-color-paper); color: var(--hb-color-ink); }
.hb-project-lightbox::backdrop { background: #102119eb; backdrop-filter: blur(8px); }
.hb-project-lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 15px; }
.hb-project-lightbox__bar p { margin: 0; font: 400 12px/1.5 var(--hb-font-body); }
.hb-project-lightbox__bar button { width: 36px; height: 36px; border: 1px solid #1a292033; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }
.hb-project-lightbox__bar svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.3; fill: none; }
.hb-project-lightbox > img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 142px); object-fit: contain; margin: auto; }
@media (max-width: 1100px) and (min-width: 761px) {
  .hb-project { --project-top: 120px; }
  .hb-project__layout { grid-template-columns: minmax(285px,42fr) minmax(0,58fr); }
  .hb-project__summary { padding-inline: 18px; }
  .hb-project__intro { font-size: 14px; }
  .hb-project__facts { margin-top: 23px; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .hb-project { --project-top: 120px; }
  .hb-project .hb-breadcrumb { margin-bottom: 18px; }
  .hb-project__eyebrow { margin-bottom: 10px; }
  .hb-project h1 { margin-bottom: 20px; }
  .hb-project__facts { margin-top: 22px; margin-bottom: 16px; }
  .hb-project__facts > div { padding-block: 10px; }
  .hb-project__reading { padding-top: 14px; }
}
@media (min-width: 761px) and (max-height: 680px) {
  .hb-project__reading { display: none; }
}
@media (max-width: 760px) {
  .hb-project { --project-top: 116px; padding: var(--project-top) var(--hb-gutter-mobile) 48px; }
  .hb-project__layout { display: block; }
  .hb-project__summary { position: static; margin-top: 0; min-height: 0; padding: 0 0 26px; }
  .hb-project .hb-breadcrumb { font-size: 10px; margin-bottom: 28px; }
  .hb-project__eyebrow { font-size: 10px; margin-bottom: 18px; }
  .hb-project__eyebrow > svg { width: 18px; height: 18px; }
  .hb-project h1 { font-size: var(--hb-font-size-page-h1); line-height: 1.03; margin-bottom: 20px; }
  .hb-project__intro { font-size: 15px; line-height: 1.6; max-width: 100%; }
  .hb-project__facts { margin: 26px 0 18px; font-size: 13px; }
  .hb-project__facts > div { grid-template-columns: 1fr 1.8fr; padding-block: 11px; }
  .hb-project__visit { font-size: 14px; padding-bottom: 0; }
  .hb-project__visit-arrow { width: 44px; height: 44px; }
  .hb-project__reading { display: none; }
  .hb-project__gallery { gap: 8px; }
  .hb-project__visual--hero { height: auto; min-height: 0; aspect-ratio: 1; }
  .hb-project__visual--phone > img { border-width: 2px; border-radius: 12px; }
  .hb-project__expand { right: 10px; bottom: 10px; width: 30px; height: 30px; }
  .hb-project-lightbox { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 12px; border-radius: 10px; }
  .hb-project-lightbox__bar p { font-size: 11px; }
  .hb-project-lightbox > img { max-height: calc(100dvh - 112px); }
}
@media (prefers-reduced-motion: reduce) {
  .hb-project *, .hb-project *::before, .hb-project *::after { animation: none !important; transition: none !important; }
  .hb-project__figure.is-entering > .hb-project__visual { transform: none; opacity: 1; pointer-events: auto; }
}

.hb-project__film { display: grid; place-items: center; overflow: hidden; background: var(--hb-color-forest); }
.hb-project__film > video { display: block; width: 100%; height: 100%; object-fit: contain; }
