/* The confirmed four-page service catalogue shares the existing magazine identity. */
.service-section-intro { margin: 20px 0 0; max-width: 44rem; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }
/* Homepage entries have their own selectors, independent of legacy card styles. */
.service-overview-head { margin-bottom: 48px; }
.service-overview { border-top: 2px solid var(--ink); }
.service-entry { position: relative; display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1fr); gap: clamp(40px,6vw,80px); padding-block: 48px; border-bottom: 1px solid var(--line); }
.service-entry > .anchor-alias { position: absolute; inset: 0 auto auto 0; }
.service-entry-heading, .service-entry-content { min-width: 0; }
.service-entry-meta { display: flex; align-items: baseline; gap: 18px; margin: 0 0 22px; color: var(--muted); font-size: .8125rem; font-weight: 650; letter-spacing: .025em; line-height: 1.6; }
.service-entry-number { flex: 0 0 auto; color: var(--blue-dark); font-size: 1rem; font-variant-numeric: tabular-nums; }
.service-entry h3 { max-width: 19ch; margin: 0; font-size: clamp(2.25rem,4vw,3rem); font-weight: 600; line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
.service-entry-outcome { margin: 0; font-size: clamp(1.25rem,2vw,1.5rem); font-weight: 650; line-height: 1.5; letter-spacing: -.015em; }
.service-entry-note { max-width: 29rem; margin-top: 16px; }
.service-entry-note .disclosure-trigger { font-size: .9375rem; color: var(--muted); }
.service-entry-note .disclosure-trigger:hover, .service-entry-note .disclosure-trigger:focus-visible { color: var(--blue-dark); }
.service-entry-note .disclosure-body { color: var(--muted); padding-block: 6px 0; }
.service-entry-note .disclosure-body p { font-size: 1rem; line-height: 1.75; }
.service-shortcuts { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.service-shortcuts li { max-width: 100%; margin: 0; padding: 0; }
.service-shortcut { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 100%; min-height: 50px; padding: 11px 18px; border: 1px solid var(--pill-line); border-radius: 28px; background: var(--pill-bg); color: var(--blue-dark); font-size: 1rem; font-weight: 600; line-height: 1.6; text-decoration: none; transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.service-shortcut > [data-zh], .service-shortcut > [data-en] { min-width: 0; overflow-wrap: anywhere; }
.shortcut-arrow { flex: 0 0 auto; font-size: 1.125rem; font-weight: 400; }
.service-shortcut:hover { background: #e5eafb; border-color: var(--blue-dark); color: var(--blue-dark); }
.service-explore { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 50px; max-width: 100%; margin-top: 28px; padding: 12px 20px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 1rem; font-weight: 650; line-height: 1.5; text-decoration: none; transition: background-color .16s ease, border-color .16s ease; }
.service-explore:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.service-shortcut:focus-visible, .service-explore:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 4px; }
/* Starter-project timing and an invitation to propose a shared question. */
.sprint dd.sprint-timing { color: var(--blue-dark); font-size: 1.125rem; font-weight: 750; }
.sprint-timing-note { max-width: 58rem; margin: 24px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.circle-invitation { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); align-items: center; gap: clamp(28px,5vw,64px); margin-top: 48px; padding: clamp(28px,4vw,48px); border-top: 2px solid var(--blue-dark); background: var(--pill-bg); scroll-margin-top: 100px; }
.circle-kicker { margin: 0 0 20px; color: var(--blue-dark); font-family: ui-monospace, monospace; font-size: .875rem; font-weight: 750; letter-spacing: .04em; }
.circle-invitation h3 { margin: 0; font-size: clamp(1.75rem,3vw,2.35rem); line-height: 1.3; letter-spacing: -.025em; text-wrap: balance; }
.circle-intro { margin: 20px 0 0; font-size: 1.0625rem; line-height: 1.8; }
.circle-formation { margin: 18px 0 0; color: #505b65; font-size: .9375rem; line-height: 1.75; }
.circle-action { min-width: 0; }
.circle-action .button { gap: 24px; max-width: 100%; font-size: 1rem; }
.circle-action p { margin: 18px 0 0; color: #505b65; font-size: .9375rem; line-height: 1.75; }
.circle-details { margin-top: 20px; }
.circle-details summary { width: fit-content; min-height: 44px; padding-block: 10px; color: var(--blue-dark); font-size: .9375rem; font-weight: 650; cursor: pointer; }
.circle-details summary:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 4px; }
.circle-details .circle-formation { margin-top: 8px; }
.starter-alternative { margin: 16px 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.75; }
.starter-alternative a { color: var(--blue-dark); text-underline-offset: 4px; }
.starter-inquiry { margin-top: 24px; }
.team-experience { margin: 22px 0 0; padding: 0; list-style: none; }
.team-experience li { padding-block: 12px; border-bottom: 1px solid var(--line); font-size: .9375rem; line-height: 1.75; }
.service-labels { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.service-labels li { max-width: 100%; padding: 7px 13px; border: 1px solid var(--pill-line); border-radius: 24px; background: var(--pill-bg); color: var(--blue-dark); font-size: .9375rem; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.skip-link { position: fixed; z-index: 50; left: 20px; top: 12px; padding: 12px 18px; color: #fff; background: var(--blue-dark); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.service-hero { padding-top: 32px; padding-bottom: 64px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px 12px; color: var(--muted); font-size: .875rem; margin-bottom: 48px; }
.breadcrumb a { color: var(--blue-dark); text-underline-offset: 4px; }
.service-hero-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: clamp(32px,6vw,80px); align-items: end; }
.service-hero .eyebrow { color: var(--blue-dark); margin-bottom: 24px; }
.service-page h1 { font-size: clamp(2.4rem,5.2vw,4.5rem); line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; overflow-wrap: break-word; }
.service-chinese-title { margin: 22px 0 0; font-size: 1.375rem; font-weight: 650; }
.service-hero-summary p { margin: 0; font-size: 1.125rem; line-height: 1.8; }
.service-layout { display: grid; grid-template-columns: minmax(200px,260px) minmax(0,1fr); gap: clamp(32px,6vw,80px); align-items: start; padding-bottom: 76px; border-top: 1px solid var(--ink); }
.service-index { position: sticky; top: 96px; padding-top: 28px; }
.index-label { margin: 0 0 15px; color: var(--muted); font-size: .875rem; font-weight: 700; }
.service-index a { display: flex; align-items: baseline; gap: 13px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.55; text-decoration: none; }
.index-number { flex: 0 0 22px; color: var(--blue-dark); font-size: .875rem; font-variant-numeric: tabular-nums; }
.service-index a:hover, .service-index a[aria-current="location"] { color: var(--blue-dark); }
.service-groups { min-width: 0; }
.service-group { padding: 32px 0 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 95px; transition: border-color .18s ease; }
.service-group:hover, .service-group:focus-within { border-color: var(--blue-dark); }
.group-kicker { margin-bottom: 14px; font-size: .875rem; color: var(--blue-dark); font-weight: 750; letter-spacing: .06em; }
.service-group h2 { margin: 0; font-size: clamp(1.5rem,2.7vw,2rem); line-height: 1.4; letter-spacing: -.02em; }
.group-need { margin: 15px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.group-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; padding: 12px 0; margin-top: 24px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--blue-dark); font-size: 1rem; font-weight: 700; text-align: left; cursor: pointer; }
.group-toggle[hidden], .group-details[hidden] { display: none; }
.group-toggle:hover { color: var(--ink); }
.toggle-symbol { margin-left: 16px; font-size: 1.5rem; font-weight: 400; }
.group-details { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 26px 30px; padding-top: 27px; }
.group-details h3 { margin: 0 0 12px; font-size: 1rem; font-weight: 750; }
.group-details p { margin: 0; font-size: 1rem; line-height: 1.8; }
.delivery-list { padding-left: 1.25rem; margin: 0; }
.delivery-list li { margin-bottom: 9px; padding-left: 4px; font-size: 1rem; line-height: 1.7; }
.group-details .discussion-link { grid-column: 1 / -1; justify-self: start; margin-top: 0; }
.discussion-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 48px; margin-top: 22px; padding-block: 8px; border-bottom: 2px solid var(--blue-dark); color: var(--blue-dark); font-size: 1rem; font-weight: 700; text-decoration: none; }
.discussion-link:hover { color: var(--ink); }
.engagement-scope { padding-top: 28px; color: var(--muted); font-size: .9375rem; line-height: 1.8; }
.engagement-scope p { margin: 0 0 12px; }
.scope-note { color: var(--muted); font-size: .9375rem !important; margin-top: 16px !important; }
.delivery-example { background: var(--ink); color: #fff; padding-block: 72px; }
.example-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.55fr); gap: clamp(32px,6vw,80px); }
.example-label { margin: 0 0 30px; color: #8bd1ff; font-size: .875rem; font-weight: 700; letter-spacing: .05em; }
.delivery-example h2 { font-size: clamp(2rem,3.5vw,3rem); line-height: 1.2; margin: 0 0 24px; }
.delivery-example h3 { font-size: 1.25rem; line-height: 1.5; font-weight: 500; color: #e0e5e9; margin: 0; }
.example-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 28px; margin-bottom: 26px; border-bottom: 1px solid #43474c; }
.example-facts h4 { font-size: .9375rem; color: #8bd1ff; margin: 0 0 12px; }
.example-facts p { font-size: 1rem; line-height: 1.8; margin: 0; }
.delivery-example .delivery-list { color: #e0e5e9; }
.delivery-example .button { background: #fff; color: var(--ink); margin-top: 28px; border-color: #fff; gap: 24px; }
.delivery-example .button:hover { background: #e5eafb; }
.related-services { padding-block: 64px 72px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.55fr); gap: clamp(32px,6vw,80px); }
.related-services h2 { margin: 0; font-size: 1.75rem; }
.related-link { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 1.25rem; font-weight: 650; }
.related-link small { display: block; margin-top: 7px; font-size: .9375rem; color: var(--muted); font-weight: 400; }
.related-link:hover { color: var(--blue-dark); }
.service-page .footer-inner { gap: 20px; }
.service-page .footer-inner a { text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .circle-invitation { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .service-entry { grid-template-columns: minmax(0,1fr); gap: 22px; padding-block: 36px; }
  .service-entry h3 { max-width: 23ch; font-size: clamp(2.25rem,5vw,3rem); }
  .service-entry-note { max-width: 42rem; }
  .service-hero-grid, .service-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .service-hero-summary { max-width: 44rem; }
  .service-index { position: static; padding: 25px 0 0; }
  .service-index a { padding-block: 12px; }
  .service-group:first-child { border-top: 1px solid var(--ink); }
  .example-grid, .related-services { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .service-hero { padding-bottom: 40px; }
}
@media (max-width: 520px) {
  .service-overview-head { margin-bottom: 32px; }
  .service-entry-meta { margin-bottom: 18px; font-size: .75rem; gap: 14px; }
  .service-entry h3 { font-size: clamp(2rem,8vw,2.5rem); }
  .service-entry-outcome { font-size: 1.25rem; }
  .service-shortcuts { gap: 10px; margin-top: 20px; }
  .service-shortcut { min-height: 48px; padding: 10px 15px; gap: 12px; }
  .service-explore { margin-top: 24px; }
  .breadcrumb { margin-bottom: 32px; }
  .service-chinese-title { font-size: 1.125rem; }
  .service-hero-summary p { font-size: 1rem; }
  .service-group { padding-block: 28px; }
  .group-details, .example-facts { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .service-labels { gap: 7px; }
  .service-labels li { padding: 6px 11px; font-size: .875rem; }
  .service-layout { padding-bottom: 48px; }
  .delivery-example { padding-block: 48px; }
  .related-services { padding-block: 44px; }
}
@media (max-width: 900px) and (hover: none) {
  /* Tap pins descriptions open; pointer devices reserve space to keep targets steady. */
  .service-entry-note[data-open="false"] .disclosure-body { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-shortcut, .service-explore, .service-group { transition: none; }
}
@media print {
  .service-entry { break-inside: avoid; }
  .service-entry-note[data-open="false"] .disclosure-body { display: block; }
  .site-header, .service-index, .group-toggle, .skip-link { display: none !important; }
  .service-layout, .service-hero-grid, .example-grid, .related-services { display: block; }
  .group-details[hidden] { display: grid; }
  .delivery-example { background: #fff; color: var(--ink); }
  .delivery-example h3, .example-label, .example-facts h4, .delivery-example .delivery-list { color: var(--ink); }
}
