/* ============================================================================
   BRANDS PAGE — BUILD 05B REVISION
   Supplements style.css. Reuses all shared tokens and base classes.
   Original BUILD 05B CSS preserved below for archived sections.
   ============================================================================ */


/* ---------------------------------------------------------------------------
   01 · HERO EXTENSIONS
   Shared .hero from style.css; brands adds trust strip + poster bg
   ------------------------------------------------------------------------ */
.brands-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--dark-gray);
}

.brands-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brands-hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero headline override — brands page only (~28% smaller than style.css base) */
.hero-headline {
  font-size: clamp(2.4rem, 6vw, 7rem);
  line-height: 0.9;
  margin-bottom: clamp(24px, 3vw, 44px);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
}

.hero-trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}


/* ---------------------------------------------------------------------------
   SECTION MODIFIERS
   ------------------------------------------------------------------------ */
.section--dark-alt  { background: var(--dark-gray); }
.section--surface   { background: var(--surface); }
.section--off-white { background: var(--off-white); color: var(--black); }


/* ---------------------------------------------------------------------------
   02 · WHAT I DO FOR BRANDS — Service editorial grid
   ------------------------------------------------------------------------ */
.brands-services-section { background: var(--black); }

.brands-services-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(48px, 6vw, 120px);
  align-items: start;
}

.brands-services-lhs {
  position: sticky;
  top: 100px;
}

.brands-services-headline {
  margin-top: 20px;
}

.brands-svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.brands-svc-item {
  display: grid;
  grid-template-columns: 24px 32px 1fr;
  column-gap: 24px;
  padding-block: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--border);
  align-items: start;
  transition: border-color var(--dur);
}

.brands-svc-item:last-child { border-bottom: 1px solid var(--border); }

.brands-svc-n {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  padding-top: 5px;
}

.brands-svc-icon {
  width: 28px;
  height: 28px;
  color: var(--muted);
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  /* data-icon-slot attribute marks each icon for future SVG swap */
}

.brands-svc-body { display: flex; flex-direction: column; gap: 10px; }

.brands-svc-name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.brands-svc-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  color: var(--text-2);
  line-height: 1.65;
}


/* ---------------------------------------------------------------------------
   03 · SELECTED BRAND WORK
   Reuses .film-strips / .film-strip / .strip-* from style.css
   ------------------------------------------------------------------------ */
.brands-work-section { background: var(--black); }

.brands-work-header {
  padding-top: var(--section-y);
  padding-bottom: clamp(32px, 4vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.brands-work-title {
  margin-top: 12px;
}

.brands-work-all-link {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
  flex-shrink: 0;
  white-space: nowrap;
  transition: color var(--dur);
}
.brands-work-all-link:hover { color: var(--off-white); }

.brands-work-footer {
  padding-top: clamp(20px, 2.5vw, 36px);
  padding-bottom: var(--section-y);
}


/* ---------------------------------------------------------------------------
   04 · SOCIAL / SHORT FORM CONTENT
   Left: editorial headline. Right: 2×2 9:16 slot grid.
   ------------------------------------------------------------------------ */
.shortform-section { background: var(--surface); }

.shortform-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

.shortform-lhs {
  position: sticky;
  top: 100px;
}

.shortform-headline {
  margin-bottom: clamp(20px, 2.5vw, 36px);
}

.shortform-lede,
.brands-lede {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  color: var(--text-2);
  line-height: 1.65;
  max-width: 40ch;
}

/* Intro lines under the services and work headlines */
.brands-lede { margin-top: clamp(20px, 2.5vw, 36px); }

.shortform-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.2vw, 16px);
}

.shortform-card {
  aspect-ratio: 9 / 16;
  background: var(--dark-gray);
  position: relative;
  overflow: hidden;
}

.shortform-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shortform-card-slot-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 235, 0.3);
  border: 1px solid rgba(244, 241, 235, 0.1);
  padding: 4px 8px;
  pointer-events: none;
}

.shortform-card-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 14px;
  background: linear-gradient(to top, rgba(9, 9, 9, 0.85) 0%, transparent 100%);
}

.shortform-card-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(244, 241, 235, 0.8);
}

