/* ============================================================
   Rose IT Ltd — solutions page bands (v5). Loads after v5.css.
   The catalogue cards keep the .product / .code / .skus classes
   (shared by the static Bespoke card, the runtime buildCard() and
   build-solutions.mjs); this sheet only restyles them.
   ============================================================ */

/* ----- Opener ----- */
.v5 .solutions-opener {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(110, 133, 176, 0.22), transparent 70%),
    radial-gradient(ellipse 45% 40% at 15% 70%, rgba(138, 106, 53, 0.16), transparent 70%),
    var(--ink);
}
.v5 .solutions-opener .lede { max-width: 70ch; }
.v5 .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }

/* ----- Catalogue: light band, white rounded cards ----- */
.v5 .catalogue5 .inner { display: flex; flex-direction: column; align-items: center; }
.v5 .catalog {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: none;
  border: 0;
  scroll-margin-top: 110px;
}
.v5 .catalog[data-source="pending"],
.v5 .catalog[data-source="empty"],
.v5 .catalog[data-source="error"] { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.v5 .product {
  min-height: 0;
  padding: clamp(22px, 2.2vw, 32px);
  gap: 12px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}
.v5 .product::after { display: none; }
.v5 .product:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(12, 26, 53, 0.1), 0 1px 29px rgba(12, 26, 53, 0.08);
}
.v5 .product .code,
.v5 .product:hover .code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.v5 .product h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.v5 .product p { font-size: 15.5px; line-height: 1.6; color: rgba(12, 26, 53, 0.74); }
.v5 .product .skus {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(12, 26, 53, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
/* The Bespoke card is the one static option: a soft brass tint so it reads as "ask us". */
.v5 .product#bespoke {
  background: linear-gradient(160deg, #fff 0%, rgba(214, 176, 116, 0.14) 100%);
  border: 1px solid rgba(176, 138, 74, 0.25);
}
.v5 .product#bespoke:hover { background: linear-gradient(160deg, #fff 0%, rgba(214, 176, 116, 0.2) 100%); }
.v5 .product#bespoke .skus { color: var(--brass-deep); border-top-color: rgba(176, 138, 74, 0.25); }
.v5 .product#bespoke .skus::after { content: " \2192"; }
.v5 .catalog-status { color: rgba(12, 26, 53, 0.55); text-align: center; margin-top: 24px; }
html.js .v5 .catalog[data-source="error"] + .catalog-status::before { color: var(--brass-deep); }

/* ----- Steps and tours ----- */
.v5 .steps-grid { width: 100%; max-width: var(--container); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v5 .steps-grid .num { display: inline-flex; align-items: center; gap: 9px; }
.v5 .steps-grid .num svg { width: 15px; height: 15px; color: var(--brass); }
.v5 .tours-grid { width: 100%; max-width: var(--container); grid-template-columns: 1fr 1fr; gap: 18px; }
.v5 .tours-grid .dcard { min-height: 260px; padding: clamp(26px, 2.8vw, 40px); }
.v5 .tours-grid .dcard h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -0.02em; }
.v5 .tours-grid .dcard p { max-width: 48ch; }
.v5 .dcard .go {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-bright);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.v5 .dcard .go .arrow { transition: transform 0.35s var(--ease-out); }
.v5 .dcard:hover .go .arrow { transform: translateX(5px); }

/* ----- Responsive ----- */
@media (max-width: 1000px) {
  .v5 .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v5 .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .v5 .tours-grid { grid-template-columns: 1fr; }
  .v5 .tours-grid .dcard { min-height: 0; }
}
@media (max-width: 720px) {
  .v5 .catalog { grid-template-columns: 1fr; scroll-margin-top: 90px; }
  .v5 .product { padding: 24px 22px; }
  .v5 .product h4 { font-size: 21px; }
}
