/* MT Digital Studio — Services */
.services-page {
  overflow-x: clip;
  overflow-y: visible;
}
.services-hero {
  position: relative;
  padding: calc(var(--header-height) + 92px) 0 92px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.services-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 9% 3%, rgba(50,196,137,.16), transparent 31%),
    radial-gradient(circle at 88% 8%, rgba(235,207,134,.09), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 64%);
}
.services-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  right: -180px;
  bottom: -280px;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(50,196,137,.018), 0 0 0 144px rgba(205,166,76,.012);
}
.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(360px,.78fr);
  align-items: end;
  gap: 76px;
}
.services-hero h1 {
  max-width: 900px;
  margin: 20px 0 28px;
  font-size: clamp(3.4rem, 6.7vw, 7rem);
}
.services-hero-lead {
  max-width: 850px;
  margin-bottom: 20px;
  color: var(--text-soft);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.55;
}
.services-hero-copy > p:last-of-type { max-width: 830px; }
.services-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.services-proof-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.services-proof-panel::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -90px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50,196,137,.19), transparent 68%);
}
.services-proof-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.services-proof-top strong { font-size: .9rem; }
.services-proof-status { display: inline-flex; align-items: center; gap: 8px; color: var(--success); font: 800 .72rem ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .08em; }
.services-proof-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(84,215,155,.09); }
.services-proof-list { display: grid; gap: 10px; margin-top: 18px; }
.services-proof-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; }
.services-proof-row + .services-proof-row { border-top: 1px solid rgba(255,255,255,.045); }
[data-theme="light"] .services-proof-row + .services-proof-row { border-color: var(--line); }
.services-proof-index { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--gold-2); font: 800 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.services-proof-row span { color: var(--text-soft); font-size: .88rem; font-weight: 720; }
.services-proof-row small { color: var(--muted); font-size: .72rem; }