.shortform-card-duration {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: rgba(244, 241, 235, 0.5);
  margin-top: 4px;
}

.shortform-cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.shortform-card--playable {
  cursor: pointer;
}

.shortform-card--playable:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.shortform-card-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(232, 40, 46, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--off-white);
  transition: background 0.2s, transform 0.2s;
  pointer-events: none;
}

.shortform-card--playable:hover .shortform-card-play-btn {
  background: var(--red);
  transform: translate(-50%, -50%) scale(1.08);
}


/* ---------------------------------------------------------------------------
   05 · FIRST PROJECT PILOT
   Clean typographic layout, scope list panel
   ------------------------------------------------------------------------ */
.brands-pilot-section { background: var(--black); }

.brands-pilot-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.brands-pilot-headline {
  margin-bottom: clamp(20px, 2.5vw, 36px);
}

.brands-pilot-sub {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: clamp(36px, 4.5vw, 60px);
  max-width: 48ch;
}

.brands-pilot-cta-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brands-pilot-cta-note {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 1.6;
  max-width: 44ch;
}

.brands-pilot-scope-panel {
  background: var(--surface);
  padding: clamp(28px, 3.5vw, 48px);
}

.brands-pilot-scope-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.brands-pilot-scope-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.brands-pilot-scope-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 15px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1vw, 1rem);
  color: var(--off-white);
}

.brands-pilot-scope-item:first-child { border-top: 1px solid var(--border); }

.brands-pilot-check {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}


/* ---------------------------------------------------------------------------
   SHARED SECTION HEADLINE SYSTEM — all four section h2s use this
   .brands-section-title governs font; individual classes keep only spacing.
   ------------------------------------------------------------------------ */
.brands-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--off-white);
}

.brands-section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}


/* ---------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .brands-services-grid,
  .shortform-inner,
  .brands-pilot-inner {
    grid-template-columns: 1fr;
    gap: clamp(40px, 5vw, 64px);
  }

  .brands-services-lhs,
  .shortform-lhs {
    position: static;
  }

  .brands-work-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .shortform-cards {
    gap: 8px;
  }

  .brands-pilot-inner {
    grid-template-columns: 1fr;
  }
}

/* Hero copy variants — desktop text by default, condensed text on small phones */
.hero-copy--mobile { display: none; }

@media (max-width: 480px) {
  .hero-copy--desktop,
  .hero-trust-item--desktop { display: none; }
  .hero-copy--mobile { display: inline; }

  /* Condensed mobile hero — shorter text block leaves more of the film visible */
  .hero-kicker { margin-bottom: 14px; }

  /* Mobile headline in the services-hero style: white upright line + red italic
     accent line. Two fixed lines, never hyphenated; size follows the content
     width (100vw − 2 × 20px gutter). 6.3 = widest line "Commercials."
     (6.1em, Fraunces italic, optical sizing) + ~2.5% margin; capped at 3rem. */
  .hero-headline {
    font-size: min(3rem, calc((100vw - 40px) / 6.3));
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.9;
    margin-bottom: 18px;
    overflow-wrap: normal;
    hyphens: manual;
  }
  .hero-headline .hero-copy--mobile { white-space: nowrap; }
  .hero-headline em {
    font-style: italic;
    font-weight: 400;
    color: var(--red);
    text-transform: none;
  }

  .hero-sub { margin-bottom: 20px; }

  .hero-trust {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }

  /* Brands-only veil: keeps kicker and subline readable over bright video frames.
     Stops are anchored in px from the bottom (kicker top ≤ ~450px). */
  .brands-hero-bg ~ .hero-veil {
    background: linear-gradient(
      to top,
      rgba(9, 9, 9, 0.94) 0,
      rgba(9, 9, 9, 0.86) 460px,
      rgba(9, 9, 9, 0.30) 580px,
      rgba(9, 9, 9, 0.12) 100%
    );
  }
}


/* ---------------------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .brands-hero-bg img,
  .brands-hero-bg video {
    animation: none;
  }
}


/* ============================================================================
   ARCHIVED BUILD 05B ORIGINAL CSS — sections temporarily removed from view
   (Problem/Solution, Manifesto, Process, Proof Case, Work Grid, Contact Portrait)
   These remain for reference and potential reactivation.
   ============================================================================ */

