/* ═══════════════════════════════════════════════════════════════════
   Per-service page template — Strategy / Creative / Social / Production / Media / Tech
   Each page sets `--svc-accent` on <body> which this sheet picks up.
   ═══════════════════════════════════════════════════════════════════ */

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

/* ───────── HERO (oversized, typographic) ───────── */
.svc-hero {
  position: relative;
  padding: 160px var(--pad-page) 100px;
  background: var(--paper-plain);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.svc-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.svc-hero__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.svc-hero__eyebrow .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--svc-accent);
}
.svc-hero__num {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--svc-accent);
}
.svc-hero h1 {
  font-size: clamp(54px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 14ch;
}
.svc-hero h1 em {
  font-style: italic;
  color: var(--svc-accent);
  font-weight: 400;
}
.svc-hero__lede {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-top: 12px;
}

.svc-hero__glyph {
  position: absolute;
  right: var(--pad-page);
  top: 50%;
  transform: translateY(-30%);
  width: clamp(180px, 22vw, 340px);
  pointer-events: none;
  opacity: .95;
}
.svc-hero__glyph img { width: 100%; display: block; }

/* Stat ribbon under hero */
.svc-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.svc-hero__stat {
  background: var(--paper-plain);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.svc-hero__stat-n {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.svc-hero__stat-n sup {
  font-size: 0.5em;
  color: var(--svc-accent);
  margin-left: 2px;
}
.svc-hero__stat-l {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* ───────── SECTION FRAME ───────── */
.svc-section {
  padding: 110px var(--pad-page);
  position: relative;
}
.svc-section__head {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: end;
}
.svc-section__eyebrow {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.svc-section__eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--svc-accent);
  margin-right: 10px;
  vertical-align: middle;
}
.svc-section__head h2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.svc-section__head h2 em {
  font-style: italic;
  color: var(--svc-accent);
  font-weight: 400;
}
.svc-section__inner {
}

/* ───────── STRENGTHS (three-up cards) ───────── */
.svc-strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.strength {
  padding: 40px 32px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  min-height: 320px;
  position: relative;
  transition: background .3s;
}
.strength:nth-child(3n) { border-right: 0; }
.strength:hover { background: color-mix(in srgb, var(--svc-accent) 4%, transparent); }
.strength__num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--svc-accent);
  letter-spacing: .1em;
}
.strength h3 {
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.strength p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.strength__icon {
  width: 36px; height: 36px;
  color: var(--svc-accent);
}
.strength__icon svg { width: 100%; height: 100%; }

/* ───────── PROCESS TIMELINE ───────── */
.svc-process {
  background: var(--mash-cosmo-black);
  color: var(--mash-anti-flash);
}
.svc-process .svc-section__head h2 { color: white; }
.svc-process .svc-section__eyebrow { color: rgba(244,244,241,.6); }
.svc-process .svc-section__head p {
  color: rgba(244,244,241,.7);
  font-size: 18px;
  line-height: 1.55;
  max-width: 50ch;
  grid-column: 2;
}

.timeline {
  position: relative;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.timeline__line {
  position: absolute;
  left: 0; right: 0;
  top: 42px;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    color-mix(in srgb, var(--svc-accent) 50%, transparent) 10%,
    color-mix(in srgb, var(--svc-accent) 50%, transparent) 90%,
    transparent);
}
.step {
  counter-increment: step;
  padding: 0 20px;
  position: relative;
}
.step__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--svc-accent);
  margin: 35px auto 0;
  position: relative;
  box-shadow: 0 0 0 6px rgba(0,0,0,1), 0 0 0 8px var(--svc-accent);
}
.step__label {
  text-align: center;
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--svc-accent);
  font-weight: 600;
}
.step__title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-top: 10px;
  color: white;
}
.step__body {
  text-align: center;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(244,244,241,.65);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.step__weeks {
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 28px;
  color: rgba(244,244,241,.35);
  letter-spacing: -0.02em;
}

/* ───────── DELIVERABLES (two-col with numbers) ───────── */
.svc-deliv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.deliv {
  padding: 28px 32px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: baseline;
  transition: background .3s;
}
.deliv:nth-child(2n) { border-right: 0; }
.deliv:hover { background: color-mix(in srgb, var(--svc-accent) 5%, transparent); }
.deliv__num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: .05em;
}
.deliv__body h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.deliv__body p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ───────── CASE STUDY TEASER ───────── */
.svc-case {
  background: var(--mash-dusk-blue);
  color: white;
  position: relative;
  overflow: hidden;
}
.svc-case .svc-section__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.svc-case__tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--svc-accent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.svc-case__title {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.svc-case__title em {
  font-style: italic;
  color: var(--svc-accent);
  font-weight: 400;
}
.svc-case__lede {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,.75);
  max-width: 48ch;
  margin-bottom: 32px;
}
.svc-case__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: background .3s, border-color .3s;
}
.svc-case__link:hover {
  background: white;
  color: var(--mash-dusk-blue);
  border-color: white;
}
.svc-case__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}
.svc-case__metrics > div {
  background: var(--mash-dusk-blue);
  padding: 26px 24px;
}
.svc-case__metrics b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--svc-accent);
  margin-bottom: 8px;
}
.svc-case__metrics span {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.3;
}

