/* Hallmark · page: services (/services), the full stamp is site.css · layout "Panels drawn in cubes" (owner's pick, 2026-11-08) · no prices (docs/adr/0003); each service's full sentence and note wait behind one native disclosure */
/* /services: the four group drawings as the page's menu; each group opens with its drawing, title and summary, its
 * services on panels: Technical Partner wide and tinted with its cadence, the reviews as one route of stops, the
 * workshop as one wide panel, the two builds beside real work. The FAQ answers use the same disclosure. The close is
 * the shared one from site.css. Tokens only. */

/* ---------- Head: the title and its lead on the left, the group drawings over an ink rule on the right ---------- */
.services-head { padding-top: var(--space-lg); }
.services-head__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl); align-items: end; }
.services-head h1 { font-size: clamp(3.25rem, 6.4vw, 6.75rem); line-height: 0.94; }
.services-head .lead { max-width: 24ch; font-size: clamp(1.1875rem, 0.6vw + 1rem, 1.5rem); line-height: 1.42; }
.jump { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; align-items: end; border-bottom: var(--rule-hair) solid var(--color-ink); }
.jump__link { display: grid; justify-items: center; align-content: end; gap: var(--space-md); min-height: 44px; padding: var(--space-md) var(--space-xs); border-radius: var(--radius-card) var(--radius-card) 0 0; color: var(--color-ink); font-weight: 500; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.jump__link:hover { background: var(--color-paper-2); }
.jump__link:active { background: var(--color-paper-3); }
.jump__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.jump .iso { width: auto; height: 112px; }

/* ---------- A group: its drawing and title on the left, its summary on the right ---------- */
.group-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-sm) var(--space-xl); align-items: end; margin-bottom: var(--space-lg); }
.group-head__title { display: flex; align-items: end; gap: var(--space-lg); }
.group-head__title .iso { width: auto; height: 116px; }
.group-head__summary { max-width: 50ch; padding-bottom: var(--space-2xs); color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.5; }

/* ---------- A service: name and when it fits, its short line, then what it includes or its disclosure ---------- */
.service { scroll-margin-top: calc(var(--head-h) + var(--space-md)); }
.svc-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); }
.service .offer__line { margin-top: var(--space-2xs); font-size: 1.125rem; line-height: 1.5; }
.service__includes { gap: var(--space-sm); color: var(--color-ink-2); }
.service__summary { max-width: 60ch; margin-top: var(--space-xs); color: var(--color-ink-2); }
.service__more > .service__includes { margin-top: var(--space-md); }
.service__note { max-width: 60ch; margin-top: var(--space-md); color: var(--color-ink-2); font-size: var(--text-sm); line-height: 1.6; }

/* Technical Partner: wide, tinted, its cadence as four columns. */
.tp { display: grid; padding-bottom: var(--space-lg); }
.tp__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-lg); }
.tp__who .offer__name { font-size: clamp(1.75rem, 0.8vw + 1.4rem, 2.25rem); }
.tp__who .offer__line { font-size: var(--text-lead); line-height: 1.45; }
.tp__title { margin: var(--space-xl) 0 0; padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule-tint); font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--display-weight); line-height: 1.3; }
.cadence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.cadence li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-2xs) var(--space-sm); align-content: start; padding: var(--space-lg); }
.cadence li:first-child { padding-left: 0; }
.cadence li + li { border-left: var(--rule-hair) solid var(--color-rule-tint); }
.cadence .ico { grid-row: 1 / 3; color: var(--color-accent); }
.cadence__when { font-family: var(--font-display); font-size: 1.125rem; font-weight: var(--display-weight); line-height: 1.3; }
.cadence__what { color: var(--color-ink-2); }
.tp__foot { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: var(--space-xs) var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-tint); }
.tp__foot .service__includes { padding-top: var(--space-xs); }
.tp__foot .service__more { max-width: 60ch; }

/* Reviews: one route, a stop per service, in the order you'd meet them. */
.route { padding-bottom: var(--space-lg); }
.route__list { position: relative; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 0 var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.route__list::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 1px; background: var(--color-ink); }
.route__stop { display: flex; flex-direction: column; min-width: 0; }
.route__stop .marker { position: relative; box-sizing: content-box; width: 34px; padding-right: var(--space-sm); background: var(--color-paper-2); }
.stop .svc-head { margin-top: var(--space-lg); }
.stop .offer__name { font-size: 1.375rem; }
.stop .offer__line { font-size: 1.0625rem; }
.stop .service__more { margin-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }

/* Training: one wide panel. */
.wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-lg) var(--space-xl); align-items: start; }
.wide__what { display: grid; gap: var(--space-sm); min-width: 0; }
.wide .service__includes { font-size: 1.0625rem; }

