/* DUTCH DESIGN AGENCY — service.css
   Service-detail template (level-2 pages, e.g. strategy/research/market.html):
   offwhite header (title + subtitle) ABOVE a black reading panel whose sticky
   left rail holds a NAVIGATION breadcrumb + a pill-nav of every level-2 service
   in the pillar (current pill filled white); white long-form prose on the
   right. Below the panel: "Selected Projects" 3-card row + a "Let's Talk" CTA
   (which stands in for the footer get-started band; band + marquee disabled).
   Loaded after base.css / nav.css / footer.css. */

/* ---- Header (offwhite) --------------------------------------------------- */
.svc-head { padding: calc(var(--nav-h) + var(--s-md) + var(--s-sm)) var(--gutter) var(--s-md); }
.svc-title { font-size: var(--fs-2xl); font-weight: 300; line-height: 1.02; max-width: 18ch; }
.svc-subtitle { font-size: var(--fs-sm); line-height: 1.4; color: var(--black); padding-top: var(--s-3xs); }
@media (max-width: 767px) {
  .svc-head { padding-top: calc(var(--nav-h) + var(--s-sm)); }
  .svc-title { font-size: var(--fs-lg); max-width: none; }
}

/* ---- Black reading panel (full-bleed) ----------------------------------- */
.svc-panel {
  background: var(--black); color: var(--white);
  margin: 0; padding: var(--s-lg) var(--gutter) var(--s-2xl);
}
.svc-panel-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: var(--s-sm);
}

/* Left rail: breadcrumb + pillar pill-nav, sticky through the article */
.svc-rail {
  flex: none; width: 20rem;
  position: sticky; top: calc(var(--nav-h) + 1.5rem);
  display: flex; flex-direction: column; gap: var(--s-md);
}
.svc-navblock { display: flex; flex-direction: column; gap: 0.9rem; }
.svc-navblock-label {
  font-size: var(--fs-2xs); line-height: 1.2; text-transform: uppercase; color: var(--grey);
}
.svc-crumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--fs-xs); line-height: 1.4; }
.svc-crumb a { color: var(--white); }
.svc-crumb a:hover { color: var(--grey); }
.svc-crumb .sep { color: var(--grey); }
.svc-crumb .current { color: var(--grey); }

.svc-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.svc-pill {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1rem; border-radius: 50rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: var(--fs-2xs); line-height: 1; color: var(--white);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.svc-pill:hover { border-color: var(--white); }
.svc-pill.is-current { background: var(--white); color: var(--black); border-color: var(--white); }

/* Right body column */
.svc-body {
  flex: 0 1 40.5rem; min-width: 0;
  font-size: var(--fs-xs); line-height: 1.6;
}
.svc-body > * + * { margin-top: 1rem; }
.svc-body h2 {
  font-size: var(--fs-md); font-weight: 300; line-height: 1.15;
  margin-top: var(--s-md); margin-bottom: var(--s-3xs);
}
.svc-body h2:first-child { margin-top: 0; }
.svc-body h3 {
  font-size: var(--fs-xs); font-weight: 500; line-height: 1.5;
  margin-top: var(--s-sm); margin-bottom: 0.25rem;
}
.svc-body h2 + p, .svc-body h3 + p { margin-top: 0; }
.svc-body p { font-size: var(--fs-xs); line-height: 1.6; }
.svc-body a { text-decoration: underline; text-underline-offset: 0.2em; }
.svc-body a:hover { color: var(--grey); }

@media (max-width: 900px) {
  .svc-panel { padding: var(--s-md) var(--gutter) var(--s-xl); }
  .svc-panel-inner { flex-direction: column; gap: var(--s-md); }
  .svc-rail { position: static; width: 100%; }
  .svc-body { flex: 1 1 auto; width: 100%; }
}

/* ---- Selected projects (inside the black panel) ------------------------- */
.svc-projects { padding: var(--s-2xl) 0 0; }
.svc-projects .spread { display: flex; justify-content: space-between; margin-bottom: 1.75rem; }
.svc-projects .eyebrow { font-size: var(--fs-xs); text-transform: uppercase; color: var(--white); }
.svc-proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.svc-proj-card { display: block; color: var(--white); }
.svc-proj-media { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: var(--dgrey); }
.svc-proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.svc-proj-card:hover .svc-proj-media img { transform: scale(1.04); }
.svc-proj-card h2 { font-size: var(--fs-xs); font-weight: 300; text-transform: uppercase; margin: 1rem 0 0.25rem; }
.svc-proj-card h3 { font-size: var(--fs-xs); font-weight: 300; line-height: 1.4; color: var(--grey); }
@media (max-width: 767px) { .svc-proj-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---- Let's Talk CTA (offwhite) ------------------------------------------ */
.svc-cta { padding: var(--s-md) var(--gutter) var(--s-lg); }
.svc-cta-inner {
  display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: var(--s-md); align-items: start;
}
.svc-cta-copy { display: flex; flex-direction: column; }
.svc-cta h2 { font-size: var(--fs-md); font-weight: 300; line-height: 1.05; }
.svc-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: var(--s-sm); }
.svc-cta-info { font-size: var(--fs-2xs); line-height: 1.7; }
.svc-cta-info a:hover { color: var(--grey); }
.svc-cta-info .svc-cta-newbiz { margin-top: 1rem; }
.svc-cta-media { border-radius: var(--radius); overflow: hidden; background: #e9e6df; aspect-ratio: 1 / 1; max-width: 22rem; margin-left: auto; }
.svc-cta-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .svc-cta-inner { grid-template-columns: 1fr 1fr; }
  .svc-cta-media { grid-column: 1 / -1; aspect-ratio: 16 / 9; max-width: none; margin: 0; order: 3; }
}
@media (max-width: 767px) {
  .svc-cta-inner { grid-template-columns: 1fr; gap: var(--s-sm); }
  .svc-cta-media { aspect-ratio: 4 / 3; }
}
