/* ==========================================================================
   COLLECTION — Asymmetric visual catalogue
   ========================================================================== */

.cx-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 96px); position: relative; }
.cx-hero .crumbs { color: var(--ink-soft); margin-bottom: clamp(28px, 5vw, 64px); }
.cx-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); align-items: end; }
.cx-hero__title { grid-column: 1 / 13; grid-row: 1; position: relative; z-index: 2; }
.cx-hero__title .mono { color: var(--copper-ink); display: block; margin-bottom: 18px; }
.cx-hero h1 { font-family: var(--f-display); font-size: clamp(2.9rem, 1rem + 8vw, 10rem); line-height: .86; letter-spacing: -.03em; color: var(--petrol); }
.cx-hero h1 .row2 { display: block; padding-left: 18%; font-style: italic; }
.cx-hero h1 .row3 { display: block; font-size: .34em; letter-spacing: .01em; font-style: normal; padding-left: 18%; margin-top: .4em; color: var(--ink); font-family: var(--f-sans); font-weight: 300; text-transform: uppercase; }
.cx-hero__a { grid-column: 1 / 4; grid-row: 2; margin: clamp(32px, 4vw, 60px) 0 0; }
.cx-hero__b { grid-column: 5 / 10; grid-row: 2; margin: clamp(60px, 8vw, 130px) 0 0; }
.cx-hero__c { grid-column: 11 / 13; grid-row: 2; margin: 0; align-self: start; margin-top: clamp(20px, 3vw, 40px); }
.cx-hero figure img { width: 100%; }
.cx-hero figcaption { margin-top: 8px; color: var(--ink-soft); }
.cx-hero__intro { grid-column: 1 / 5; grid-row: 3; margin-top: 36px; align-self: start; }
.cx-hero__intro p { margin: 0 0 18px; }
.cx-hero__note { grid-column: 10 / 13; grid-row: 3; align-self: start; margin-top: 28px; border-top: 1px solid var(--copper); padding-top: 14px; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .cx-hero__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cx-hero__title { grid-column: 1 / -1; }
  .cx-hero h1 .row2, .cx-hero h1 .row3 { padding-left: 8%; }
  .cx-hero__a { grid-column: 1 / 4; }
  .cx-hero__b { grid-column: 3 / 7; grid-row: 3; margin-top: 24px; }
  .cx-hero__c { grid-column: 4 / 7; grid-row: 2; margin-top: 60px; }
  .cx-hero__intro { grid-column: 1 / -1; grid-row: 4; margin-top: 32px; }
  .cx-hero__note { grid-column: 1 / -1; grid-row: 5; }
}

/* Contents ruler */
.cx-contents { background: var(--petrol); color: var(--chalk); padding: 26px 0 18px; position: relative; }
.cx-contents ol { list-style: none; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); }
.cx-contents a { display: block; text-decoration: none; padding: 10px 8px 12px 0; border-left: 1px solid rgba(241,238,230,.25); padding-left: 10px; height: 100%; transition: background .3s; }
.cx-contents a:hover { background: rgba(241,238,230,.08); }
.cx-contents .n { font-family: var(--f-mono); font-size: .66rem; color: var(--copper-light); display: block; }
.cx-contents .t { font-size: .86rem; line-height: 1.3; display: block; margin-top: 6px; }
.cx-contents .ruler { color: var(--copper-light); margin-top: 12px; }
@media (max-width: 1000px) {
  .cx-contents ol { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 10px; }
}
@media (max-width: 560px) {
  .cx-contents ol { display: flex; overflow-x: auto; gap: 0; }
  .cx-contents li { flex: 0 0 42%; }
}

/* Catalogue body with sticky rail */
.cx-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-top: clamp(60px, 8vw, 120px); }
.cx-rail { position: sticky; top: calc(var(--head-h) + 24px); align-self: start; }
.cx-rail p { color: var(--copper-ink); margin-bottom: 14px; }
.cx-rail ol { list-style: none; border-left: 1px solid rgba(18,60,67,.2); }
.cx-rail a { display: flex; gap: 10px; padding: 6px 0 6px 14px; text-decoration: none; font-size: .88rem; color: var(--ink-soft); margin-left: -1px; border-left: 1px solid transparent; transition: color .3s, border-color .3s; }
.cx-rail a span { font-family: var(--f-mono); font-size: .64rem; padding-top: .25em; color: var(--copper-ink); }
.cx-rail a:hover { color: var(--petrol); border-left-color: var(--copper); }
@media (max-width: 1100px) { .cx-body { grid-template-columns: 1fr; } .cx-rail { display: none; } }

