/* ============================================
   SOLUTIONS PAGE
   ============================================ */

.accent-text { color: var(--accent); }

/* ======== PAGE INTRO ======== */
.page-intro {
  padding-top: calc(var(--header-height) + 6rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.page-intro::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 800px;
  background: radial-gradient(ellipse, var(--accent-dim), transparent 60%);
  pointer-events: none;
  opacity: 0.4;
  z-index: 2;
}

.page-intro > .container {
  position: relative;
  z-index: 3;
}

.page-intro-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 4rem;
  align-items: end;
  position: relative;
}

.page-intro h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.75rem, 5.4vw, 5.75rem);
}
.page-intro h1:lang(fr), .page-intro h1:lang(nl) { font-size: clamp(2.4rem, 4.4vw, 4.75rem); }

.page-intro h1 .nowrap {
  white-space: normal;
}

.page-intro-right p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.page-intro-meta {
  display: flex;
  gap: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.page-intro-meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.meta-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .page-intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ======== SPECIALISATIONS GRID ======== */
.specialisations-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-lead {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-top: 0.75rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.spec-card {
  background: var(--bg-secondary);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: all 0.4s var(--ease-out);
  min-height: 380px;
  overflow: hidden;
}

.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.spec-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--sc), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  filter: blur(30px);
}

.spec-card:hover::before { transform: scaleX(1); }
.spec-card:hover::after { opacity: 0.15; }
.spec-card:hover { background: var(--bg-elevated); }

.spec-icon {
  width: 48px;
  height: 48px;
  color: var(--sc);
}

.spec-icon svg {
  width: 100%;
  height: 100%;
}

.spec-tag {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.spec-card h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.05;
  font-weight: 700;
}

.spec-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.spec-meta {
  display: flex;
  gap: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec-meta span {
  flex: 1;
  position: relative;
}

.spec-meta span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: 0;
  color: var(--text-dim);
}

.spec-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: all 0.3s;
}

.spec-card:hover .spec-arrow {
  color: var(--sc);
  transform: translateX(6px);
}

@media (max-width: 900px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-card { min-height: auto; }
}

/* ======== PILLARS LIST ======== */
.pillars-section {
  background: var(--bg-primary);
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.pillar-row {
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.4s var(--ease-out);
}

.pillar-head {
  display: grid;
  grid-template-columns: 100px 1.2fr 2fr auto;
  gap: 3rem;
  padding: 3.5rem 0;
  position: relative;
  cursor: pointer;
  align-items: start;
  outline: none;
}

.pillar-head:focus-visible {
  outline: 2px solid var(--pc);
  outline-offset: 4px;
}

.pillar-chevron {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  align-self: start;
  margin-top: 0.35rem;
  transition: transform 0.45s var(--ease-out), color 0.3s;
}

.pillar-row:hover .pillar-chevron { color: var(--pc); }
.pillar-row.expanded .pillar-chevron { transform: rotate(180deg); color: var(--pc); }

.pillar-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--pc);
  transition: width 0.6s var(--ease-out);
}

.pillar-row:hover::before { width: 100%; }
.pillar-row:hover { background: rgba(255, 255, 255, 0.015); }
.pillar-row.expanded::before { width: 100%; }
.pillar-row.expanded { background: rgba(255, 255, 255, 0.02); }

/* ---- Expandable detail panel ---- */
.pillar-detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.55s var(--ease-out), opacity 0.4s var(--ease-out);
}

.pillar-detail-inner {
  overflow: hidden;
  min-height: 0;
}

.pillar-row.expanded .pillar-detail {
  grid-template-rows: 1fr;
  opacity: 1;
}

.pd-content {
  padding: 0.5rem 0 3.75rem;
}

.pd-quote {
  border-left: 3px solid var(--pc);
  padding: 0.9rem 1.5rem;
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.025);
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.pd-quote strong {
  font-style: normal;
  font-weight: 700;
  color: var(--pc);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85em;
  margin-right: 0.35rem;
}

.pd-grid {
  align-items: start;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.pd-cards {
  align-content: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.pd-card {
  background: var(--bg-secondary);
  padding: 1.5rem 1.4rem;
}

.pd-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  position: relative;
  padding-left: 0.85rem;
}

.pd-card h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: var(--pc);
}

.pd-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.pd-prose-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.pd-prose p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.pd-prose p:last-child { margin-bottom: 0; }

