/* =========================================================
   Prada brand page (global tokens live in style.css)
   Monochrome and exact, with the Linea Rossa red as the one accent.
   ========================================================= */

:root { --pr-black: #000; --pr-paper: #f6f5f2; --pr-red: #d6001c; --pr-grey: #7a7a7a; }

.pr-label { font-size: 10.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--pr-grey); }
.pr-label--red { color: var(--pr-red); }
.pr-h2 { margin-top: 12px; font-family: var(--font-body); font-weight: 500; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: .14em; text-transform: uppercase; line-height: 1.15; color: var(--pr-black); }
.pr-h2--light { color: #fff; }
.pr-head { margin-bottom: clamp(28px, 4vw, 52px); }
.pr-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Story ---------- */
.pr-story { background: var(--pr-paper); }
.pr-story__inner > * { max-width: 980px; }
.pr-statement { margin-top: 22px; font-family: var(--font-title); font-weight: 300; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.18; color: var(--pr-black); }
.pr-story__copy { margin-top: 28px; max-width: 640px; padding-top: 22px; border-top: 1px solid var(--pr-black); font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); }

/* ---------- Campaign archive (horizontal scroll) ---------- */
.pr-arch { padding-bottom: clamp(56px, 7vw, 96px); }
.pr-arch__track {
  --pr-edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 340px); gap: clamp(14px, 2vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pr-edge);
  padding: 0 var(--pr-edge) 18px; margin: 0; list-style: none; scrollbar-width: thin; scrollbar-color: var(--pr-black) transparent;
}
.pr-arch__nav { display: flex; gap: 8px; }
.pr-arch__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--pr-black);
  color: var(--pr-black); transition: background .3s, color .3s, opacity .3s;
}
.pr-arch__btn[data-arch="-1"] .arrow { transform: scaleX(-1); }
.pr-arch__btn:hover:not(:disabled) { background: var(--pr-black); color: #fff; }
.pr-arch__btn:disabled { opacity: .25; cursor: default; }
.pr-arch__btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.pr-arch__track:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.pr-arch__item { scroll-snap-align: start; }
.pr-arch__img { aspect-ratio: 4 / 5; overflow: hidden; background: #e9e7e3; }
.pr-arch__img img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .8s, transform 1.1s var(--ease-out); }
.pr-arch__item:hover .pr-arch__img img { filter: none; transform: scale(1.03); }
.pr-arch__year { margin-top: 16px; font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--pr-grey); }
.pr-arch__title { margin-top: 6px; font-family: var(--font-body); font-weight: 500; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.pr-arch__text { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Linea Rossa ---------- */
.pr-lr { background: var(--pr-black); color: #e9e9e9; padding-bottom: clamp(64px, 8vw, 110px); }
.pr-lr__hero { position: relative; height: clamp(320px, 52vw, 680px); overflow: hidden; }
.pr-lr__hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pr-lr__hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--pr-red); }
.pr-lr__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.pr-lr__copy p:not([class]) { margin-top: 16px; font-size: 15.5px; line-height: 1.8; color: #bdbdbd; }
.pr-lr__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pr-lr__gallery figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.pr-lr__gallery .pr-lr__wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.pr-lr__gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.pr-lr__gallery figure:hover img { transform: scale(1.04); }

/* ---------- Collection ---------- */
.pr-switch { display: inline-flex; gap: 28px; border: 0; padding: 0; margin: 0; }
.pr-switch input { position: absolute; opacity: 0; pointer-events: none; }
.pr-switch label { position: relative; padding: 6px 0; cursor: pointer; font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--pr-grey); transition: color .3s; }
.pr-switch label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--pr-black); transform: scaleX(0); transition: transform .4s var(--ease-out); }
.pr-switch input:checked + label { color: var(--pr-black); }
.pr-switch input:checked + label::after { transform: scaleX(1); }
.pr-switch input:focus-visible + label { outline: 2px solid var(--teal); outline-offset: 4px; }

.pr-prods { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; padding: 1px 0 0 1px; }
.pr-coll:has(#pr-type-sun:checked) .pr-prods--sun, .pr-coll:has(#pr-type-opt:checked) .pr-prods--opt { display: grid; }
.pr-prods li { animation: prIn .6s var(--ease-out) both; }
@keyframes prIn { from { opacity: 0; } to { opacity: 1; } }
.pr-prod { margin: -1px 0 0 -1px; padding: clamp(18px, 2.4vw, 30px); background: #fff; border: 1px solid #dcdad6; text-align: center; }
.pr-prod__img { aspect-ratio: 2 / 1; overflow: hidden; }
.pr-prod__img img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease-out); }
.pr-prod:hover .pr-prod__img img { transform: scale(1.05); }
.pr-prod__name { margin-top: 16px; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.pr-prod__kind { margin-top: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--pr-grey); }
.pr-note { margin-top: 22px; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pr-lr__grid { grid-template-columns: 1fr; }
  .pr-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pr-prods { grid-template-columns: 1fr; }
  .pr-arch__track { grid-auto-columns: 78vw; }
}
@media (prefers-reduced-motion: reduce) { .pr-prods li { animation: none; } }
