/* ==========================================================================
   Le Labo × Formula 1 campaign — "Grid 26" speculative collaboration.
   Loaded only on campaigns/le-labo-f1.html, after the theme-agnostic
   assets/css/style.css (navbar/footer, --maroon/--cream/--gold tokens).
   Scoped under .lelabo-theme (set on <body>). The desktop composition is
   six full-width raster artwork panels (each already final editorial
   design, approved phase by phase) with no CSS-built layout of its own —
   every panel is width:100%/height:auto, so the whole page scales
   proportionally at any viewport with no separate mobile artwork.

   The campaigns-overview entry (.campaign-card-lelabo, bottom of this
   file) is intentionally NOT scoped under .lelabo-theme — it is used on
   marketing-campaigns.html, which carries no theme class.
   ========================================================================== */

.lelabo-theme {
  --lelabo-oxblood: #6b1b17;
  --lelabo-cream: #ece2cc;
  --lelabo-ink: #1a1612;
  background: #9c9586;
}

.lelabo-theme * { box-sizing: border-box; }

.lelabo-theme main {
  padding: clamp(20px, 3.5vw, 44px) 20px 64px;
}

.lelabo-theme img { display: block; max-width: 100%; }

.lelabo-theme a:focus-visible,
.lelabo-theme button:focus-visible,
.lelabo-theme [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .lelabo-theme * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============== RETURN LINK (above the artwork) ==============
   Deliberately NOT the shared gold/maroon .back-link component — this
   page gets its own scoped "lab label / paddock credential" treatment
   so it reads as part of the Le Labo artwork, not the portfolio chrome.
   Nothing here touches .back-link, so every other page's return link
   (PCT, Vocelli, etc.) is unaffected. */
.lelabo-theme .lelabo-return-wrap {
  max-width: 1440px;
  margin: 0 auto 28px;
}

.lelabo-theme .lelabo-backlabel {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 10px 18px 10px 24px;
  background-color: var(--lelabo-cream);
  background-image: repeating-linear-gradient(rgba(0, 0, 0, 0.025) 0 2px, transparent 2px 4px);
  border-top: 1px solid var(--lelabo-ink);
  border-bottom: 1px solid var(--lelabo-ink);
  border-radius: 0;
  color: var(--lelabo-ink);
  font-family: 'Special Elite', var(--font-mono), monospace;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lelabo-theme .lelabo-backlabel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--lelabo-oxblood);
}
.lelabo-theme .lelabo-backlabel-text {
  white-space: nowrap;
}
.lelabo-theme .lelabo-backlabel-index {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #6b6456;
  white-space: nowrap;
}
.lelabo-theme .lelabo-backlabel:hover,
.lelabo-theme .lelabo-backlabel:focus-visible {
  transform: translateX(-4px);
  box-shadow: 4px 7px 0 rgba(0, 0, 0, 0.2);
}
.lelabo-theme .lelabo-backlabel:focus-visible {
  outline: 2px solid var(--lelabo-oxblood);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .lelabo-theme .lelabo-backlabel { transition: none; }
}

/* ============== PAGE CONTAINER ============== */
.lelabo-theme .lelabo-page {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  background: #efe7d8;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

/* Six approved artwork panels, stacked with no gap of their own — any
   visual gap is already baked into the artwork itself. */
.lelabo-theme .lelabo-phase { width: 100%; display: block; }
.lelabo-theme .lelabo-phase img {
  width: 100%;
  height: auto;
  display: block;
}

/* Unscoped (not .lelabo-theme-prefixed): also used by the campaigns-page
   preview link below, on marketing-campaigns.html, which carries no
   theme class. */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============== CAMPAIGNS-PAGE PREVIEW ==============
   The supplied credential/tag artwork is the entire preview — no card
   chrome, no copy outside the image, same "physical object" treatment as
   the Projects-page previews (e.g. the Vocelli ticket). */
.campaign-card-lelabo {
  display: block;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  line-height: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.campaign-card-lelabo img {
  display: block;
  width: 100%;
  height: auto;
}
.campaign-card-lelabo:hover,
.campaign-card-lelabo:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}
.campaign-card-lelabo:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .campaign-card-lelabo { transition: none; }
}