.services-index-section { padding: 34px 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.008); }
.services-index { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; }
.service-index-card {
  min-width: 0;
  padding: 16px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--muted);
  transition: transform .22s var(--ease), color .22s ease, border-color .22s ease, background .22s ease;
}
.service-index-card:hover { transform: translateY(-3px); color: var(--text); border-color: var(--line); background: rgba(50,196,137,.045); }
.service-index-card span { display: block; margin-bottom: 7px; color: var(--gold-2); font: 850 .66rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.service-index-card strong { display: block; font-size: .84rem; line-height: 1.3; }

.services-intro-grid { display: grid; grid-template-columns: .74fr 1.26fr; gap: 80px; align-items: start; }
.services-intro-grid .copy-large { max-width: 840px; }
.services-intro-aside { position: sticky; top: calc(var(--header-height) + 32px); }
.services-intro-aside p { margin: 18px 0 0; }

.service-detail { position: relative; padding: 112px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 18px); }
.service-detail:nth-of-type(even) { background: rgba(255,255,255,.008); }
.service-detail-grid { display: grid; grid-template-columns: minmax(0,.76fr) minmax(0,1.24fr); gap: 84px; align-items: start; }
.service-detail-head { position: sticky; top: calc(var(--header-height) + 34px); }
.service-number { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 23px; color: var(--gold-2); font: 850 .76rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .11em; }
.service-number::after { content: ""; width: 54px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.service-detail h2 { margin: 0 0 20px; font-size: clamp(2.55rem, 4.2vw, 4.7rem); }
.service-tagline { margin: 0; color: var(--text-soft); font-size: 1.08rem; line-height: 1.6; }
.service-detail-body > p { font-size: 1.02rem; }
.service-detail-body > p:first-child { color: var(--text-soft); font-size: clamp(1.2rem,1.7vw,1.48rem); line-height: 1.58; }
.service-value-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 30px 0; }
.service-value-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: transform .22s var(--ease), border-color .22s ease, background .22s ease; }
.service-value-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: rgba(50,196,137,.045); }
.service-value-card .service-value-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 34px; border: 1px solid var(--line); border-radius: 11px; color: var(--emerald-3); background: rgba(50,196,137,.06); }
.service-value-card h3 { margin-bottom: 10px; font-size: 1.16rem; letter-spacing: -.025em; }
.service-value-card p { margin: 0; font-size: .87rem; }
.service-deliverables { margin-top: 34px; padding: 27px; border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(145deg, rgba(50,196,137,.045), transparent), var(--surface); }
.service-deliverables h3 { margin: 0 0 18px; font-size: 1.16rem; }
.service-deliverables ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.service-deliverables li { position: relative; padding-left: 18px; color: var(--text-soft); font-size: .88rem; }
.service-deliverables li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 2px; background: var(--gold); }
.service-outcome { display: grid; grid-template-columns: auto 1fr; gap: 18px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.service-outcome strong { min-width: 90px; color: var(--gold-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; }
.service-outcome p { margin: 0; color: var(--text-soft); }

.beyond-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 48px; }
.beyond-card { min-height: 240px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: transform .25s var(--ease), border-color .25s ease; }
.beyond-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.beyond-card span { color: var(--gold-2); font: 850 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.beyond-card h3 { margin: 46px 0 11px; font-size: 1.28rem; }
.beyond-card p { margin: 0; font-size: .9rem; }

.services-process { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin-top: 54px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--line); }
.services-process-step { min-height: 300px; padding: 26px; background: var(--bg-2); }
.services-process-step span { color: var(--gold-2); font: 850 .72rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.services-process-step h3 { margin: 70px 0 14px; font-size: 1.33rem; }
.services-process-step p { margin: 0; font-size: .88rem; }

.services-cta { padding: 106px 0 124px; }
.services-cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: end; padding: 54px; border: 1px solid var(--line-strong); border-radius: 34px; background: linear-gradient(135deg, rgba(17,107,74,.26), rgba(205,166,76,.065)), var(--surface-solid); box-shadow: var(--shadow); }
.services-cta-card::after { content: ""; position: absolute; width: 380px; height: 380px; right: -160px; top: -210px; border: 1px solid rgba(235,207,134,.17); border-radius: 50%; box-shadow: 0 0 0 54px rgba(205,166,76,.025), 0 0 0 108px rgba(50,196,137,.02); }
.services-cta-card h2 { max-width: 760px; margin: 14px 0 0; font-size: clamp(2.4rem,4.6vw,4.8rem); }
.services-cta-copy { position: relative; z-index: 2; }
.services-cta-copy p { color: var(--text-soft); }
.services-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

@media (max-width: 1120px) {
  .services-hero-grid, .service-detail-grid { grid-template-columns: 1fr; gap: 54px; }
  .services-proof-panel { max-width: 720px; }
  .services-index { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .service-detail-head { position: static; max-width: 820px; }
  .services-process { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .services-intro-grid, .services-cta-card { grid-template-columns: 1fr; gap: 34px; }
  .services-intro-aside { position: static; }
  .beyond-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-detail { padding: 88px 0; }
  .services-cta-card { padding: 38px; }
}
@media (max-width: 640px) {
  .services-hero { padding-top: calc(var(--header-height) + 64px); padding-bottom: 66px; }
  .services-hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .services-index { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-index-card { padding: 14px 10px; }
  .service-value-grid, .service-deliverables ul, .beyond-grid, .services-process { grid-template-columns: 1fr; }
  .service-value-card .service-value-icon { margin-bottom: 22px; }
  .services-process-step { min-height: 240px; }
  .services-process-step h3 { margin-top: 40px; }
  .services-cta-card { padding: 28px 22px; border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-index-card, .service-value-card, .beyond-card { transition: none; }
}

@supports (content-visibility: auto) {
  .service-detail,
  .section-contrast,
  .services-cta {
    content-visibility: auto;
    contain-intrinsic-size: 1px 980px;
  }
}