/* Prob split */
.prob-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: center;
}
.prob-text { display: flex; flex-direction: column; gap: 20px; }
.prob-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 3.5rem);
  font-weight: 700;
  color: var(--off-white);
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.prob-body { font-family: var(--font-sans); color: var(--text-2); line-height: 1.65; }
.prob-solution {
  border-left: 2px solid var(--red);
  padding-left: 20px;
  font-family: var(--font-sans);
  color: var(--off-white);
  line-height: 1.65;
}
.prob-media img { width: 100%; display: block; }

/* Manifesto */
.manifesto-section { background: var(--black); padding-block: clamp(80px, 9vw, 160px); }
.manifesto-inner { max-width: 900px; }
.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--off-white);
}
.manifesto-text p + p { margin-top: 1em; }
.manifesto-text em { color: var(--red); font-style: italic; }

/* Process */
.process-section-head { margin-bottom: clamp(48px, 5vw, 80px); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.process-step { display: flex; flex-direction: column; gap: 16px; }
.process-step-num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--red);
  letter-spacing: 0.1em;
}
.process-step-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.process-step h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--off-white);
}
.process-step p { font-family: var(--font-sans); font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }
.process-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 56px);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.process-note-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* Proof case */
.proof-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: center;
}
.proof-video-wrap { position: relative; cursor: pointer; }
.proof-thumb { width: 100%; display: block; }
.proof-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proof-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(9,9,9,0.6);
  border: 1px solid rgba(244,241,235,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur), border-color var(--dur);
}
.proof-video-wrap:hover .proof-play-btn {
  background: var(--red);
  border-color: var(--red);
}
.proof-play-icon {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid white;
  margin-left: 4px;
}
.proof-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(244,241,235,0.55);
  border: 1px solid rgba(244,241,235,0.2);
  padding: 4px 10px;
}
.proof-copy { display: flex; flex-direction: column; gap: 16px; }
.proof-kicker { color: var(--red); }
.proof-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--off-white);
}
.proof-copy p { font-family: var(--font-sans); color: var(--text-2); line-height: 1.65; }
.proof-spec-note { font-family: var(--font-mono); font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.proof-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--off-white);
  border-bottom: 1px solid rgba(244,241,235,0.3);
  padding-bottom: 4px;
  margin-top: 8px;
  transition: color var(--dur), border-color var(--dur);
}
.proof-cta:hover { color: var(--red); border-color: var(--red); }

/* 2×2 Film grid (BUILD 05B original — superseded by film strips) */
.film-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.film-card {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
}
.film-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease);
}
.film-card:hover .film-thumb { transform: scale(1.04); }
.film-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,9,9,0.75) 0%, rgba(9,9,9,0.15) 60%, rgba(9,9,9,0.55) 100%);
}
.film-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(16px,2vw,28px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.film-cat {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
}
.film-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--off-white);
  line-height: 0.9;
}
.film-watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
  margin-top: 4px;
}
.film-watch-arrow::after { content: '→'; }

