/* ============================================================
   GEWA Germany -- BRAND / SERIES PAGES
   brand-series.css (brands.html.twig overview + brand.html.twig /
   series detail, driven by OvationController::brandAction)
   ============================================================ */

/* ═══════════════════════════════════
   BRAND / SERIES PAGES
   Used by: instrumente (brand overview) and ambition/vision/artist
   (series detail), both driven by OvationController::brandAction.
═══════════════════════════════════ */

/* ── Brands grid (instrumente overview — brands.html.twig) ──
   Three cards side by side on desktop, each with a background image,
   dark overlay, and full editorial content via Pimcore editables.
   Keeps the dark/gold aesthetic of the site while giving marketing
   enough room to tell the story of each series. */
.brands-section { border-top: 0.5px solid var(--w06); }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-height: 80vh;
}
/* Sub-category tiles on brand.html.twig reuse .brands-grid/.brand-card,
   but sit inside .section-wrap (framed, not full-bleed) with however many
   published children exist — usually 2 (Holzblas/Blechblas), not the
   overview page's fixed 3. auto-fit avoids an empty third column now that
   the grid is actually framed and that gap would be obvious. Border
   added since the grid no longer touches the viewport edge to visually
   anchor it, matching how bordered grids look elsewhere on the site. */
.brands-grid--subcats {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  border: 0.5px solid var(--w10);
}
.brand-card {
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
  border-right: 0.5px solid var(--w10);
  text-decoration: none;
  color: inherit;
}
.brand-card:last-child { border-right: none; }
.brand-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 12s ease-out;
  will-change: transform;
}
.brand-card:hover .brand-card-bg { transform: scale(1.03); }
.brand-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,9,8,0.55) 0%,
    rgba(10,9,8,0.75) 100%
  );
}
.brand-card-content {
  position: relative; z-index: 1;
  padding: 48px 40px 48px;
  display: flex; flex-direction: column;
  flex: 1;
}
.brand-card-level {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--w55); margin-bottom: 16px;
}
.brand-card-name {
  font-family: var(--font-serif); font-size: clamp(40px, 3.5vw, 64px);
  font-weight: 300; line-height: 0.92; color: var(--cream);
  margin-bottom: 18px;
}
.brand-card-tagline {
  font-family: var(--font-serif); font-size: 20px; font-style: italic;
  color: var(--gold); margin-bottom: 20px; line-height: 1.4;
}
.brand-card-desc {
  font-size: 17px; color: var(--w55); line-height: 1.7; font-weight: 300;
  margin-bottom: 24px;
}
.brand-card-bullets {
  font-size: 14px; color: var(--w55); line-height: 1.8; margin-bottom: 32px;
  flex: 1; /* pushes CTA to the bottom of the card */
}
.brand-card-bullets ul { list-style: none; padding: 0; margin: 0; }
.brand-card-bullets li { padding: 3px 0 3px 14px; position: relative; }
.brand-card-bullets li::before {
  content: '•'; position: absolute; left: 0;
  color: var(--gold-dim);
}
.brand-card-cta {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  background: var(--gold); color: var(--ink);
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none;
  padding: 14px 24px;
  transition: background 0.2s;
}
.brand-card-cta:hover { background: var(--gold-light); }

