*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI",
    system-ui, sans-serif;
  background: #faf7f2;
  color: #1f2933;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.jb-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.jb-header {
  background: #ffffff;
  border-bottom: 1px solid #e5ded2;
}

.jb-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.jb-logo {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.jb-logo__mark {
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #a96b1f;
}

.jb-logo__caption {
  font-size: 0.8rem;
  color: #7b6b5a;
}

.jb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
}

.jb-nav__link {
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  color: #4b5563;
}

.jb-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d6a348, #b7791f);
  transition: width 0.18s ease;
}

.jb-nav__link:hover {
  color: #1f2933;
}

.jb-nav__link:hover::after,
.jb-nav__link--active::after {
  width: 100%;
}

.jb-main {
  flex: 1 0 auto;
}

.jb-hero {
  background: #faf7f2;
  border-bottom: 1px solid #e5ded2;
}

.jb-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 18px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.15fr);
  gap: 26px;
  align-items: start;
}

.jb-hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b7791f;
  margin-bottom: 6px;
}

.jb-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.4;
}

.jb-hero__lead {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.9;
}

.jb-hero__lead strong {
  color: #a96b1f;
}

.jb-hero__note {
  font-size: 0.85rem;
  color: #7b6b5a;
}

.jb-hero__visual {
  background: #fdfaf6;
  border-radius: 8px;
  border: 1px solid #e5ded2;
  padding: 10px;
  display: grid;
  gap: 10px;
}

.jb-hero__img {
  border-radius: 6px;
  border: 1px solid #e5ded2;
}

.jb-hero__caption {
  margin: 0;
  font-size: 0.8rem;
  color: #7b6b5a;
  line-height: 1.7;
}

.jb-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.jb-chip {
  border-radius: 999px;
  border: 1px solid #e5ded2;
  padding: 6px 8px;
  font-size: 0.78rem;
  text-align: center;
  background: #ffffff;
}

.jb-chip span {
  display: block;
}

.jb-chip__label {
  color: #a39a8f;
  font-size: 0.7rem;
}

.jb-chip__value {
  color: #4b5563;
  font-weight: 500;
}

.jb-section {
  padding: 26px 0 30px;
}

.jb-section--cream {
  background: #fdfaf6;
}

.jb-section--plain {
  background: #ffffff;
}

.jb-section__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.jb-section__head {
  margin-bottom: 18px;
}

.jb-section__title {
  margin: 0 0 6px;
  font-size: 1.28rem;
  color: #1f2933;
}

.jb-section__subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
  max-width: 760px;
  line-height: 1.8;
}

.jb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jb-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5ded2;
  padding: 12px 12px 14px;
}

.jb-card__title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: #1f2933;
}

.jb-card__title a {
  text-decoration: none;
  color: inherit;
}

.jb-card__title a:hover {
  color: #a96b1f;
}

.jb-card__text {
  margin: 0;
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.8;
}

.jb-footer {
  background: #ffffff;
  border-top: 1px solid #e5ded2;
}

.jb-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 18px 16px;
  font-size: 0.8rem;
  color: #7b6b5a;
}

.jb-footer__line + .jb-footer__line {
  margin-top: 4px;
}

/* sub pages */

.jb-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.jb-page-main {
  flex: 1 0 auto;
}

.jb-page-hero {
  background: #fdfaf6;
  border-bottom: 1px solid #e5ded2;
  padding: 24px 0 18px;
}

.jb-page-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.jb-page-hero__title {
  margin: 0 0 6px;
  font-size: 1.28rem;
  color: #1f2933;
}

.jb-page-hero__subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
  max-width: 760px;
  line-height: 1.8;
}

.jb-page-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 18px 34px;
}

.jb-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jb-article {
  max-width: 820px;
}

.jb-article__img {
  border-radius: 8px;
  border: 1px solid #e5ded2;
  margin-bottom: 12px;
}

.jb-article__p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.9;
}

.jb-article__p strong {
  color: #a96b1f;
}

.jb-back-home {
  margin-top: 16px;
  font-size: 0.82rem;
}

.jb-back-home a {
  color: #a96b1f;
  text-decoration: none;
}

.jb-back-home a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .jb-header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .jb-nav {
    justify-content: center;
  }

  .jb-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .jb-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jb-grid,
  .jb-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jb-header__inner,
  .jb-hero__inner,
  .jb-section__inner,
  .jb-page-hero__inner,
  .jb-page-body {
    padding-inline: 12px;
  }

  .jb-hero__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .jb-grid,
  .jb-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

