/* Shared service component. Load after ob-atelier.css and other site styles.
   Uses the existing Prata / Manrope typefaces and atelier colour tokens.
   No dependency on ob-living-cards.js; no automatic movement or 3D surfaces. */
html .ob-services {
  --obs-bg: var(--d-bg, #f5f3ee);
  --obs-card: var(--d-card, #fffefa);
  --obs-ink: var(--d-ink, #1e211e);
  --obs-muted: var(--d-mut, #5e605a);
  --obs-line: var(--d-line2, #e2e0d8);
  --obs-accent: var(--d-o-ink, #b35f00);
  --obs-serif: var(--d-serif, 'Prata', Georgia, serif);
  --obs-sans: var(--d-sans, 'Manrope', system-ui, sans-serif);
  padding: 32px 0;
  color: var(--obs-ink);
  background: var(--obs-bg);
  font-family: var(--obs-sans);
}
html .ob-services *, html .ob-services *::before, html .ob-services *::after {
  box-sizing: border-box;
}
html .ob-services__container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}
html .ob-services__intro { margin: 0 0 24px; }
html .ob-services__kicker {
  margin: 0 0 10px;
  color: var(--obs-muted);
  font: 600 10px/1.5 var(--obs-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
html .ob-services__title {
  margin: 0 0 10px;
  padding: 0;
  color: var(--obs-ink);
  font: 400 clamp(26px, 2.6vw, 36px)/1.25 var(--obs-serif);
  letter-spacing: -.025em;
  text-transform: none;
}
html .ob-services__lead {
  margin: 0;
  color: var(--obs-muted);
  font: 400 15px/1.6 var(--obs-sans);
}
html .ob-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
html .ob-services__item {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  list-style: none;
}
html .ob-services__item::before { content: none; }
html .ob-services__link {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  height: 100%;
  padding: 0 14px 0 0;
  border: 1px solid var(--obs-line);
  border-radius: 3px;
  background: var(--obs-card);
  color: var(--obs-ink);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}
html .ob-services__media {
  position: relative;
  display: block;
  align-self: stretch;
  min-width: 0;
  min-height: 110px;
  overflow: hidden;
  border-radius: 2px 0 0 2px;
  background: #ece8df;
}
html .ob-services__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
  opacity: 1;
  filter: none;
  transform: none;
}
html .ob-services__name {
  min-width: 0;
  margin: 0;
  padding: 0;
  color: inherit;
  font: 600 15px/1.5 var(--obs-sans);
  letter-spacing: -.02em;
  text-transform: none;
  overflow-wrap: break-word;
}
html .ob-services__arrow {
  display: block;
  width: 16px;
  height: 16px;
  color: var(--obs-accent);
  transition: transform .18s ease;
}
html .ob-services__link:focus-visible {
  outline: 2px solid var(--obs-ink);
  outline-offset: 3px;
}
html .ob-services__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 16px 0 0;
  color: var(--obs-muted);
  font: 400 13px/1.5 var(--obs-sans);
}
html .ob-services__more span { font: inherit; }
html .ob-services__more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 44px;
  padding: 0 8px;
  color: var(--obs-ink);
  font: 500 13px/1.5 var(--obs-sans);
  text-decoration: underline;
  text-decoration-color: var(--obs-line);
  text-underline-offset: 4px;
}
html .ob-services__more a:hover { text-decoration-color: var(--obs-accent); }
html .ob-services__more a:focus-visible { outline: 2px solid var(--obs-ink); outline-offset: 2px; }
@media (hover: hover) {
  html .ob-services__link:hover { border-color: var(--obs-accent); background: #fff; }
  html .ob-services__link:hover .ob-services__arrow { transform: translate(2px, -2px); }
}
@media (max-width: 1100px) and (min-width: 861px) {
  html .ob-services__link { grid-template-columns: 94px minmax(0, 1fr) 14px; gap: 10px; padding-right: 10px; min-height: 116px; }
  html .ob-services__name { font-size: 14px; }
}
@media (max-width: 860px) {
  html .ob-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html .ob-services__link { grid-template-columns: 110px minmax(0, 1fr) 14px; gap: 12px; min-height: 104px; }
  html .ob-services__media { min-height: 102px; }
}
@media (max-width: 600px) {
  html .ob-services { padding: 28px 0; }
  html .ob-services__container { width: calc(100% - 32px); }
  html .ob-services__intro { margin-bottom: 18px; }
  html .ob-services__kicker { font-size: 9px; margin-bottom: 8px; }
  html .ob-services__title { font-size: 26px; line-height: 1.25; }
  html .ob-services__lead { font-size: 13px; line-height: 1.6; }
  html .ob-services__grid { grid-template-columns: 1fr; gap: 8px; }
  html .ob-services__link { grid-template-columns: 96px minmax(0, 1fr) 14px; gap: 14px; min-height: 80px; padding-right: 14px; }
  html .ob-services__media { min-height: 78px; }
  html .ob-services__name { font-size: 14px; line-height: 1.45; }
  html .ob-services__more { margin-top: 12px; font-size: 12px; }
  html .ob-services__more a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html .ob-services__link, html .ob-services__arrow { transition: none; }
  html .ob-services__link:hover .ob-services__arrow { transform: none; }
}
