/* V3 — Service detail pages: monks-inspired — full-color hero, editorial, clean */

:root {
  --svc-accent: var(--mash-orange);
  --svc-accent-soft: color-mix(in srgb, var(--svc-accent) 8%, transparent);
}

/* ───────── HERO (full-color background) ───────── */
.svc-hero {
  position: relative;
  padding: 220px var(--pad-page) 100px;
  background: var(--svc-accent);
  color: #111;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.svc-hero__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.svc-hero__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: rgba(0,0,0,.55); letter-spacing: .02em;
}
.svc-hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #111;
}
.svc-hero__num { font-weight: 600; color: #111; }
.svc-hero h1 {
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 500;
  max-width: 14ch;
  color: #111;
}
.svc-hero h1 em { font-style: italic; font-weight: 400; color: rgba(0,0,0,.5); }
.svc-hero__lede {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
  color: rgba(0,0,0,.6);
  max-width: 56ch;
}
.svc-hero__glyph { display: none; }

/* Stats — on colored bg */
.svc-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid rgba(0,0,0,.15);
}
.svc-hero__stat {
  padding: 32px 0;
  border-bottom: 1px solid rgba(0,0,0,.15);
  display: flex; flex-direction: column; gap: 8px;
}
.svc-hero__stat + .svc-hero__stat { border-left: 1px solid rgba(0,0,0,.15); padding-left: 32px; }
.svc-hero__stat-n {
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #111;
}
.svc-hero__stat-n sup { font-size: 0.5em; color: rgba(0,0,0,.45); margin-left: 2px; }
.svc-hero__stat-l { font-size: 13px; color: rgba(0,0,0,.5); line-height: 1.4; }

/* ───────── CONTENT INTRO (manifesto) ───────── */
.svc-intro {
  padding: 120px var(--pad-page);
  background: var(--svc-accent);
  text-align: center;
  color: #111;
}
.svc-intro__inner {
  max-width: 800px;
  margin: 0 auto;
}
.svc-intro__quote {
  font-size: clamp(24px, 3.5vw, 44px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.svc-intro__quote em { font-style: italic; color: var(--svc-accent); }
.svc-intro__body {
  margin-top: 40px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-left: auto; margin-right: auto;
}

/* ───────── SECTION FRAME ───────── */
.svc-section {
  padding: 120px var(--pad-page);
  position: relative;
}
.svc-section__head {
  margin-bottom: 64px;
  max-width: 700px;
}
.svc-section__eyebrow {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: .1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.svc-section__eyebrow::before { display: none; }
.svc-section__head h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  font-weight: 500;
  max-width: 16ch;
}
.svc-section__head h2 em { font-style: italic; font-weight: 400; color: var(--ink-soft); }

/* ───────── STRENGTHS ───────── */
.svc-strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.strength {
  padding: 40px 32px;
  background: white;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--svc-accent);
  border-radius: 6px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 280px;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.strength:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.strength__num { font-size: 12px; color: var(--ink-soft); letter-spacing: .06em; }
.strength h3 { font-size: 22px; font-weight: 500; line-height: 1.1; }
.strength p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin-top: auto; }

/* ───────── PROCESS (clean rebuild) ───────── */
.svc-process {
  background: var(--mash-dusk-blue) !important;
  color: white !important;
  padding: 80px var(--pad-page) 40px;
}
.svc-process * { background-color: transparent !important; color: inherit; }
.svc-process .svc-section__head { margin-bottom: 40px; max-width: 600px; }
.svc-process .svc-section__head h2 { color: white !important; }
.svc-process .svc-section__eyebrow { color: rgba(255,255,255,.4) !important; }
.svc-process .svc-section__head p {
  color: rgba(255,255,255,.5) !important;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 50ch;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.timeline__line {
  position: absolute;
  left: 20px; right: 20px;
  top: 42px;
  height: 2px;
  background: color-mix(in srgb, var(--svc-accent) 40%, transparent);
}
.step { padding: 0 16px; position: relative; z-index: 1; }
.step__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--svc-accent) !important;
  margin: 35px auto 0;
  box-shadow: 0 0 0 5px var(--mash-dusk-blue), 0 0 0 7px var(--svc-accent);
}
.step__label {
  text-align: center;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--svc-accent) !important;
  font-weight: 600;
}
.step__title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 8px;
}
.step__body {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.45) !important;
  max-width: 22ch;
  margin-left: auto; margin-right: auto;
}
.step__weeks {
  text-align: center;
  margin-top: 12px;
  font-size: 24px;
  font-weight: 600;
  color: rgba(255,255,255,.2) !important;
}