/* Custom builds: a panel each, beside real work, alternating sides. */
.builds { display: grid; gap: var(--space-md); }
.build { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-xl); align-items: center; }
.build--flip .build__shot { order: -1; }
.build__text { display: flex; flex-direction: column; gap: var(--space-md); min-width: 0; }
.build__text .service__includes { font-size: 1.0625rem; }
.build__shot { margin: 0; min-width: 0; }
.build__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); }
.build__shot figcaption { margin-top: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }
/* The lead screen cropped to the record itself, past the demo's side menu; the caption says the records are fictional. */
.build__crop { position: relative; aspect-ratio: 1184 / 785; overflow: hidden; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); }
.build__crop img { position: absolute; left: -21.62%; top: -7.64%; width: 121.62%; max-width: none; height: auto; aspect-ratio: auto; border: 0; border-radius: 0; }

/* ---------- FAQ: the heading and the see-through cube beside the questions ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl); align-items: start; }
.faq__head .iso { width: 180px; margin-top: var(--space-xl); }
.faq__list { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq__item { border-top: var(--rule-hair) solid var(--color-rule); }
.faq__q { display: flex; justify-content: space-between; gap: var(--space-lg); width: 100%; min-height: 64px; padding-block: var(--space-sm); font-size: 1.125rem; }
.faq__a { max-width: 58ch; padding-bottom: var(--space-md); color: var(--color-ink-2); }

/* ---------- The disclosure: native <details>, opens without JavaScript ---------- */
.disclose__toggle { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; border-radius: var(--space-3xs); color: var(--color-ink); font-weight: 500; line-height: 1.4; list-style: none; cursor: pointer; text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color var(--dur-micro) var(--ease-out), text-decoration-color var(--dur-micro) var(--ease-out); }
.disclose__toggle::-webkit-details-marker { display: none; }
/* Shut means shut: Chrome still lays out a closed body, so anything that measures the page would count text nobody sees. */
.disclose:not([open]) > :not(summary) { display: none; }
/* The chevron is the icon, so it takes the accent; it points down shut and up open. */
.disclose__toggle::after { content: ""; flex-shrink: 0; width: 0.5em; height: 0.5em; border-right: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); transform: translateY(-0.15em) rotate(45deg); transition: transform var(--dur-short) var(--ease-out); }
.disclose[open] > .disclose__toggle::after { transform: translateY(0.15em) rotate(-135deg); }
.disclose__toggle:hover { text-decoration-color: var(--color-accent); }
.disclose__toggle:active { color: var(--color-accent-2); }
.disclose__toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

@media (max-width: 60rem) {
  .services-head { padding-top: var(--space-sm); }
  .services-head__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .services-head h1 { font-size: 3.5rem; }
  .services-head .lead { font-size: var(--text-lead); }
  .jump { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); border-bottom: 0; }
  .jump__link { grid-template-columns: 52px minmax(0, 1fr); justify-items: start; align-items: center; gap: var(--space-sm); min-height: 76px; padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); font-size: var(--text-sm); text-align: left; }
  .jump .iso { width: 52px; height: auto; max-height: 56px; }
  .group-head { grid-template-columns: minmax(0, 1fr); }
  .group-head__title { align-items: center; gap: var(--space-md); }
  .group-head__title .iso { width: 76px; height: auto; max-height: 84px; }
  .group-head__summary { font-size: 1.0625rem; }
  .panel { padding: var(--space-lg) var(--space-md); }
  .tp__who .offer__name { font-size: 1.625rem; }
  .tp__who .offer__line { font-size: 1.125rem; }
  .tp__title { margin-top: var(--space-lg); }
  .cadence { grid-template-columns: minmax(0, 1fr); }
  .cadence li, .cadence li:first-child { padding: var(--space-sm) 0; }
  .cadence li + li { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule-tint); }
  .route__list { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
  .route__list::before { left: 14px; right: auto; top: 30px; bottom: 60px; width: 1px; height: auto; }
  .route__stop { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 var(--space-md); padding-bottom: var(--space-md); }
  .route__stop .marker { width: 30px; margin-top: var(--space-3xs); padding: 0 0 var(--space-2xs); }
  .stop .svc-head { margin-top: 0; }
  .stop .offer__name { font-size: 1.1875rem; }
  .stop .service__more { margin-top: var(--space-xs); }
  .wide { grid-template-columns: minmax(0, 1fr); }
  .build, .build--flip { grid-template-columns: minmax(0, 1fr); }
  .build__shot, .build--flip .build__shot { order: -1; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .faq__head { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: var(--space-md); align-items: center; }
  .faq__head .iso { width: 76px; margin: 0; }
  .faq__q { font-size: 1.0625rem; }
}

@media (prefers-reduced-motion: reduce) {
  .disclose__toggle, .disclose__toggle::after, .jump__link { transition: none; }
}
