/* =========================================================
   Home page
   ========================================================= */

/* stronger glow behind header + banner */
.home .jc-top-glow {
  height: 900px;
  background:
    radial-gradient(620px 420px at 12% 30%, rgba(44,82,67,.50), transparent 70%),
    radial-gradient(520px 380px at 88% 18%, rgba(179,146,87,.42), transparent 70%),
    radial-gradient(760px 520px at 60% 105%, rgba(31,58,48,.45), transparent 70%),
    linear-gradient(180deg, var(--jc-ivory-2) 80%, var(--jc-ivory));
}

/* ---------- Banner ---------- */
.jc-hero { padding: clamp(20px, 4vw, 44px) 0 clamp(40px, 6vw, 80px); }
.jc-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(16px, 3vw, 32px); align-items: center; }
.jc-hero__card { border-radius: var(--jc-radius-lg); padding: clamp(28px, 4.5vw, 56px) clamp(22px, 4vw, 52px); }
.jc-hero__title { margin: 10px 0 16px; }
.jc-hero__text { max-width: 440px; color: #333; margin-bottom: 28px; }
.jc-hero__media { position: relative; border-radius: var(--jc-radius-lg); aspect-ratio: 1 / 1; padding: 14px; }
.jc-hero__photo { position: relative; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: var(--jc-ivory-3); }
.jc-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jc-hero__tag {
  position: absolute; left: 30px; right: 30px; bottom: 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 18px; color: var(--jc-black); font-size: 14px;
}
.jc-hero__tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jc-hero__tag b { font-weight: 500; color: var(--jc-green); white-space: nowrap; }
@media (max-width: 900px) {
  .jc-hero { padding-top: 14px; }
  .jc-hero__grid { grid-template-columns: 1fr; }
  .jc-hero__media { order: -1; padding: 10px; }
  .jc-hero__photo { border-radius: 16px; }
  .jc-hero__tag { left: 20px; right: 20px; bottom: 20px; padding: 12px 16px; font-size: 13px; }
  .jc-hero__card .jc-btn { width: 100%; }
}

/* ---------- Features ---------- */
.jc-features { padding: clamp(24px, 3vw, 36px) 0; }
.jc-features__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.jc-feature { display: flex; gap: 14px; align-items: flex-start; }
.jc-feature__icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--jc-green); color: var(--jc-gold-light); border: 1px solid var(--jc-gold-line);
}
.jc-feature__title { display: block; font-family: var(--jc-serif); font-size: 21px; line-height: 1.2; color: var(--jc-black); }
.jc-feature__desc { display: block; font-size: 13px; line-height: 1.5; color: var(--jc-muted); margin-top: 2px; }
@media (max-width: 900px) {
  /* phone: swipe cards */
  .jc-features .jc-container { padding-inline: 0; }
  .jc-features__list {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 var(--jc-gutter) 4px; scrollbar-width: none;
  }
  .jc-features__list::-webkit-scrollbar { display: none; }
  .jc-feature {
    flex: 0 0 158px; scroll-snap-align: start; flex-direction: column; gap: 12px;
    padding: 16px 14px; border-radius: 18px; background: var(--jc-ivory-2); border: 1px solid var(--jc-line);
  }
  .jc-feature__title { font-size: 19px; }
  .jc-feature__desc { font-size: 12px; }
}

/* ---------- Categories ---------- */
.jc-cats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.jc-cat { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: var(--jc-ivory-3); }
.jc-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--jc-ease); }
.jc-cat:hover img { transform: scale(1.05); }
.jc-cat__label {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-radius: 16px; background-color: rgba(17,17,17,.35);
  color: #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.jc-cat__label span { color: var(--jc-gold-light); font-size: 16px; letter-spacing: 0; }
.jc-cat:hover .jc-cat__label { color: #fff; }
@media (max-width: 900px) {
  .jc-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jc-cat { border-radius: 18px; }
  .jc-cat__label { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; border-radius: 12px; font-size: 11px; letter-spacing: .16em; }
}

/* ---------- Maisons ---------- */
.jc-maisons__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.jc-maisons__col { display: contents; } /* computer: tiles flow in maison order */
.jc-maison {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 86px; padding: 14px; border-radius: 18px;
  font-family: var(--jc-serif); font-size: 21px; line-height: 1.15; letter-spacing: .03em; color: var(--jc-ivory);
  transition: border-color .25s var(--jc-ease), background-color .25s var(--jc-ease);
}
.jc-maison:hover { color: var(--jc-gold-light); border-color: var(--jc-gold-line); }
@media (max-width: 1100px) { .jc-maisons__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  /* phone: swipe sideways, two tiles stacked per column */
  .jc-maisons .jc-container { padding-inline: 0; }
  .jc-maisons .jc-section-head { padding-inline: var(--jc-gutter); }
  .jc-maisons__grid {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 var(--jc-gutter) 4px; scrollbar-width: none;
  }
  .jc-maisons__grid::-webkit-scrollbar { display: none; }
  .jc-maisons__col { display: flex; flex-direction: column; flex: 0 0 150px; gap: 10px; scroll-snap-align: start; }
  .jc-maison { min-height: 76px; font-size: 18px; border-radius: 14px; }
}

/* ---------- Gold colours ---------- */
.jc-colours__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); max-width: 980px; margin: 0 auto; }
.jc-colour {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: clamp(22px, 3vw, 36px) 12px; border-radius: var(--jc-radius);
  background: var(--jc-ivory-2); border: 1px solid rgba(179,146,87,.3);
  transition: border-color .25s var(--jc-ease), transform .25s var(--jc-ease);
}
.jc-colour:hover { border-color: var(--jc-gold); transform: translateY(-2px); color: var(--jc-black); }
.jc-colour__disc { width: clamp(56px, 8vw, 88px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 4px var(--jc-ivory), 0 0 0 5px rgba(179,146,87,.45), 0 10px 24px rgba(17,17,17,.12); }
.jc-colour__name { font-family: var(--jc-serif); font-size: clamp(18px, 1.2rem + .5vw, 24px); color: var(--jc-black); }
@media (max-width: 480px) { .jc-colour .jc-link { display: none; } }