/* Category article — shared parts */
.cat { position: relative; padding-bottom: clamp(80px, 10vw, 150px); }
.cat__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.cat__no { font-family: var(--f-display); font-style: italic; font-size: clamp(3rem, 2rem + 3vw, 5.6rem); line-height: .8; color: var(--copper); }
.cat h2 { font-family: var(--f-display); font-size: clamp(2rem, 1.3rem + 2.2vw, 3.6rem); color: var(--petrol); line-height: 1; letter-spacing: -.01em; }
.cat__intro { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); }
.cat figure { margin: 0; }
.cat figure img { width: 100%; }
.cat figcaption { margin-top: 8px; color: var(--ink-soft); }
.spec { display: grid; grid-template-columns: minmax(120px, auto) 1fr; margin: 26px 0 0; border-top: 1px solid rgba(18,60,67,.25); }
.spec dt, .spec dd { margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(18,60,67,.14); }
.spec dt { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-ink); padding-top: 15px; padding-right: 18px; }
.spec dd { font-size: .96rem; }
.cat .vlabel { position: absolute; color: var(--ink-soft); }

/* v1 — Classic: image dominant left, text right, inset second image */
.cat--v1 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); }
.cat--v1 .f1 { grid-column: 1 / 8; grid-row: 1 / 3; }
.cat--v1 .txt { grid-column: 8 / 13; grid-row: 1; }
.cat--v1 .f2 { grid-column: 9 / 13; grid-row: 2; margin-top: 28px; }

/* v2 — Slim: petrol plinth, tall image framed by taper measurement */
.cat--v2 { background: var(--petrol); color: var(--chalk); padding: clamp(40px, 6vw, 90px) clamp(20px, 4vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(80px, 10vw, 150px); }
.cat--v2 h2, .cat--v2 .cat__no { color: var(--chalk); }
.cat--v2 .cat__no { color: var(--copper-light); }
.cat--v2 .spec { border-color: rgba(241,238,230,.3); }
.cat--v2 .spec dt { color: var(--copper-light); }
.cat--v2 .spec dt, .cat--v2 .spec dd { border-color: rgba(241,238,230,.16); }
.cat--v2 .f1 { position: relative; max-width: 420px; justify-self: center; }
.cat--v2 .f1 img { background: #fff; }
.cat--v2 .taper { position: absolute; inset: 0 -38px 0 auto; width: 26px; }
.cat--v2 .taper::before { content: ""; position: absolute; left: 12px; top: 18%; bottom: 10%; border-left: 1px dashed var(--copper-light); }
.cat--v2 .taper span { position: absolute; left: 0; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .14em; color: var(--copper-light); writing-mode: vertical-rl; transform: rotate(180deg); top: 40%; background: var(--petrol); padding: 6px 0; }
.cat--v2 figcaption { color: var(--mist); }

/* v3 — Regular: wide image, three-column reading below */
.cat--v3 .f1 { width: 82%; margin-left: auto; }
.cat--v3 .cat__head { margin-top: -0.55em; position: relative; }
.cat--v3 .cols { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(20px, 3vw, 44px); margin-top: 10px; }
.cat--v3 .spec { margin-top: 0; }

/* v4 — Contemporary: big serif intro left, image right with vertical label */
.cat--v4 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); align-items: start; }
.cat--v4 .txt { grid-column: 1 / 7; }
.cat--v4 .cat__intro { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2.1rem); line-height: 1.3; color: var(--petrol); }
.cat--v4 .f1 { grid-column: 8 / 13; margin-top: 80px; position: relative; }
.cat--v4 .vlabel { left: -26px; top: 0; }

/* v5 — White: paper ground, two images of different scale, centred text */
.cat--v5 { background: var(--paper); padding: clamp(40px, 6vw, 90px) clamp(20px, 4vw, 64px); margin-bottom: clamp(80px, 10vw, 150px); border: 1px solid rgba(18,60,67,.1); }
.cat--v5 .imgs { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.cat--v5 .f2 { margin-bottom: 18%; }
.cat--v5 .txt { max-width: 760px; margin: 0 auto; text-align: center; }
.cat--v5 .cat__head { justify-content: center; }
.cat--v5 .spec { text-align: left; }

/* v6 — Blue: mist ground, text column between two images */
.cat--v6 { background: var(--mist); padding: clamp(40px, 6vw, 90px) clamp(20px, 4vw, 64px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; margin-bottom: clamp(80px, 10vw, 150px); }
.cat--v6 .f1 { margin-top: 30%; }
.cat--v6 .f2 { margin-top: 60%; }

/* v7 — Striped: numeral-led, diagonal image stack */
.cat--v7 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); }
.cat--v7 .big { grid-column: 1 / 4; font-family: var(--f-display); font-style: italic; font-size: clamp(6rem, 4rem + 9vw, 15rem); line-height: .75; color: transparent; -webkit-text-stroke: 1px var(--copper); }
.cat--v7 .txt { grid-column: 4 / 9; }
.cat--v7 .f1 { grid-column: 9 / 13; grid-row: 1; }
.cat--v7 .f2 { grid-column: 6 / 10; grid-row: 2; margin-top: -40px; position: relative; }
.cat--v7 .f2 figcaption { text-align: right; }