/* ───────── DELIVERABLES ───────── */
.svc-deliv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.deliv {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: baseline;
}
.deliv:nth-child(odd) { padding-right: 36px; border-right: 1px solid var(--rule); }
.deliv:nth-child(even) { padding-left: 36px; }
.deliv__num { font-size: 13px; color: var(--ink-soft); }
.deliv__body h4 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.deliv__body p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ───────── CASE STUDY TEASER ───────── */
.svc-case {
  background: var(--mash-dusk-blue);
  color: white;
  position: relative;
  overflow: hidden;
}
.svc-case__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: .15;
  z-index: 0;
}
.svc-case .svc-section__head { position: relative; z-index: 1; }
.svc-case .svc-section__head,
.svc-case .svc-section__inner { position: relative; z-index: 1; }
.svc-case .svc-section__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.svc-case__tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2);
  font-size: 11px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 20px;
  background: none; color: rgba(255,255,255,.6);
}
.svc-case__title {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 0.95; font-weight: 500;
  margin-bottom: 24px;
}
.svc-case__title em { font-style: italic; font-weight: 400; color: rgba(255,255,255,.4); }
.svc-case__lede {
  font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,.5);
  max-width: 44ch; margin-bottom: 28px;
}
.svc-case__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  font-size: 13px; font-weight: 500;
  transition: background .2s, color .2s;
}
.svc-case__link:hover { background: white; color: var(--mash-dusk-blue); border-color: white; }
.svc-case__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.08);
}
.svc-case__metrics > div {
  background: var(--mash-dusk-blue);
  padding: 28px 24px;
}
.svc-case__metrics b {
  display: block;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1; font-weight: 600;
  color: white; margin-bottom: 8px;
}
.svc-case__metrics span { font-size: 13px; color: rgba(255,255,255,.4); }

/* ───────── RELATED ───────── */
.svc-related { background: white; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .4s var(--ease-out);
}
.related-card:hover { transform: translateY(-3px); }
.related-card__media {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.related-card__media span { display: none; }
.related-card__body { padding: 20px; }
.related-card__year { font-size: 11px; color: var(--ink-soft); letter-spacing: .06em; }
.related-card__title { font-size: 18px; font-weight: 500; margin-top: 4px; }
.related-card__meta {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 12px; color: var(--ink-soft);
  display: flex; justify-content: space-between;
}

/* ───────── TEAM ───────── */
.svc-team { background: var(--paper-subtle); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.team-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper-subtle);
  color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 500;
}
.team-card h5 { font-size: 15px; font-weight: 500; }
.team-card__role { font-size: 12px; color: var(--ink-soft); }
.team-card__count {
  margin-top: auto; font-size: 11px;
  color: var(--ink-soft); font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
}

/* ───────── FAQ ───────── */
.svc-faq { background: white; }
.faq-list { max-width: 100%; border-top: 1px solid var(--rule); }
.faq { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  cursor: pointer;
  font-size: 18px; font-weight: 500;
  color: var(--ink);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ink-soft); }
.faq summary::after {
  content: "+";
  font-size: 22px; font-weight: 300;
  color: var(--ink-soft);
}
.faq[open] summary::after { content: "−"; }
.faq__body {
  padding: 0 0 24px;
  color: var(--ink-soft);
  font-size: 15px; line-height: 1.7;
  max-width: 60ch;
}

/* ───────── PAGER (hidden in V3 redesign) ───────── */
.svc-pager { display: none; }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1000px) {
  .svc-hero { min-height: auto; padding-top: 180px; }
  .svc-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .svc-hero__stat + .svc-hero__stat { border-left: 0; padding-left: 0; }
  .svc-hero__stat:nth-child(odd) + .svc-hero__stat { border-left: 1px solid rgba(0,0,0,.15); padding-left: 32px; }
  .svc-strengths { grid-template-columns: 1fr; }
  .strength { min-height: auto; }
  .svc-deliv { grid-template-columns: 1fr; }
  .deliv:nth-child(odd) { padding-right: 0; border-right: 0; }
  .deliv:nth-child(even) { padding-left: 0; }
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline__line { display: none !important; }
  .step__dot { display: none; }
  .step__body { max-width: 36ch; }
  .svc-case .svc-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .svc-hero { padding-top: 140px; padding-bottom: 60px; min-height: auto; }
  .svc-hero__stats { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .svc-intro { padding: 80px var(--pad-page); }
}
