/* The brand package page (/brand). Loaded after css/studio.css: black page, Poppins, pill buttons. A centered title
   with the two download buttons and the logo on black, a row of section links, then each section as a grid of dark
   cards: a preview that opens full size, a title, a short note and one small pill per file. */

.bp-head { padding-top: clamp(130px, 14vw, 180px); text-align: center; }
.bp-kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.bp-title { margin-top: 14px; font-size: clamp(40px, 7vw, 84px); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.bp-lede { max-width: 34em; margin: 20px auto 0; font-size: clamp(16px, 1.4vw, 18px); color: var(--soft); text-wrap: pretty; }
.bp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.bp-btn-size { opacity: .62; font-size: 12px; margin-left: 2px; }
.bp-meta { margin-top: 16px; font-size: 13px; color: var(--soft); }
.bp-cover { margin: clamp(36px, 5vw, 64px) auto 0; max-width: 820px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.bp-cover img { width: 100%; height: auto; }

/* Section links: one row that scrolls sideways on narrow screens instead of wrapping into a wall. */
.bp-nav { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bp-nav ul { display: flex; gap: 8px; list-style: none; overflow-x: auto; padding: 14px 0; scrollbar-width: none; justify-content: safe center; }
.bp-nav ul::-webkit-scrollbar { display: none; }
.bp-nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; white-space: nowrap; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s; }
.bp-nav a:hover { background: rgba(255, 255, 255, .08); }

.bp-section { padding-top: clamp(56px, 7vw, 96px); scroll-margin-top: 90px; }
.bp-section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1.1; }
.bp-note { max-width: 46em; margin-top: 10px; color: var(--soft); font-size: 15px; text-wrap: pretty; }
.bp-block { margin-top: 32px; }
.bp-block h3 { font-size: 18px; font-weight: 600; }
.bp-block h3 + .bp-grid, .bp-block h3 + .bp-pages { margin-top: 16px; }

.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; align-items: start; list-style: none; }
.bp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) { .bp-grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); } }
.bp-item { display: flex; flex-direction: column; padding: 12px 12px 18px; border-radius: 24px; background: var(--card); }
.bp-thumb { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.bp-thumb img { width: 100%; height: auto; aspect-ratio: auto; transition: transform .5s var(--ease); }
.bp-thumb:hover img { transform: scale(1.02); }
.bp-item-title { margin: 14px 6px 0; font-size: 15px; font-weight: 600; }
.bp-item-note { margin: 4px 6px 0; font-size: 13px; line-height: 1.5; color: var(--soft); }
.bp-files { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 6px 0; list-style: none; }
.bp-files a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; text-decoration: none; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s; }
.bp-files a:hover { background: rgba(255, 255, 255, .14); }
.bp-size { color: var(--soft); font-size: 11.5px; }

.bp-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; list-style: none; }
@media (max-width: 599px) { .bp-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.bp-pages a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.bp-pages img { width: 100%; height: auto; }

.bp + .sx-cta, .bp .sx-cta { margin-top: clamp(64px, 8vw, 120px); }
