/* Service showcase pages — curated "best of" per discipline.
   Reuses the archive grid (.image-grid / .image-item) and global type.
   This file only adds the page intro and sub-section headings.
   Palette: neutrals only. Weight: 400 throughout (no bold). Type in rem. */

.large-title h1 {
  width: 800px;
  max-width: 90%;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.2;
}

.showcase-intro {
  width: 360px;
  max-width: 90%;
  margin: 1rem auto 0;
  line-height: 1.5;
}

.showcase-section {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 20px;
}

.showcase-section-head {
  width: 100%;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(196, 198, 189, 0.2);
  text-align: center;
}

.showcase-section-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #dcdfd6;
}
.showcase-section-desc {
  max-width: 640px;
  margin: 0.5rem auto 0;
  line-height: 1.4;
}

.showcase-empty {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  text-align: center;
}

/* Hero illustration — big feature image under the title/standfirst. */
.sc-hero {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding: 0 20px;
}
.sc-hero img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}
.sc-hero:hover img { opacity: 0.9; }

/* Fanned arc carousel — replaces the single hero. A wide, gentle arc whose
   ends run off-screen; cards are positioned by Wa_Showcase_Carousel.js.
   Dots reuse the archive .carousel-bullets styling (Wa_Archive.css). */
.sc-carousel {
  position: relative;
  width: 100%;
  margin: -80px 0 0;        /* pull the arc up under the title/standfirst */
  height: 620px;
  overflow: hidden;         /* clips the arc's ends off the sides */
}
.sc-car-fan {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 0;
  height: 0;
  transform-origin: 50% 0;
}
.sc-car-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 550px;
  height: 376px;            /* landscape, ~archive image aspect (+10% test) */
  margin-left: -275px;
  border-radius: 0;
  overflow: hidden;
  background: #262626;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  cursor: pointer;
  display: block;
}
.sc-car-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Centred project label + dots stacked below the arc, above the cards.
   Wrapped in .sc-car-controls so the label always clears the dots (which can
   wrap to more than one row) with a fixed gap beneath it. */
.sc-car-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sc-car-caption {
  margin: 0 0 10px;          /* 10px clear space under the label */
  max-width: 90%;
  text-align: center;
  color: #dcdfd6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-carousel .carousel-bullets {
  position: static;
  transform: none;
  left: auto;
  bottom: auto;
  flex-wrap: wrap;
  max-width: 90%;
  justify-content: center;
}

@media (max-width: 1280px) {
  .sc-carousel { height: 460px; }
  .sc-car-card { width: 380px; height: 260px; margin-left: -190px; }
}
@media (max-width: 699px) {
  .sc-carousel { height: 360px; margin-top: -30px; }
  .sc-car-card { width: 280px; height: 192px; margin-left: -140px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-car-card { transition: none; }
}

/* Overview-style introduction — matched EXACTLY to the profile Overview so it
   scales and stacks identically. Paragraphs are .statement.introduction-txt
   (Cambon comes from .statement in Wa_Global.css); size is driven by the same
   --cambon-body-size variable and breakpoints the profile uses. */
:root {
  --cambon-body-size: 2rem;     /* desktop */
  --cambon-body-lh: 1.1;
}
@media (min-width: 700px) and (max-width: 1199px) { :root { --cambon-body-size: 1.6rem; } }
@media (max-width: 699px) { :root { --cambon-body-size: 1.5rem; --cambon-body-lh: 1.15; } }

.sc-overview {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
@media (min-width: 700px) and (max-width: 1280px) {
  .sc-overview { padding-left: 3rem; padding-right: 3rem; }
}
.sc-overview .section-eyebrow { margin: 0 0 0.4rem; }
.sc-overview-standfirst { margin: 0 0 1rem; line-height: 1.4; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 700px) {
  .sc-overview .intro-grid { position: relative; }
  .sc-overview .intro-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #333;
  }
}
@media (max-width: 699px) {
  .intro-grid { grid-template-columns: 1fr; }
  /* When stacked, drop the row gap so the space between the two cells matches
     the 1rem paragraph rhythm (the last paragraph's own margin). */
  .sc-overview .intro-grid { row-gap: 0; }
}

.introduction-txt {
  color: #dcdfd6;
  margin: 0 0 1rem;
  font-size: var(--cambon-body-size);
  line-height: var(--cambon-body-lh);
  text-wrap: pretty;
}
@media (min-width: 700px) and (max-width: 1199px) { .introduction-txt { max-width: 420px; } }
@media (min-width: 1200px)                       { .introduction-txt { max-width: 520px; } }
@media (max-width: 699px)                        { .introduction-txt { max-width: 84vw; } }
.introduction-txt a {
  color: #dcdfd6;
  text-decoration: underline;
  text-decoration-color: #666;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s ease, text-decoration-thickness 0.25s ease;
}
.introduction-txt a:hover {
  text-decoration-color: #dcdfd6;
  text-decoration-thickness: 2px;
}