/* ───────── RELATED PROJECTS ───────── */
.svc-related {
  background: var(--paper-plain);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .4s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.related-card:hover { transform: translateY(-6px); }
.related-card__media {
  aspect-ratio: 4/3;
  background: var(--mash-dusk-blue);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.related-card__media span {
  font-family: var(--font-display);
  font-size: 40px;
  color: rgba(255,255,255,.25);
  letter-spacing: -0.02em;
}
.related-card__body {
  padding: 22px 24px 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.related-card__year {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: .1em;
}
.related-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.related-card__meta {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
}

/* ───────── TEAM STRIP ───────── */
.svc-team {
  background: var(--paper);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.team-card {
  background: var(--paper-plain);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease-out);
}
.team-card:hover { transform: translateY(-4px); }
.team-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--svc-accent-soft);
  color: var(--svc-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.team-card h5 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.team-card__role {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.team-card__count {
  margin-top: auto;
  font-size: 12px;
  color: var(--svc-accent);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ───────── FAQ ───────── */
.svc-faq {
  background: var(--paper-plain);
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.faq {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  list-style: none;
  padding: 26px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--svc-accent); }
.faq summary::after {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: linear-gradient(var(--ink),var(--ink)) center/100% 2px no-repeat,
              linear-gradient(var(--ink),var(--ink)) center/2px 100% no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq[open] summary::after {
  background: linear-gradient(var(--svc-accent),var(--svc-accent)) center/100% 2px no-repeat;
  transform: rotate(180deg);
}
.faq__body {
  padding: 0 8px 28px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 68ch;
}

/* ───────── PAGER (prev/next service) ───────── */
.svc-pager {
  background: var(--paper);
  padding: 40px var(--pad-page);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.svc-pager__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}
.svc-pager a {
  display: grid;
  grid-template-rows: auto auto;
  gap: 4px;
  transition: color .3s;
}
.svc-pager a:hover { color: var(--svc-accent); }
.svc-pager__prev { text-align: left; }
.svc-pager__next { text-align: right; }
.svc-pager__label {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.svc-pager__name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.01em;
}
.svc-pager__mid {
  color: var(--ink-soft);
  font-size: 13px;
}

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1000px) {
  .svc-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .svc-strengths { grid-template-columns: 1fr; }
  .strength { border-right: 0; min-height: auto; }
  .svc-deliv { grid-template-columns: 1fr; }
  .deliv { border-right: 0; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline__line { display: none; }
  .step__body { max-width: 40ch; }
  .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; }
  .svc-section__head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-hero { padding-top: 120px; padding-bottom: 60px; }
  .svc-hero__glyph { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .svc-pager__inner { grid-template-columns: 1fr; gap: 20px; }
  .svc-pager__next { text-align: left; }
}