/* Photo inside an expanded pillar panel */
.pd-figure {
  margin: 1.75rem 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

.pd-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(0.92) brightness(0.92);
  transition: filter 0.5s var(--ease-out);
}

.pillar-row.expanded .pd-figure img { filter: none; }

/* Portrait source: taller box, pushed to the right margin */
.pd-figure-portrait {
  max-width: 300px;
  margin-left: auto;
  margin-right: 0;
}

.pd-figure-portrait img {
  aspect-ratio: 4 / 5;
}

/* Mirrored pair, facing each other across the column */
.pd-figure-pair {
  max-width: none;
  margin-left: 0;
  display: grid;
  grid-template-columns: 300px 300px;
  justify-content: space-between;
  gap: 2rem;
  background: none;
  border: none;
}

.pd-figure-pair img {
  border: 1px solid var(--border);
}



/* ======== FULL-BLEED PHOTO BAND ======== */
.practice-band {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.practice-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg-secondary);
}

.practice-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 45%;
  filter: brightness(0.82) saturate(0.95);
  transform: scale(1.02);
  transition: transform 0.9s var(--ease-out), filter 0.6s var(--ease-out);
}

.practice-shot:hover img {
  transform: scale(1.06);
  filter: brightness(0.95) saturate(1);
}

.practice-shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4.5rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.88) 70%);
  pointer-events: none;
}

.practice-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 700px) {
  .practice-grid { grid-template-columns: 1fr; }
  .practice-shot img { aspect-ratio: 16 / 10; }
  .practice-shot figcaption { padding: 3.5rem 1.5rem 1.25rem; font-size: 0.95rem; }
}

.pillar-num-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.5rem;
  padding-left: 0.75rem;
}

.pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.pillar-row .pillar-dot {
  width: 12px;
  height: 12px;
  background: var(--pc);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--pc);
}

.pillar-title-col h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.pillar-promise {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pc);
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--pc);
  border-radius: 2px;
}

.pillar-desc-col p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.pillar-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
}

.pillar-bullets li {
  font-size: 0.92rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pillar-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--pc);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .pillar-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem 0;
  }
  .pillar-chevron {
    position: absolute;
    top: 2.5rem;
    right: 0;
    margin-top: 0;
  }
  .pillar-num-col {
    flex-direction: row;
    align-items: center;
    padding-top: 0;
  }
  .pillar-bullets {
    grid-template-columns: 1fr;
  }
  .pd-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pd-cards { grid-template-columns: 1fr; }
}

/* ======== CTA ======== */
.cta-section {
  padding-bottom: 6rem;
}

.cta-block {
  position: relative;
  border: 1px solid var(--border);
  padding: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  background: linear-gradient(135deg, transparent 40%, var(--accent-dim) 100%);
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-dim), transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; max-width: 720px; }
.cta-inner h2 { margin: 1.5rem 0 2rem; }
.cta-inner p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.6;
}

/* ---- Vendor-neutral marquee ---- */
.vendorfree-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.vendor-marquee {
  margin-top: 3.5rem;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.vendor-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: vendor-scroll 45s linear infinite;
}

.vendor-marquee:hover .vendor-track { animation-play-state: paused; }

.vendor-name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  transition: color 0.25s var(--ease-out);
}

.vendor-name:hover { color: var(--accent); }

.vendor-logo {
  height: clamp(26px, 3vw, 40px);
  width: auto;
  object-fit: contain;
  /* normalise any logo to a uniform white silhouette on the dark bar */
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.25s var(--ease-out);
}

.vendor-logo:hover { opacity: 1; }
.vendor-logo--sm { height: clamp(11px, 1.2vw, 16px); }

@keyframes vendor-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Keep the logo bar scrolling even when the OS has animations turned off (Windows default on many PCs) */
@media (prefers-reduced-motion: reduce) {
  .vendor-track { animation: vendor-scroll 70s linear infinite !important; }
}

/* Mobile fixes */
.page-intro-grid > *, .pd-grid > *, .pd-cards > * { min-width: 0; }
@media (max-width: 560px) {
  .page-intro h1 .nowrap { white-space: normal; }
  .page-intro-meta { flex-wrap: wrap; gap: 1.5rem 2rem; }
  .pd-figure-portrait { max-width: 100%; }
}

.vendor-photo { margin: 3.5rem 0 0; overflow: hidden; }
.vendor-photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: 55% 45%; }
@media (max-width: 720px) { .vendor-photo { margin-top: 2.5rem; } .vendor-photo img { aspect-ratio: 3 / 2; } }
