/* =========================================================
   LINDBERG brand page (global tokens live in style.css)
   Scandinavian air: white space, hairline rules, light type.
   ========================================================= */

:root { --ln-white: #fbfbfa; --ln-grey: #f3f2ef; --ln-line: #d9d6cf; --ln-ink: #2b2b2b; }

.ln-left { text-align: left; margin: 10px 0 22px; }
.ln-story .eyebrow, .ln-time .eyebrow, .ln-colls .eyebrow, .ln-frames .eyebrow, .ln-capsule .eyebrow { color: #7a776f; }

/* ---------- Lightness numbers ---------- */
.ln-light { background: var(--ln-white); border-block: 1px solid var(--ln-line); padding-block: clamp(44px, 6vw, 80px); }
.ln-light__grid { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; }
.ln-light__grid li { padding: 0 clamp(14px, 2.4vw, 32px); border-left: 1px solid var(--ln-line); }
.ln-light__grid li:first-child { border-left: 0; padding-left: 0; }
.ln-light strong { display: block; font-family: var(--font-title); font-weight: 300; font-size: clamp(54px, 6.4vw, 96px); line-height: .9; color: var(--ln-ink); letter-spacing: -.02em; }
.ln-light small { font-size: .38em; margin-left: 4px; letter-spacing: 0; }
.ln-light span { display: block; margin-top: 14px; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #7a776f; }

/* ---------- Timeline ---------- */
.ln-time__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ln-ink); }
.ln-time__list li { position: relative; padding: 26px 18px 28px 0; border-bottom: 1px solid var(--ln-line); }
.ln-time__list li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ln-white); border: 1px solid var(--ln-ink); }
.ln-time__list span { font-family: var(--font-title); font-weight: 300; font-size: 30px; line-height: 1; }
.ln-time__list p { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: #555; max-width: 24ch; }

/* ---------- Collections ---------- */
.ln-switch { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 auto clamp(28px, 4vw, 44px); }
.ln-switch input { position: absolute; opacity: 0; pointer-events: none; }
.ln-switch label { padding: 10px 20px; border: 1px solid var(--ln-line); border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; transition: border-color .3s, background .3s, color .3s; }
.ln-switch label:hover { border-color: var(--ln-ink); }
.ln-switch input:checked + label { background: var(--ln-ink); border-color: var(--ln-ink); color: #fff; }
.ln-switch input:focus-visible + label { outline: 2px solid var(--teal); outline-offset: 3px; }
.ln-cols { display: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(20px, 2.6vw, 36px) clamp(16px, 2vw, 28px); list-style: none; padding: 0; }
.ln-colls:has(#ln-type-ti:checked) .ln-cols--ti,
.ln-colls:has(#ln-type-nat:checked) .ln-cols--nat,
.ln-colls:has(#ln-type-sk:checked) .ln-cols--sk { display: grid; }
.ln-colls .ln-cols li { animation: lnIn .7s var(--ease-out) both; }
@keyframes lnIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ln-col__img { aspect-ratio: 66 / 41; overflow: hidden; background: var(--ln-grey); }
.ln-col__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ln-col:hover .ln-col__img img { transform: scale(1.05); }
.ln-col__name { margin-top: 14px; font-family: var(--font-title); font-weight: 300; font-size: 24px; line-height: 1.1; }
.ln-col p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: #555; }

/* ---------- Featured frames ---------- */
.ln-frames { background: var(--ln-white); }
.ln-prods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); list-style: none; padding: 0; }
.ln-prod__img { aspect-ratio: 1250 / 861; background: #f3f3f3; overflow: hidden; }
.ln-prod__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ln-prod p { margin-top: 10px; text-align: center; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Capsule ---------- */
.ln-capsule { background: var(--ln-grey); padding-bottom: clamp(56px, 7vw, 96px); }
.ln-capsule__wide img { display: block; width: 100%; height: clamp(200px, 30vw, 460px); object-fit: cover; }
.ln-capsule__row { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: clamp(14px, 2vw, 28px); align-items: center; margin-top: clamp(-90px, -6vw, -40px); position: relative; }
.ln-capsule__row > div:not(.ln-capsule__copy) { aspect-ratio: 1; overflow: hidden; background: #fff; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .3); }
.ln-capsule__row img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ln-capsule__copy { padding-top: clamp(40px, 6vw, 90px); }
.ln-capsule__title { margin: 10px 0 18px; font-family: var(--font-title); font-weight: 300; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.05; }
.ln-capsule__copy > p:not([class]) { font-size: 15px; line-height: 1.75; color: #555; }

/* ---------- Campaign ---------- */
.ln-campaign { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 2px; background: var(--ln-white); }
.ln-campaign figure { margin: 0; height: clamp(300px, 42vw, 640px); overflow: hidden; background: #fff; }
.ln-campaign img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ln-campaign figure:last-child img { object-fit: contain; padding: 6%; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .ln-time__list { grid-template-columns: repeat(2, 1fr); }
  .ln-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ln-light__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .ln-light__grid li:nth-child(3) { border-left: 0; padding-left: 0; }
  .ln-capsule__row { grid-template-columns: 1fr 1fr; margin-top: 20px; }
  .ln-capsule__copy { grid-column: 1 / -1; padding-top: 10px; }
  .ln-campaign { grid-template-columns: 1fr 1fr; }
  .ln-campaign figure:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ln-prods { grid-template-columns: 1fr 1fr; }
  .ln-time__list { grid-template-columns: 1fr; }
  .ln-campaign figure { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .ln-colls .ln-cols li { animation: none; } }
