/* ============================================================================
   Home page v2 (home.css). Loaded on the home page only; everything is scoped
   under .home2 so no other page changes. Light, image-led, rounded.
   Packshots are opaque white, so they sit on pale surfaces with multiply.
   ========================================================================== */
.home2 {
  --h2-ink: #111111;
  --h2-mute: #6a6a6a;
  --h2-well: #f4f4f2;
  --h2-line: #e8e8e5;
  --h2-r: 22px;
  --h2-max: 1320px;
  color: var(--h2-ink);
  padding-bottom: 8px;
}
.home2 .h2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.home2 .h2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.home2 .h2-btn-solid { background: var(--h2-ink); color: #fff; }
.home2 .h2-btn-solid:hover { background: #2a2a2a; transform: translateY(-1px); }
.home2 .h2-btn-line { background: transparent; color: var(--h2-ink); border-color: rgba(17,17,17,.25); }
.home2 .h2-btn-line:hover { border-color: var(--h2-ink); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.home2 .h2-hero {
  max-width: var(--h2-max); margin: 20px auto 0; padding: 0 24px;
}
.home2 .h2-hero > .h2-stage,
.home2 .h2-hero > .h2-tabs { /* both live inside the rounded panel */ }
.home2 .h2-hero {
  position: relative;
}
.home2 .h2-stage {
  position: relative; display: grid; border-radius: 30px; overflow: hidden;
  background: linear-gradient(135deg, #f6f4ef 0%, #eef1f8 100%);
}
.home2 .h2-slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center;
  min-height: 540px; padding: 56px 64px 112px; gap: 24px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s;
}
.home2 .h2-slide.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.home2 .h2-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; position: relative; z-index: 2; }
.home2 .h2-chip {
  display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px; border-radius: 999px;
  background: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.home2 .h2-chip i { width: 4px; height: 4px; border-radius: 50%; background: #b9b9b4; display: inline-block; }
.home2 .h2-title {
  margin: 0; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em;
  max-width: 13ch; text-wrap: balance;
}
.home2 .h2-sub { margin: 0; font-size: 16px; line-height: 1.55; color: var(--h2-mute); max-width: 42ch; }
.home2 .h2-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.home2 .h2-art { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; min-height: 360px; text-decoration: none; }
.home2 .h2-halo {
  position: absolute; width: min(78%, 440px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(86,129,210,.38), rgba(127,134,212,.26) 45%, rgba(167,205,221,.30) 100%);
  filter: blur(46px);
}
.home2 .h2-art img {
  position: relative; max-width: 100%; max-height: 420px; width: auto; height: auto; object-fit: contain;
  mix-blend-mode: multiply; transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.home2 .h2-slide.is-on .h2-art img { transform: scale(1.03); }

/* hero tabs (progress) */
.home2 .h2-tabs {
  position: absolute; left: 24px; right: 24px; bottom: 0; z-index: 3; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px;
  padding: 0 64px 28px;
}
.home2 .h2-tab {
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; color: var(--h2-ink);
  display: flex; flex-direction: column; gap: 3px; opacity: .5; transition: opacity .25s ease; min-width: 0;
}
.home2 .h2-tab.is-on, .home2 .h2-tab:hover { opacity: 1; }
.home2 .h2-tab-bar { display: block; height: 3px; border-radius: 3px; background: rgba(17,17,17,.14); overflow: hidden; margin-bottom: 9px; }
.home2 .h2-tab-bar b { display: block; height: 100%; width: 0; background: var(--h2-ink); border-radius: 3px; }
.home2 .h2-tab.is-on .h2-tab-bar b { animation: h2fill 7s linear forwards; }
.home2 .h2-hero.is-paused .h2-tab.is-on .h2-tab-bar b { animation-play-state: paused; }
.home2 .h2-tab-name { font-size: 13.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home2 .h2-tab-date { font-size: 12px; color: var(--h2-mute); }
@keyframes h2fill { from { width: 0; } to { width: 100%; } }
.home2 .h2-hero-static .h2-slide { padding-bottom: 56px; grid-template-columns: 1fr; min-height: 380px; }

/* ── Trust row ─────────────────────────────────────────────────────────── */
.home2 .h2-trust {
  list-style: none; margin: 0 auto; padding: 26px 24px 4px; max-width: var(--h2-max);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px;
}
.home2 .h2-trust li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--h2-mute); }
.home2 .h2-trust svg, .home2 .h2-trust i { width: 17px; height: 17px; color: var(--h2-ink); }

/* ── Sections ──────────────────────────────────────────────────────────── */
.home2 .h2-sec { max-width: var(--h2-max); margin: 0 auto; padding: 56px 24px 0; }
.home2 .h2-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.home2 .h2-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.03em; }
.home2 .h2-link { font-size: 14px; font-weight: 600; color: var(--h2-ink); text-decoration: none; border-bottom: 1.5px solid var(--h2-ink); padding-bottom: 1px; }

/* upcoming rail */
.home2 .h2-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: none;
}
.home2 .h2-rail::-webkit-scrollbar { display: none; }
.home2 .h2-mini { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; scroll-snap-align: start; min-width: 0; }
.home2 .h2-mini-img { display: block; aspect-ratio: 1; border-radius: 18px; background: var(--h2-well); overflow: hidden; }
.home2 .h2-mini-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.home2 .h2-mini:hover .h2-mini-img img { transform: scale(1.05); }
.home2 .h2-mini-date { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--h2-mute); }
.home2 .h2-mini-name { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* categories */
.home2 .h2-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.home2 .h2-cat {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; overflow: hidden;
  min-height: 240px; padding: 34px 36px; border-radius: var(--h2-r); background: var(--h2-well); text-decoration: none; color: inherit;
  transition: background .25s ease;
}
.home2 .h2-cat:hover { background: #ecece8; }
.home2 .h2-cat-text { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.home2 .h2-cat-name { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: -0.03em; }
.home2 .h2-cat-sub { font-size: 14px; color: var(--h2-mute); max-width: 24ch; }
.home2 .h2-cat-go { margin-top: 14px; font-size: 14px; font-weight: 600; }
.home2 .h2-cat-go b { display: inline-block; transition: transform .2s ease; }
.home2 .h2-cat:hover .h2-cat-go b { transform: translateX(4px); }
.home2 .h2-cat img { width: 44%; max-width: 230px; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.home2 .h2-cat:hover img { transform: scale(1.06) rotate(-2deg); }
.home2 .h2-also { margin: 16px 2px 0; font-size: 13.5px; color: var(--h2-mute); }
.home2 .h2-also a { color: var(--h2-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(17,17,17,.3); }

/* product cards on this page */
.home2 .h2-grid { gap: 30px 20px; }
.home2 .pcard-imgwrap { border-radius: 18px; background: var(--h2-well); }
.home2 .pcard-imgwrap img { mix-blend-mode: multiply; padding: 6px; }
.home2 .pcard:hover { transform: none; }
.home2 .pcard-body { padding: 14px 4px 4px; }
.home2 .pcard-add .btn-add, .home2 .pcard-add .qty-stepper { border-radius: 999px; overflow: hidden; }

/* why us */
.home2 .h2-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding-top: 72px; padding-bottom: 8px; }
.home2 .h2-why h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.home2 .h2-why p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--h2-mute); }

/* b2b */
.home2 .h2-b2b {
  max-width: calc(var(--h2-max) - 48px); margin: 64px auto 0; padding: 34px 40px; border-radius: var(--h2-r);
  background: var(--h2-ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.home2 .h2-b2b h2 { margin: 0 0 6px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.02em; }
.home2 .h2-b2b p { margin: 0; color: rgba(255,255,255,.7); font-size: 14.5px; }
.home2 .h2-b2b .h2-btn-solid { background: #fff; color: var(--h2-ink); }
.home2 .h2-b2b .h2-btn-solid:hover { background: #e9e9e6; }

/* ── Tablet / phone ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .home2 .h2-hero { padding: 0 14px; margin-top: 12px; }
  .home2 .h2-stage { border-radius: 24px; }
  .home2 .h2-slide { grid-template-columns: 1fr; min-height: 0; padding: 32px 24px 86px; gap: 8px; }
  .home2 .h2-art { order: -1; min-height: 0; height: 250px; }
  .home2 .h2-art img { max-height: 240px; }
  .home2 .h2-title { max-width: none; font-size: clamp(30px, 8.4vw, 40px); }
  .home2 .h2-sub { font-size: 15px; }
  .home2 .h2-btn { height: 46px; padding: 0 22px; }
  .home2 .h2-tabs { left: 14px; right: 14px; padding: 0 24px 24px; gap: 8px; }
  .home2 .h2-tab-name, .home2 .h2-tab-date { display: none; }
  .home2 .h2-tab-bar { margin-bottom: 0; }
  .home2 .h2-trust { justify-content: flex-start; gap: 10px 22px; padding: 20px 18px 0; }
  .home2 .h2-sec { padding: 44px 18px 0; }
  .home2 .h2-rail { grid-auto-columns: 42%; gap: 12px; margin-right: -18px; padding-right: 18px; }
  .home2 .h2-cats { grid-template-columns: 1fr; gap: 12px; }
  .home2 .h2-cat { min-height: 170px; padding: 24px; }
  .home2 .h2-cat img { width: 38%; }
  .home2 .h2-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .home2 .h2-why { grid-template-columns: 1fr; gap: 26px; padding-top: 52px; }
  .home2 .h2-b2b { margin: 52px 14px 0; padding: 26px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .home2 .h2-slide, .home2 .h2-art img, .home2 .h2-mini-img img, .home2 .h2-cat img { transition: none; }
  .home2 .h2-tab.is-on .h2-tab-bar b { animation: none; width: 100%; }
}
