/* =========================================================
   Cartier brand page (global tokens live in style.css)
   Ivory, the Maison's red and a fine gold line.
   ========================================================= */

:root { --ct-red: #9e1b32; --ct-ivory: #faf7f2; --ct-gold: #b8955a; }

.ct-kicker { font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ct-red); }

/* ---------- Story ---------- */
.ct-story { background: var(--ct-ivory); text-align: center; }
.ct-story__inner { max-width: 980px; }
.ct-story__title { margin: 16px auto 34px; font-family: var(--font-title); font-weight: 300; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.08; color: var(--ink); }
.ct-story__title em { font-style: italic; color: var(--ct-red); }
.ct-story__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); text-align: left; padding-top: 30px; border-top: 1px solid var(--ct-gold); }
.ct-story__cols p { font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); }

/* ---------- Codes band ---------- */
.ct-codes { background: var(--ct-red); color: var(--ct-ivory); padding-block: clamp(36px, 5vw, 56px); }
.ct-codes__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; }
.ct-codes__list li { padding: 4px clamp(14px, 2.2vw, 28px); border-left: 1px solid rgba(250, 247, 242, .3); font-size: 13.5px; line-height: 1.55; opacity: .95; }
.ct-codes__list li:first-child { border-left: 0; padding-left: 0; }
.ct-codes__list span { display: block; margin-bottom: 8px; font-family: var(--font-title); font-weight: 300; font-size: clamp(21px, 2vw, 26px); line-height: 1.15; }

/* ---------- Spring/Summer 2026 ---------- */
.ct-ss__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ct-ss__media { position: relative; margin: 0; aspect-ratio: 688 / 414; }
.ct-ss__media::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(250, 247, 242, .7); pointer-events: none; }
.ct-ss__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ct-ss__title { margin: 12px 0 20px; font-family: var(--font-title); font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; }
.ct-ss__copy > p:not(.ct-kicker) { font-size: 15.5px; line-height: 1.75; color: var(--ink-soft); }
.ct-ss__copy > p + p { margin-top: 14px; }

/* ---------- Collection ---------- */
.ct-switch { display: flex; justify-content: center; border: 0; padding: 0; margin: 0 auto clamp(28px, 4vw, 44px); }
.ct-switch input { position: absolute; opacity: 0; pointer-events: none; }
.ct-switch label {
  min-width: 120px; padding: 12px 22px; text-align: center; border: 1px solid var(--ct-red); cursor: pointer; color: var(--ct-red);
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1;
  transition: background .3s, color .3s;
}
.ct-switch label + input + label { border-left: 0; }
.ct-switch input:checked + label { background: var(--ct-red); color: var(--ct-ivory); }
.ct-switch input:focus-visible + label { outline: 2px solid var(--ct-gold); outline-offset: 3px; }

.ct-prods { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); list-style: none; padding: 0; margin: 0; }
.ct-coll:has(#ct-line-santos:checked) .ct-prods--santos,
.ct-coll:has(#ct-line-clash:checked) .ct-prods--clash,
.ct-coll:has(#ct-line-icons:checked) .ct-prods--icons { display: grid; }
.ct-prods--icons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ct-prod { animation: ctIn .6s var(--ease-out) both; }
.ct-prod:nth-child(2) { animation-delay: .05s; } .ct-prod:nth-child(3) { animation-delay: .1s; }
.ct-prod:nth-child(4) { animation-delay: .15s; } .ct-prod:nth-child(5) { animation-delay: .2s; } .ct-prod:nth-child(6) { animation-delay: .25s; }
@keyframes ctIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ct-prod__img { aspect-ratio: 900 / 480; overflow: hidden; background: #fff; outline: 1px solid transparent; outline-offset: -8px; transition: outline-color .4s; }
.ct-prod:hover .ct-prod__img { outline-color: var(--ct-gold); }
.ct-prod__img img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease-out); }
.ct-prod:hover .ct-prod__img img { transform: scale(1.05); }
.ct-prod__line { margin-top: 14px; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ct-red); }
.ct-prod__name { margin-top: 4px; font-family: var(--font-title); font-weight: 300; font-size: 22px; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .ct-prods, .ct-prods--icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-codes__list { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .ct-codes__list li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .ct-ss__grid, .ct-story__cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ct-codes__list { grid-template-columns: 1fr; }
  .ct-codes__list li { border-left: 0; padding-left: 0; }
  .ct-switch label { min-width: 0; padding: 11px 16px; }
  .ct-prods, .ct-prods--icons { gap: 12px; }
  .ct-prod__name { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .ct-prod { animation: none; } }