/* Archived Pilot layout */
.pilot-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}
.pilot-copy { display: flex; flex-direction: column; gap: 24px; }
.pilot-sub { font-family: var(--font-sans); color: var(--text-2); line-height: 1.65; }
.pilot-trust { border-left: 2px solid var(--red); padding-left: 20px; }
.pilot-trust-claim { font-family: var(--font-sans); font-weight: 500; color: var(--off-white); line-height: 1.5; }
.pilot-trust-detail { font-family: var(--font-sans); font-size: 0.875rem; color: var(--text-2); margin-top: 8px; line-height: 1.6; }
.pilot-cta-block { display: flex; flex-direction: column; gap: 12px; }
.pilot-cta-sub { font-family: var(--font-mono); font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); max-width: 44ch; line-height: 1.6; }
.pilot-scope-panel { background: var(--surface); padding: clamp(28px,3.5vw,48px); }
.pilot-scope-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
  margin-bottom: 20px;
}
.pilot-scope-list { list-style: none; display: flex; flex-direction: column; }
.pilot-scope-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--off-white);
}
.pilot-scope-item:first-child { border-top: 1px solid var(--border); }
.pilot-check { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.pilot-visual { margin-top: 24px; overflow: hidden; }
.pilot-visual img { width: 100%; display: block; }

/* Archived contact section (portrait layout) */
.brands-contact { background: var(--surface); }
.brands-contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.brands-contact-portrait { aspect-ratio: 3/4; overflow: hidden; max-width: 340px; }
.brands-contact-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.brands-contact-copy { display: flex; flex-direction: column; gap: 20px; }
.brands-contact-links { display: flex; flex-direction: column; gap: 8px; }
.brands-contact-link {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-2);
  border-bottom: 1px solid rgba(244,241,235,0.15);
  padding-bottom: 3px;
  transition: color var(--dur), border-color var(--dur);
}
.brands-contact-link:hover { color: var(--off-white); border-color: rgba(244,241,235,0.4); }
.brands-contact-trust {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Footer supplement — footer color inherited from style.css (var(--red)) */
.footer-brand {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}


/* ===========================================================================
   BRANDS V2 · CREATIVE PREVIEW — rules copied 1:1 from css/investment.css
   (BUILD 23.3 component, moved from investment/ to brands/). The pricing page
   keeps its own copy; js/investment-preview.js expects these class names.
   ======================================================================== */
.inv-cp {
  position: relative;
  padding-block: var(--section-y);
  background:
    radial-gradient(ellipse 60% 50% at 88% 0%, rgba(232,40,46,0.07), rgba(232,40,46,0) 70%),
    #0d0c0b;
  border-top: 1px solid var(--border);
  scroll-margin-top: var(--header-h);
}

.inv-cp-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}

.inv-cp-title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 5.75rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--off-white);
}
.inv-cp-title em { font-style: italic; color: var(--red); }

.inv-cp-lead {
  margin-top: clamp(22px, 2.4vw, 32px);
  max-width: 50ch;
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
  line-height: 1.65;
  color: var(--text-2);
}

.inv-cp-price {
  margin-top: clamp(32px, 3.6vw, 52px);
  padding: clamp(20px, 2.2vw, 28px) 0;
  border-top: 1px solid rgba(244,241,235,0.14);
  border-bottom: 1px solid rgba(244,241,235,0.14);
}
.inv-cp-price-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.inv-cp-price-value {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--off-white);
  font-variant-numeric: lining-nums;
}
/* Tax note (BUILD 23.3.1) — quiet, below price / budget range */
.inv-vat {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--muted);
}
.inv-vat[hidden] { display: none; }

.inv-cp-price-note {
  margin-top: 10px;
  max-width: 54ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
}

.inv-cp-h {
  margin: clamp(28px, 3vw, 40px) 0 14px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.inv-cp-inc { display: grid; gap: 10px; }
.inv-cp-inc li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9875rem;
  line-height: 1.55;
  color: var(--off-white);
}
.inv-cp-inc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 2px;
  background: var(--red);
}

.inv-cp-fine {
  margin-top: 20px;
  max-width: 60ch;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  line-height: 1.7;
  color: var(--muted);
}

/* Mini brief */
.inv-cp-form-wrap {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.inv-cp-form {
  padding: clamp(24px, 2.8vw, 40px);
  background: rgba(17,17,17,0.85);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
}
.inv-cp-form-kicker {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--red);
}
.inv-cp-form-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--off-white);
}
.inv-cp-form-lead {
  margin: 10px 0 clamp(20px, 2.4vw, 28px);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
}

.inv-cp-field + .inv-cp-field { margin-top: 18px; }
.inv-cp-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--off-white);
}
.inv-cp-req {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.inv-cp-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--black);
  border: 1px solid rgba(244,241,235,0.22);
  border-radius: 0;
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color var(--dur) var(--ease);
}
.inv-cp-textarea { resize: vertical; min-height: 88px; }
.inv-cp-input::placeholder { color: var(--muted); }
.inv-cp-input:hover { border-color: rgba(244,241,235,0.45); }
.inv-cp-input:focus { outline: none; border-color: var(--red); }
.inv-cp-input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.inv-cp-input[aria-invalid="true"] { border-color: #FF6A6E; }
.inv-cp-field .inv-error { margin-top: 8px; }

.inv-cp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 2.4vw, 30px);
}
.inv-cp-send { flex: 1 1 auto; justify-content: center; }
.inv-cp-privacy {
  margin-top: 14px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}


