/* Homepage presentation only; shared commerce and admin styles stay in styles.css. */
.home-page { --home-ink: #172c3a; --home-muted: #586b78; }
.home-page .site-nav { box-shadow: none; }
.home-page .brand__region { letter-spacing: .12em; font-size: 10px; }
.home-page .cart-button { border-radius: 5px; }
.home-page .hero { background: #edf2f4; min-height: 540px; }
.home-page .hero__media {
  inset: 0 0 0 51%;
  background: url("assets/jjc/hero-2.jpg") center 46% / cover no-repeat;
}
.home-page .hero::after { display: none; }
.home-page .hero__content { min-height: 540px; padding-top: 54px; padding-bottom: 42px; color: var(--home-ink); }
.home-page .home-eyebrow { display: block; color: #326992; font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.6; margin-bottom: 16px; }
.home-page .hero h1 { max-width: 49%; color: var(--home-ink); font-size: clamp(36px, 4.5vw, 58px); line-height: 1.25; letter-spacing: -.035em; font-weight: 700; }
.home-page .hero p { max-width: 40%; margin-top: 22px; color: var(--home-muted); font-size: 16px; line-height: 1.9; }
.home-page .hero__actions { gap: 14px; margin-top: 28px; }
.home-page .button { min-height: 48px; border-radius: 5px; gap: 24px; font-size: 14px; }
.home-page .button--primary { background: #28699e; }
.home-page .button--primary:hover { background: #1d527d; }
.home-page .button--ghost { border-color: #a9bac6; color: var(--home-ink); }
.home-page .button--ghost:hover { background: #fff; }
.home-page .hero__signature { margin-top: 42px; color: #627787; font-size: 9px; letter-spacing: .19em; }
.home-page .home-service-strip { border-bottom: 1px solid #e4e9ec; }
.home-page .home-service-strip__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 24px; }
.home-page .home-service-strip a { display: grid; gap: 5px; padding-left: 30px; border-left: 1px solid #e4e9ec; }
.home-page .home-service-strip a:first-child { padding-left: 0; border-left: 0; }
.home-page .home-service-strip strong { color: var(--home-ink); font-size: 14px; font-weight: 600; }
.home-page .home-service-strip span { color: var(--home-muted); font-size: 12px; }
.home-page .home-service-strip a:hover strong { color: var(--blue); }
.home-page .section { padding-block: 64px; scroll-margin-top: 100px; }
.home-page .section--muted { background: #f5f7f8; }
.home-page .section__heading { margin-bottom: 28px; }
.home-page .section__heading .home-eyebrow { margin-bottom: 8px; }
.home-page .section__heading h2 { padding: 0; color: var(--home-ink); font-size: clamp(25px, 3vw, 32px); line-height: 1.3; font-weight: 600; }
.home-page .section__heading h2::after { display: none; }
.home-page .section__heading > a { font-size: 13px; font-weight: 600; white-space: nowrap; }
.home-page .category-grid { gap: 16px; }
.home-page .category { min-width: 0; min-height: 174px; padding: 23px; gap: 12px; border-color: #e0e7ec; border-radius: 8px; background: #fafcfd; }
.home-page .category__icon { width: 42px; height: 38px; background: #e7eff5; color: #28699e; border-radius: 5px; font-size: 11px; letter-spacing: .04em; }
.home-page .category strong { font-size: 17px; color: var(--home-ink); }
.home-page .category small { color: var(--home-muted); font-size: 12px; line-height: 1.7; }
.home-page .category:hover { background: #fff; box-shadow: 0 8px 20px #1834490b; }
.home-page .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-page .product { min-width: 0; display: flex; flex-direction: column; border: 1px solid #e4e9ed; border-radius: 8px; }
.home-page .product__image { min-height: 0; aspect-ratio: 1.12; padding: 20px; }
.home-page .product__image img { height: 100%; max-height: 210px; min-height: 0; object-fit: contain; }
.home-page .product__body { flex: 1; display: flex; flex-direction: column; text-align: left; padding: 20px; }
.home-page .product__code { color: #637988; font-size: 11px; letter-spacing: .06em; }
.home-page .product h3 { color: var(--home-ink); font-size: 14px; line-height: 1.65; font-weight: 500; margin: 8px 0 20px; overflow-wrap: anywhere; }
.home-page .product__meta { margin-top: auto; align-items: stretch; gap: 13px; }
.home-page .product__price { font-size: 19px; color: var(--home-ink); font-weight: 700; }
.home-page .product button { min-height: 42px; border: 1px solid #cedde8; border-radius: 4px; background: #f1f6fa; color: #245f8d; font-size: 13px; }
.home-page .product button:hover { background: #28699e; border-color: #28699e; color: #fff; }
.home-page .feature-band { padding-block: 48px; background: #19394c; }
.home-page .feature-band .home-eyebrow { color: #a0c4dd; margin-bottom: 12px; }
.home-page .feature-band h2 { color: #fff; font-size: clamp(25px, 3vw, 34px); line-height: 1.4; }
.home-page .feature-band p { color: #c7d6df; max-width: 520px; font-size: 14px; line-height: 1.9; }
.home-page .scenario-list { gap: 10px; }
.home-page .scenario { border-radius: 5px; min-height: 44px; }
.home-page .scenario.is-active { color: #19394c; background: #fff; border-color: #fff; }
.home-page :is(a, button):focus-visible { outline: 3px solid #b67915; outline-offset: 4px; }
@media (max-width: 980px) {
  .home-page .nav-links { top: 100%; gap: 0; padding: 8px 20px 14px; box-shadow: 0 12px 18px #1834490b; }
  .home-page .nav-links a { padding: 13px 0; }
}
@media (max-width: 960px) {
  .home-page .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .hero h1 { font-size: 40px; }
  .home-page .hero p { max-width: 45%; }
}
@media (max-width: 640px) {
  .home-page .hero { display: flex; flex-direction: column; min-height: 0; }
  .home-page .hero__content { order: -1; min-height: 0; padding-block: 36px 30px; }
  .home-page .hero__media { position: relative; inset: auto; width: 100%; height: 280px; background-position: center 42%; }
  .home-page .hero h1 { max-width: none; font-size: clamp(32px, 9vw, 42px); }
  .home-page .hero p { max-width: 100%; margin-top: 16px; font-size: 14px; }
  .home-page .hero__actions { margin-top: 22px; gap: 10px; }
  .home-page .button { padding-inline: 18px; gap: 18px; }
  .home-page .hero__signature { margin-top: 24px; font-size: 8px; }
  .home-page .home-service-strip__inner { gap: 10px; padding-block: 18px; }
  .home-page .home-service-strip a { padding-left: 10px; }
  .home-page .home-service-strip strong { font-size: 12px; }
  .home-page .home-service-strip span { font-size: 10px; line-height: 1.7; }
  .home-page .section { padding-block: 40px; }
  .home-page .section__heading--split { flex-direction: row; align-items: end; gap: 12px; }
  .home-page .section__heading h2 { font-size: 22px; }
  .home-page .section__heading > a { font-size: 12px; }
  .home-page .home-eyebrow { font-size: 10px; }
  .home-page .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-page .category { padding: 16px; min-height: 174px; }
  .home-page .category strong { font-size: 15px; }
  .home-page .product-grid { gap: 12px; }
  .home-page .product__image { padding: 10px; }
  .home-page .product__body { padding: 13px; }
  .home-page .product h3 { font-size: 13px; margin-bottom: 14px; }
  .home-page .product__price { font-size: 17px; }
  .home-page .feature-band { padding-block: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .category, .home-page .product { transition: none; }
  .home-page .category:hover, .home-page .product:hover { transform: none; }
}