/* ── Series tile (kept for possible future use in brand.html.twig) ── */
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.series-tile {
  position: relative; display: block; text-decoration: none;
  overflow: hidden; aspect-ratio: 3 / 4;
  background: var(--ink-mid);
  border-right: 0.5px solid var(--w06);
}
.series-tile:last-child { border-right: none; }
.series-tile-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 10s ease-out; will-change: transform;
}
.series-tile:hover .series-tile-bg { transform: scale(1.04); }
.series-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,9,8,0.92) 0%, rgba(10,9,8,0.3) 60%, rgba(10,9,8,0.1) 100%);
  transition: background 0.3s;
}
.series-tile:hover .series-tile-overlay { background: linear-gradient(to top, rgba(10,9,8,0.96) 0%, rgba(10,9,8,0.4) 60%, rgba(10,9,8,0.15) 100%); }
.series-tile-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 36px; }
.series-tile-eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.series-tile-name { font-family: var(--font-serif); font-size: clamp(36px, 3.5vw, 56px); font-weight: 300; line-height: 0.95; color: var(--cream); margin-bottom: 16px; }
.series-tile-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.series-tile-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Brand/series description section ── */
.brand-desc-section {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
}
.brand-desc-image {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
}
.brand-desc-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.brand-desc-text .section-eyebrow { margin-bottom: 20px; }
.brand-desc-heading {
  font-family: var(--font-serif); font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 300; line-height: 1.0; color: var(--cream); margin-bottom: 24px;
}
.brand-desc-body { font-size: 17px; color: var(--w55); line-height: 1.75; font-weight: 300; }
.brand-desc-body p { margin-bottom: 16px; }
.brand-desc-body p:last-child { margin-bottom: 0; }
.brand-desc-actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Featured products strip (series detail) ── */
.featured-products {
  border-top: 0.5px solid var(--w06);
}
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 0.5px solid var(--w06);
  border-left: 0.5px solid var(--w06);
}
.fp-card {
  border-right: 0.5px solid var(--w06);
  border-bottom: 0.5px solid var(--w06);
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}
.fp-card:hover { background: rgba(201,168,76,0.03); }
.fp-card-image {
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.fp-card-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fp-card-body { padding: 16px 20px 24px; }
.fp-card-brand { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.fp-card-name { font-family: var(--font-serif); font-size: 19px; font-weight: 300; color: var(--cream); line-height: 1.2; margin-bottom: 6px; }
.fp-card-model { font-size: 12px; color: var(--w55); letter-spacing: 0.04em; }
.fp-card-price { font-size: 14px; color: var(--w45); margin-top: 10px; }
.fp-card-new {
  display: inline-block; margin-top: 8px;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 3px 8px;
}

/* featured products CTA row */
.featured-products-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .brands-grid { grid-template-columns: 1fr; }
  .brand-card { border-right: none; border-bottom: 0.5px solid var(--w10); min-height: 500px; }
  .brand-card:last-child { border-bottom: none; }
  .brand-card-content { padding: 36px 28px; }
  .series-grid { grid-template-columns: 1fr; }
  .series-tile { aspect-ratio: 16 / 9; border-right: none; border-bottom: 0.5px solid var(--w06); }
  .brand-desc-section { grid-template-columns: 1fr; gap: 40px; }
  .featured-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .brand-card-content { padding: 28px 20px; }
  .featured-products-grid { grid-template-columns: 1fr; }
}
/* ═══════════════════════════════════
   SERIES DETAIL PAGE — Option A editorial layout
   brand.html.twig
═══════════════════════════════════ */
.series-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.series-hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
  animation: seriesHeroZoom 12s ease-out forwards;
}
.series-hero-bg picture,
.series-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Scale zoom — starts slightly larger than the container so no edge
   can ever be exposed regardless of how the image is composited.
   Pure scale is compositor-only and doesn't trigger the Firefox
   layout-fight that the homepage translateY fix was addressing. */
@keyframes seriesHeroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}
.series-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,9,8,0.88) 0%,
    rgba(10,9,8,0.3) 50%,
    rgba(10,9,8,0.1) 100%
  );
}
.series-hero-content {
  position: relative; z-index: 1;
  padding: 0 var(--side-pad) 64px;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}
.series-hero-content .section-eyebrow { margin-bottom: 16px; }
.series-hero-content .hero-headline { margin-bottom: 16px; }
.series-hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 30px);
  font-style: italic;
  color: var(--gold);
  line-height: 1.4;
}

/* Tagline + instrument count, side by side on one row instead of the
   count sitting up in the title row — tagline's own margin-bottom
   removed since the row itself now carries that spacing. */
.series-hero-subrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 32px;
}

/* Editmode drop zone for the hero image */
.series-hero-editmode-image {
  width: 100%; min-height: 400px;
  background: var(--ink-mid);
  border: 2px dashed var(--gold-dim);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px;
}
.series-hero-editmode-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}

/* Description section — generous centred text block */
.series-desc-section {
  border-top: 0.5px solid var(--w06);
  border-bottom: 0.5px solid var(--w06);
}
.series-desc-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px var(--side-pad);
  font-size: 18px;
  color: var(--w65);
  line-height: 1.8;
  font-weight: 300;
}
.series-desc-inner p { margin-bottom: 20px; }
.series-desc-inner p:last-child { margin-bottom: 0; }

/* Sub-category eyebrow sits inside section-wrap above the grid */
.series-subcats .section-wrap { padding-bottom: 0; }

/* CTA hint used in sub-category tiles */
.series-cta-hint {
  margin-top: auto;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 960px) {
  .series-hero-content { padding: 0 24px 48px; }
  .series-desc-inner { padding: 56px 24px; font-size: 16px; }
}