.inv-kicker-red { color: var(--red); }
.inv-optional {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: var(--muted);
}
.inv-error {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #FF6A6E;
}
.inv-error[hidden] { display: none; }

.inv-notice {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 2px solid var(--red);
  background: rgba(232,40,46,0.08);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--off-white);
}
.inv-notice[hidden] { display: none; }

.inv-status {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 62ch;
}
.inv-status [hidden] { display: none; }

/* ===========================================================================
   BRANDS V2 · page components (existing tokens only)
   ======================================================================== */

/* 01 · Hero: white upright line + red italic line */
.hero-headline--v2 em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--red);
  letter-spacing: -0.02em;
}

.brands-kicker-red { color: var(--red); }

/* 01 · Hero (Korrektur 01): original loop, compact left text block.
   Left veil keeps the copy readable over every shot of the montage. */
.brands-hero--v2 .hero-sub { color: #D6D2CE; }
@media (min-width: 901px) {
  /* Desktop only — mobile keeps its existing brands veil (see ~line 500) */
  .brands-hero--v2 .hero-veil {
    background:
      linear-gradient(to right, rgba(9,9,9,0.72) 0%, rgba(9,9,9,0.38) 42%, rgba(9,9,9,0) 68%),
      linear-gradient(to top, rgba(9,9,9,0.9) 0%, rgba(9,9,9,0.5) 42%, rgba(9,9,9,0.2) 100%);
  }
  /* Desktop: text block ≈ 45–50 % of the width, smaller display size */
  .brands-hero--v2 .hero-headline {
    max-width: 50%; /* of the shell's content width */
    font-size: clamp(2.75rem, 4.3vw, 5.5rem);
    line-height: 0.92;
    overflow-wrap: normal;
    hyphens: manual;
  }
  .brands-hero--v2 .hero-headline em { display: inline-block; margin-top: 0.08em; }
  .brands-hero--v2 .hero-sub { max-width: min(44ch, 50%); }
}
@media (max-width: 480px) {
  /* Same mobile formula as above, re-measured for the widest line of the
     new copy ("MARKENFILME", uppercase, ≈ 8.1em) + margin; capped at 3rem. */
  .brands-hero--v2 .hero-headline { font-size: min(3rem, calc((100vw - 40px) / 8.4)); }
}

/* 02 · Why: numbered list without icons */
.brands-why-list .brands-svc-item { grid-template-columns: 32px 1fr; }
.brands-why-list .brands-svc-n { color: var(--red); }

/* 03 · VALMONT */
.brands-valmont { background: var(--surface); border-top: 1px solid var(--border); }
.brands-valmont-head { max-width: 760px; }
.brands-valmont-head .brands-section-title { margin-top: 16px; }
.brands-valmont-film { margin: clamp(40px, 5vw, 72px) 0 0; }
.brands-valmont-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
  border-block: 1px solid var(--border);
  overflow: hidden;
}
.brands-valmont-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--black);
  pointer-events: none; /* pure loop: no player UI, no click-to-pause */
}
.brands-valmont-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-2);
}
.brands-valmont-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white);
  border: 1px solid rgba(232,40,46,0.6);
  padding: 4px 8px 3px;
}

/* 04–06 · Creative Preview — the only light section of the page.
   Local palette (scoped to .brands-cp, global tokens untouched):
   section #D8D3CC · offer card #F2EEE9 · anthracite text · accent #C31D32
   (darker sibling of --red; white on it and it on cream both pass AA). */
.brands-cp {
  --cp-bg:     #D8D3CC;
  --cp-card:   #F2EEE9;
  --cp-field:  #FBF9F6;
  --cp-ink:    #1F1D1B;
  --cp-ink-2:  #45413D;
  --cp-muted:  #5F5A55;
  --cp-line:   rgba(31, 29, 27, 0.16);
  --cp-accent: #C31D32;
  --cp-accent-hover: #A8182B;
  background: var(--cp-bg);
  border-top: 0;
  color: var(--cp-ink);
}