/* v8 — Checked: ink ground, offset pair */
.cat--v8 { background: var(--ink); color: var(--chalk); padding: clamp(40px, 6vw, 90px) clamp(20px, 4vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); margin-bottom: clamp(80px, 10vw, 150px); }
.cat--v8 h2 { color: var(--chalk); }
.cat--v8 .cat__no { color: var(--copper-light); }
.cat--v8 .spec, .cat--v8 .spec dt, .cat--v8 .spec dd { border-color: rgba(241,238,230,.16); }
.cat--v8 .spec dt { color: var(--copper-light); }
.cat--v8 figcaption { color: #B9C3C1; }
.cat--v8 .f1 { grid-column: 1 / 5; }
.cat--v8 .f2 { grid-column: 5 / 9; margin-top: 30%; }
.cat--v8 .txt { grid-column: 9 / 13; }
.cat--v8 .cat__intro { font-size: 1rem; }

/* v9 — Long sleeve: centred narrow image, text in flanking columns */
.cat--v9 { display: grid; grid-template-columns: 1fr minmax(0, 340px) 1fr; gap: clamp(20px, 3.5vw, 56px); align-items: start; }
.cat--v9 .cat__head { grid-column: 1 / -1; justify-content: center; text-align: center; }
.cat--v9 .l, .cat--v9 .r { padding-top: 30px; }
.cat--v9 .r .spec { margin-top: 0; }

/* v10 — Business: petrol, image left, text right with spec table */
.cat--v10 { background: var(--petrol-deep); color: var(--chalk); padding: clamp(40px, 6vw, 90px) clamp(20px, 4vw, 64px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: 0; }
.cat--v10 h2 { color: var(--chalk); }
.cat--v10 .cat__no { color: var(--copper-light); }
.cat--v10 .spec { grid-template-columns: 1fr 1fr; gap: 0 28px; border: 0; }
.cat--v10 .spec div { border-top: 1px solid rgba(241,238,230,.2); padding: 14px 0; }
.cat--v10 .spec dt, .cat--v10 .spec dd { border: 0; padding: 0; }
.cat--v10 .spec dt { color: var(--copper-light); margin-bottom: 6px; }
.cat--v10 figcaption { color: var(--mist); }

@media (max-width: 900px) {
  .cat--v1, .cat--v4, .cat--v7, .cat--v8 { grid-template-columns: 1fr; row-gap: 24px; }
  .cat--v1 > *, .cat--v4 > *, .cat--v7 > *, .cat--v8 > * { grid-column: 1 !important; grid-row: auto !important; margin-top: 0 !important; }
  .cat--v1 .f2 { width: 60%; justify-self: end; }
  .cat--v4 .f1 { width: 82%; justify-self: end; }
  .cat--v4 .vlabel { display: none; }
  .cat--v7 .big { font-size: 6rem; }
  .cat--v7 .f1 { width: 78%; }
  .cat--v7 .f2 { width: 70%; justify-self: end; }
  .cat--v8 .f1 { width: 80%; }
  .cat--v8 .f2 { width: 70%; justify-self: end; }
  .cat--v2, .cat--v6, .cat--v9, .cat--v10 { grid-template-columns: 1fr; }
  .cat--v2 .f1 { justify-self: start; width: 78%; }
  .cat--v6 .f1, .cat--v6 .f2 { margin-top: 0; }
  .cat--v6 .f1 { width: 64%; }
  .cat--v6 .f2 { width: 80%; justify-self: end; }
  .cat--v9 .f1 { width: 72%; justify-self: center; }
  .cat--v9 .l, .cat--v9 .r { padding-top: 0; }
  .cat--v3 .f1 { width: 100%; }
  .cat--v3 .cols { grid-template-columns: 1fr; }
  .cat--v3 .cat__head { margin-top: 18px; }
  .cat--v5 .imgs { grid-template-columns: 1fr 1fr; }
  .cat--v10 .spec { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .spec { grid-template-columns: 1fr; }
  .spec dt { padding-bottom: 0; border-bottom: 0; }
  .cat--v5 .imgs { grid-template-columns: 1fr; }
  .cat--v5 .f2 { width: 70%; justify-self: end; margin: 0; }
  .cat--v5 .txt { text-align: left; }
  .cat--v5 .cat__head { justify-content: flex-start; }
}

/* Closing */
.cx-close { padding: clamp(80px, 10vw, 150px) 0; text-align: center; }
.cx-close h2 { font-family: var(--f-display); font-size: clamp(2.2rem, 1rem + 4vw, 5rem); color: var(--petrol); line-height: 1; max-width: 16ch; margin: 18px auto 24px; }
.cx-close p { max-width: 56ch; margin: 0 auto 32px; }
.cx-close .mono { color: var(--copper-ink); }
