/* Jungbauten 0.2.14: locally hosted typography and shared hero proportions. */
@font-face {
  font-family: 'JB Manrope';
  src: url('fonts/Manrope-VariableFont_wght.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

html.jb-modern {
  --jb-condensed: 'JB Manrope', Arial, sans-serif;
  --jb-sans: 'JB Manrope', Arial, sans-serif;
  font-synthesis: none;
}
html.jb-modern body {
  font-family: var(--jb-sans);
}
html.jb-modern :is(h1,h2,h3,h4,h5,h6) {
  font-family: var(--jb-sans);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-transform: none;
}
html.jb-modern .hero .hero__title {
  width: max-content;
  max-width: min(10em, calc(100vw - (2 * var(--jb-pad)) - 100px));
  font-size: clamp(48px, min(5.6vw, 9.5svh), 96px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.045em;
  text-transform: none;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}
html.jb-modern .hero .hero__text {
  margin-top: 26px;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.55;
}
html.jb-modern .hero .hero__rail-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.1;
}
html.jb-modern :is(.alu-link,.jb-link,.alu-inline-link) {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
html.jb-modern .hero :is(.alu-link,.jb-link) {
  margin-top: 32px;
}
html.jb-modern .hero .flex-actions {
  margin-top: 32px;
}
html.jb-modern .hero .flex-actions .alu-link {
  margin-top: 0;
}
html.jb-modern :is(.eyebrow,.flex-kicker,.alu-kicker,.nav-label,.collection-tabs a) {
  font-weight: 600;
  letter-spacing: .035em;
}
html.jb-modern .section__title {
  font-size: clamp(32px, 4.2vw, 64px);
}
@media (max-width: 1100px) {
  html.jb-modern .hero .hero__title {
    width: auto;
    max-width: none;
    font-size: clamp(48px, 6.8vw, 72px);
  }
}
@media (max-width: 700px) {
  html.jb-modern .hero .hero__title {
    font-size: clamp(34px, 9.8vw, 56px);
    line-height: 1.12;
    letter-spacing: -.035em;
    hyphens: auto;
    overflow-wrap: break-word;
  }
}

/* Desktop and tablet: one shared frame, including the homepage. The fixed
   header is inside the 90% budget. Phone layouts remain content-driven. */
@media (min-width: 701px) {
  html.jb-modern .hero {
    height: 90svh;
    min-height: 0;
    max-height: 90svh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  html.jb-modern .hero .hero__panel {
    align-content: safe center;
  }
  html.jb-modern .hero .hero__image {
    aspect-ratio: auto;
    min-height: 0;
    align-self: stretch;
    width: 100%;
    margin-top: 102px;
  }
  html.jb-modern .hero .hero__image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
  }
  html.jb-modern .hero .hero__image > picture {
    position: absolute;
    inset: 0;
    display: block;
    height: 100%;
  }
  html.jb-modern .hero .hero__image > picture > img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
  }
}
@media (min-width: 701px) and (max-width: 1100px) {
  html.jb-modern .hero {
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  }
  html.jb-modern .hero.glossary-single__hero {
    grid-template-columns: minmax(0, 1fr);
  }
  html.jb-modern .hero .hero__panel {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
    padding: 126px 28px 48px var(--jb-pad);
  }
  html.jb-modern .hero .hero__image::before {
    background: linear-gradient(90deg, rgba(12,12,10,.95), rgba(12,12,10,.5) 55%, rgba(12,12,10,.1));
  }
  html.jb-modern .hero .alu-hero__badge {
    width: 104px;
    height: 104px;
    right: 22px;
    bottom: 22px;
  }
  html.jb-modern .hero .hero__title {
    width: max-content;
    max-width: min(10em, calc(100vw - (2 * var(--jb-pad)) - 68px));
    font-size: clamp(40px, min(5.6vw, 9.5svh), 72px);
  }
}

/* Detail pages retain space for their breadcrumb and date/category line. */
html.jb-modern .standard-post .hero .hero__panel {
  padding-top: 150px;
}
@media (min-width: 701px) and (max-width: 1100px) {
  html.jb-modern .standard-post > .breadcrumb {
    top: 122px;
  }
}
@media (max-width: 700px) {
  html.jb-modern .standard-post > .breadcrumb {
    top: 98px;
  }
}

/* The shop-opening page has older, ID-scoped styles stored in its content.
   Bring its existing markup into the same design without changing that content. */
html.jb-modern #jb-launch :is(h1,h2,h3) {
  font-family: var(--jb-sans);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-transform: none;
}
html.jb-modern #jb-launch .lp-hero #lp-title {
  width: max-content;
  max-width: min(10em, calc(100vw - (2 * var(--jb-pad)) - 100px));
  font-size: clamp(40px, min(5vw, 8.5svh), 84px);
  line-height: 1.06;
  letter-spacing: -.045em;
  white-space: normal;
  word-break: normal;
}
html.jb-modern #jb-launch .lp-lead {
  margin-top: 26px;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
}
html.jb-modern #jb-launch :is(.lp-button,.lp-textlink) {
  font-weight: 600;
  text-transform: none;
}
html.jb-modern #jb-launch .lp-actions {
  margin-top: 32px;
}
html.jb-modern #jb-launch .lp-hero-photo > img {
  min-height: 0;
  max-height: none;
}
html.jb-modern #jb-launch .hero__panel > p:empty {
  display: none;
}
@media (min-width: 701px) and (max-width: 1100px) and (max-height: 820px) {
  html.jb-modern #jb-launch .lp-hero {
    grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
  }
}
@media (min-width: 701px) {
  html.jb-modern #jb-launch .lp-hero-photo {
    margin-top: 102px;
  }
  html.jb-modern #jb-launch .lp-hero-photo > img {
    height: 100%;
  }
}
@media (min-width: 701px) and (max-width: 1100px) {
  html.jb-modern #jb-launch .hero__panel {
    padding-top: 126px;
    padding-bottom: 48px;
  }
  html.jb-modern #jb-launch .lp-hero #lp-title {
    max-width: min(10em, calc(100vw - (2 * var(--jb-pad)) - 68px));
    font-size: clamp(40px, min(5.6vw, 9.5svh), 72px);
  }
}
@media (min-width: 701px) and (max-height: 820px) {
  html.jb-modern #jb-launch .hero__panel {
    padding-top: 120px;
    padding-bottom: 20px;
  }
  html.jb-modern #jb-launch .lp-hero #lp-title {
    font-size: clamp(36px, min(5vw, 7svh), 72px);
  }
  html.jb-modern #jb-launch .lp-lead {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.4;
  }
  html.jb-modern #jb-launch .lp-actions {
    margin-top: 16px;
    gap: 8px;
  }
  html.jb-modern #jb-launch .lp-small {
    margin-top: 8px;
  }
  html.jb-modern #jb-launch .lp-eyebrow {
    margin-bottom: 10px;
  }
  html.jb-modern #jb-launch .lp-button {
    min-height: 44px;
    padding-block: 10px;
  }
}
@media (max-width: 700px) {
  html.jb-modern #jb-launch .hero__panel {
    padding-top: 120px;
  }
  html.jb-modern #jb-launch .lp-hero #lp-title {
    width: auto;
    max-width: none;
    font-size: clamp(34px, 9.8vw, 56px);
    line-height: 1.12;
    letter-spacing: -.035em;
    hyphens: auto;
    overflow-wrap: break-word;
  }
  html.jb-modern #jb-launch .lp-hero-photo > img {
    height: 240px;
  }
}
@media (min-width: 701px) and (max-height: 820px) {
  html.jb-modern .hero .hero__panel {
    padding-top: 120px;
    padding-bottom: 20px;
  }
  html.jb-modern .hero .hero__title {
    font-size: clamp(36px, min(5.6vw, 8.5svh), 80px);
  }
  html.jb-modern .hero .hero__text {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.4;
  }
  html.jb-modern .hero :is(.alu-link,.jb-link) {
    min-height: 44px;
    margin-top: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  html.jb-modern .hero .flex-actions {
    gap: 8px;
    margin-top: 16px;
  }
  html.jb-modern .hero .flex-actions .alu-link {
    margin-top: 0;
  }
}