.brands-cp-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}

.brands-cp-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cp-ink);
}
.brands-cp-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 2px;
  background: var(--cp-accent);
}
.brands-cp .inv-cp-title { color: var(--cp-ink); }
.brands-cp .inv-cp-title em { color: var(--cp-accent); }
.brands-cp .inv-cp-lead { color: var(--cp-ink-2); }

/* Offer card */
.brands-cp-card {
  padding: clamp(24px, 3vw, 44px);
  background: var(--cp-card);
  border-top: 3px solid var(--cp-accent);
  box-shadow: 0 1px 0 rgba(31, 29, 27, 0.06), 0 24px 48px -32px rgba(31, 29, 27, 0.35);
}
.brands-cp-card-head {
  padding-bottom: clamp(18px, 2vw, 24px);
  border-bottom: 1px solid var(--cp-line);
}
.brands-cp .inv-cp-price-label,
.brands-cp .inv-vat,
.brands-cp .inv-cp-h { color: var(--cp-muted); }
.brands-cp .inv-cp-price-value { color: var(--cp-ink); }
.brands-cp .inv-cp-h { margin: clamp(20px, 2.2vw, 28px) 0 12px; }
.brands-cp .inv-cp-inc li { color: var(--cp-ink); }
.brands-cp .inv-cp-inc li::before { background: var(--cp-accent); }
.brands-cp .brands-cp-exc li { color: var(--cp-ink-2); }
.brands-cp .brands-cp-exc li::before { background: var(--cp-muted); width: 10px; }
.brands-cp .inv-cp-price-note {
  margin-top: clamp(20px, 2.2vw, 28px);
  padding-top: clamp(16px, 1.8vw, 20px);
  border-top: 1px solid var(--cp-line);
  color: var(--cp-ink-2);
}

/* Red buttons inside the light section use the accent */
.brands-cp .btn--red { background: var(--cp-accent); color: #fff; }
.brands-cp .btn--red:hover { background: var(--cp-accent-hover); }
.brands-cp .btn--outline { border-color: rgba(31, 29, 27, 0.4); color: var(--cp-ink); }
.brands-cp .btn--outline:hover { border-color: var(--cp-ink); background: rgba(31, 29, 27, 0.05); }
.brands-cp :focus-visible { outline-color: var(--cp-ink); }

.brands-cp-toggle {
  width: 100%;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(22px, 2.4vw, 30px);
  padding-block: 17px;
}
.brands-cp-toggle [hidden] { display: none; }
.brands-cp-chevron { transition: transform var(--dur) var(--ease); }
.brands-cp-toggle.is-open .brands-cp-chevron { transform: rotate(180deg); }

/* 05 · Mini brief, directly below the offer */
.brands-cp-panel {
  margin-top: clamp(20px, 2.4vw, 32px);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.brands-cp-panel[hidden] { display: none; }
.brands-cp .inv-cp-form {
  background: var(--cp-card);
  border: 0;
  border-top: 3px solid var(--cp-accent);
  box-shadow: 0 24px 48px -32px rgba(31, 29, 27, 0.35);
}
.brands-cp .inv-cp-form-kicker,
.brands-cp .inv-cp-req { color: var(--cp-accent); }
.brands-cp .inv-cp-form-title,
.brands-cp .inv-cp-label { color: var(--cp-ink); }
.brands-cp .inv-cp-form-lead { color: var(--cp-ink-2); }
.brands-cp .inv-optional,
.brands-cp .inv-cp-privacy { color: var(--cp-muted); }
.brands-cp .inv-status { color: var(--cp-ink-2); }
.brands-cp .inv-cp-input {
  background: var(--cp-field);
  border-color: rgba(31, 29, 27, 0.28);
  color: var(--cp-ink);
}
.brands-cp .inv-cp-input::placeholder { color: #8A847E; }
.brands-cp .inv-cp-input:hover { border-color: rgba(31, 29, 27, 0.55); }
.brands-cp .inv-cp-input:focus { border-color: var(--cp-accent); }
.brands-cp .inv-cp-input:focus-visible { outline-color: var(--cp-accent); }
.brands-cp .inv-cp-input[aria-invalid="true"] { border-color: var(--cp-accent); border-width: 2px; }
.brands-cp .inv-error { color: var(--cp-accent); font-weight: 500; }
.brands-cp .inv-notice {
  background: rgba(195, 29, 50, 0.07);
  border-left-color: var(--cp-accent);
  color: var(--cp-ink);
}
.brands-cp-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px clamp(20px, 2.4vw, 32px);
}
.brands-cp-fields .inv-cp-field + .inv-cp-field { margin-top: 0; }
.brands-cp-mailnote {
  margin-top: clamp(22px, 2.4vw, 30px);
  max-width: 70ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--cp-ink-2);
}
.brands-cp .inv-cp-actions { max-width: 640px; margin-top: 14px; }

/* 06 · Quieter alternative: full production → /investment/ */
.brands-cp-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 40px;
  margin-top: clamp(48px, 5vw, 80px);
  padding-top: clamp(24px, 2.6vw, 36px);
  border-top: 1px solid rgba(31, 29, 27, 0.22);
}
.brands-cp-alt-text { max-width: 62ch; }
.brands-cp-alt-kicker {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cp-muted);
}
.brands-cp-alt-title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--cp-ink);
}
.brands-cp-alt-copy {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--cp-ink-2);
}
.brands-cp-alt-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cp-ink);
  border-bottom: 1px solid rgba(31, 29, 27, 0.45);
  padding: 10px 0 4px;
  transition: color var(--dur), border-color var(--dur);
}
.brands-cp-alt-link:hover { color: var(--cp-accent); border-color: var(--cp-accent); }

