/* Brand pages: whole pictures (never cropped), introduction, gallery and links to the other brands. */
.brand-page { padding-top: 32px; padding-bottom: 80px; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--muted); text-decoration: none; font-size: 15px; }
.back-link:hover { color: var(--ink); }
.brand-notfound { font-size: 18px; color: var(--body); }

.brand-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.brand-hero-text h1 { font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; margin: 10px 0 24px; }
.brand-intro p { color: var(--body); font-size: 17px; line-height: 1.65; margin: 0 0 1em; max-width: 60ch; }
.brand-hero-text .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.brand-hero-media { margin: 0; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.brand-hero-media img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; }

.gallery-title { font-weight: 400; font-size: 28px; margin: 72px 0 24px; }
.brand-gallery { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 20px; }
.brand-gallery li { break-inside: avoid; margin: 0 0 20px; }
.gallery-item { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: var(--white); cursor: zoom-in; }
.gallery-item img { display: block; width: 100%; height: auto; }
.gallery-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.brand-others { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.brand-others h2 { font-weight: 400; font-size: 22px; margin-bottom: 14px; }
.brand-others ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.brand-others a { font-family: Jost, sans-serif; font-size: 20px; color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.brand-others a:hover { border-bottom-color: var(--ink); }

.lightbox { border: 0; padding: 0; background: var(--white); max-width: 94vw; max-height: 92vh; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); }
.lightbox::backdrop { background: rgba(250, 250, 247, 0.92); }
.lightbox img { display: block; max-width: 94vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.lightbox-close { display: block; margin-left: auto; padding: 10px 16px; border: 0; background: var(--white); font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }

@media (max-width: 900px) {
  .brand-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .brand-hero-media { order: -1; }
}