/* =========================================================
   ic! berlin brand page (global tokens live in style.css)
   Engineering drawing: white sheet, black rules, spec labels,
   with the 30th anniversary's Transformative Teal as the one accent.
   ========================================================= */

:root { --icb-ink: #111; --icb-rule: #111; --icb-teal: #1d5f63; --icb-paper: #fafaf8; }

.icb-label { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--icb-ink); }
.icb-label--teal { color: var(--icb-teal); }
.icb-title { margin: 14px 0 26px; font-family: var(--font-body); font-weight: 700; font-size: clamp(38px, 5.4vw, 72px); line-height: .98; letter-spacing: -.02em; color: var(--icb-ink); }
.icb-title--sm { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 0; }

/* ---------- Story ---------- */
.icb-story { background: var(--icb-paper); }
.icb-story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.icb-story__media { margin: 0; border: 1px solid var(--icb-rule); background: #fff; }
.icb-story__media img { display: block; width: 100%; height: auto; }
.icb-story__media figcaption { padding: 12px 16px; border-top: 1px solid var(--icb-rule); font-size: 11.5px; letter-spacing: .06em; color: #555; }

/* ---------- Spec sheet ---------- */
.icb-spec { background: var(--icb-ink); color: #fff; padding-block: clamp(40px, 5vw, 64px); }
.icb-spec__grid { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; border-left: 1px solid rgba(255, 255, 255, .25); }
.icb-spec__grid div { padding: 6px 18px; border-right: 1px solid rgba(255, 255, 255, .25); }
.icb-spec dt { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.icb-spec dd { margin: 10px 0 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.icb-spec__grid div:nth-child(-n+2) dd { font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }

/* ---------- Collection ---------- */
.icb-coll__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 2px solid var(--icb-rule); }
.icb-coll__hint { margin: 16px 0 clamp(26px, 3vw, 40px); font-size: 13.5px; color: #555; }
.icb-switch { display: flex; border: 0; padding: 0; margin: 0; }
.icb-switch input { position: absolute; opacity: 0; pointer-events: none; }
.icb-switch label { padding: 11px 22px; border: 1px solid var(--icb-rule); cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1; transition: background .25s, color .25s; }
.icb-switch label + input + label { border-left: 0; }
.icb-switch input:checked + label { background: var(--icb-ink); color: #fff; }
.icb-switch input:focus-visible + label { outline: 2px solid var(--icb-teal); outline-offset: 3px; }

.icb-prods { display: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0; border-top: 1px solid var(--icb-rule); border-left: 1px solid var(--icb-rule); }
.icb-coll:has(#icb-type-sun:checked) .icb-prods--sun,
.icb-coll:has(#icb-type-opt:checked) .icb-prods--opt { display: grid; }
.icb-prod { padding: 18px; border-right: 1px solid var(--icb-rule); border-bottom: 1px solid var(--icb-rule); background: #fff; }
.icb-prod__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.icb-prod__img picture, .icb-prod__img img { display: block; width: 100%; height: 100%; }
.icb-prod__img img { object-fit: contain; }
.icb-prod__b { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.icb-prod:hover .icb-prod__b { opacity: 1; }
.icb-prod__code { margin-top: 12px; font-size: 18px; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.icb-prod__meta { margin-top: 2px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #666; }

/* ---------- 30 years ---------- */
.icb-thirty { background: var(--icb-paper); border-top: 2px solid var(--icb-rule); }
.icb-thirty__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.icb-thirty__num { font-weight: 700; font-size: clamp(160px, 24vw, 340px); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--icb-teal); }
.icb-thirty__copy > p:not([class]) { margin-top: 22px; font-size: 15.5px; line-height: 1.75; color: #333; }
.icb-capsule { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.icb-capsule li { padding: 8px 14px; border: 1px solid var(--icb-rule); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.icb-capsule li.is-new { background: var(--icb-teal); border-color: var(--icb-teal); color: #fff; }
.icb-swatch { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--icb-teal); }
.icb-swatch span { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #1f4f7a, #1d5f63 50%, #1e4b3a); }
.icb-quote { margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--icb-rule); font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; line-height: 1.45; color: var(--icb-ink); }
.icb-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #666; }
.icb-thirty__campaign { margin-top: 22px; font-size: 14px; line-height: 1.7; color: #555; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .icb-spec__grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
@media (max-width: 900px) {
  .icb-story__grid, .icb-thirty__grid { grid-template-columns: 1fr; }
  .icb-thirty__num { font-size: 160px; }
}
@media (max-width: 560px) {
  .icb-spec__grid { grid-template-columns: 1fr 1fr; }
  .icb-prods { grid-template-columns: 1fr 1fr; }
  .icb-prod { padding: 10px; }
  .icb-prod__code { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .icb-prod__b { transition: none; } }