/* 07 · Compact gallery */
.brands-gallery-section { padding-bottom: var(--section-y); }
.brands-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
}
.brands-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}
.brands-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.brands-tile:hover .brands-tile-img { transform: scale(1.04); }
.brands-tile-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,9,0.92) 0%, rgba(9,9,9,0.25) 55%, rgba(9,9,9,0.1) 100%);
  pointer-events: none;
}
.brands-tile-num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--red);
}
.brands-tile-body {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.brands-tile-cat {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  line-height: 1.4;
}
.brands-tile-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.5rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--off-white);
  overflow-wrap: anywhere;
}
/* The play button covers the whole tile; its label sits bottom-left */
.brands-tile-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  cursor: pointer;
}
.brands-tile-play svg { margin-bottom: 1px; }
.brands-tile:hover .brands-tile-play { color: var(--red); }
.brands-tile-play:focus-visible { outline-offset: -3px; color: var(--red); }
/* Case-study link above the play surface */
.brands-tile-case {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 1px solid rgba(244,241,235,0.3);
}
.brands-tile-case:hover { color: var(--off-white); }

/* 09 · Contact */
.contact-headline em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}
.btn--contact-solid { background: white; color: var(--red); border-color: white; }
.btn--contact-solid:hover { background: var(--off-white); color: var(--red); border-color: var(--off-white); }
.contact-social { align-items: center; }
.contact-link--plain { text-transform: none; }

/* Responsive */
@media (max-width: 1280px) and (min-width: 901px) {
  /* five tiles stay side by side; the case-study link moves above the play label */
  .brands-tile-case { top: 12px; bottom: auto; }
}

@media (max-width: 1024px) {
  .brands-cp-layout { grid-template-columns: 1fr; }
  .brands-cp-card { max-width: 640px; }
}

@media (max-width: 900px) {
  /* Horizontally swipeable gallery */
  .brands-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .brands-tile {
    flex: 0 0 min(68vw, 300px);
    scroll-snap-align: start;
  }
  .brands-tile-cat { font-size: 0.625rem; }
  .brands-tile-title { font-size: 1.375rem; }
}

@media (max-width: 640px) {
  .brands-cp-fields { grid-template-columns: 1fr; }
  .brands-cp .inv-cp-actions .btn { width: 100%; justify-content: center; }
  .brands-cp .inv-cp-form { margin-inline: calc(var(--gutter) * -0.5); }
  .brands-cp-card { margin-inline: calc(var(--gutter) * -0.5); }
  .brands-cp-alt-link { width: 100%; }
  .contact-actions .btn { width: 100%; justify-content: center; }
}
