.ontrack-service {
  background: var(--ink);
  color: #f7f7f2;
  padding-block: clamp(58px, 6vw, 92px) 48px;
  scroll-margin-top: 15px;
}
.ontrack-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 105px);
  align-items: end;
  margin-bottom: clamp(28px, 3.3vw, 48px);
}
.ontrack-heading .eyebrow { color: #c4c8b9; margin-bottom: 16px; }
.ontrack-heading h2 { font-size: clamp(62px, 6vw, 94px); line-height: .99; letter-spacing: -.068em; }
.ontrack-heading h2 span { color: var(--yellow); }
.ontrack-promise { margin-top: 16px; font-size: clamp(20px, 2vw, 31px); line-height: 1.28; letter-spacing: -.045em; }
.ontrack-summary { max-width: 570px; color: #d0d2c7; font-size: 14px; line-height: 1.75; }
.ontrack-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
.ontrack-service .button.primary { height: 46px; padding-inline: 18px; margin: 0; background: var(--yellow); color: var(--ink); gap: 15px; }
.ontrack-service .button.primary:hover { background: #fff; }
.ontrack-login { display: inline-flex; align-items: center; gap: 9px; padding-block: 9px; border-bottom: 1px solid #929688; font-size: 12px; }
.ontrack-login svg { width: 16px; height: 16px; }
.ontrack-login:hover { color: var(--yellow); }

.ontrack-example {
  --ot-graphite: #292c26;
  --ot-stroke: #55594e;
  --ot-caption: #edeee7;
  --ot-secondary: #c7ccbc;
  overflow: hidden;
  color: #f6f7ee;
  background: var(--ot-graphite);
  border: 1px solid var(--ot-stroke);
  scroll-margin-top: 12px;
}
.ot-toolbar, .ot-toolbar-title, .ot-legend, .ot-legend span, .ot-view-head, .ot-transport {
  display: flex;
  align-items: center;
}
.ot-toolbar {
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(14px, 1.7vw, 27px);
  border-bottom: 1px solid var(--ot-stroke);
}
.ot-toolbar-title { gap: 15px; }
.ot-toolbar h3 { font-size: clamp(16px, 1.25vw, 20px); font-weight: 600; letter-spacing: -.034em; line-height: 1.25; }
.ot-example-note {
  padding-left: 15px;
  border-left: 1px solid #626558;
  font-size: 11px;
  color: var(--ot-secondary);
}
.ot-legend { gap: 15px; }
.ot-legend span { gap: 6px; color: #e1e4d8; font-size: 10px; white-space: nowrap; }
.ot-legend i { width: 9px; height: 9px; border-radius: 2px; }
.ot-active-key { background: #58b28f; }
.ot-complete-key { background: #d2d1c4; }
.ot-views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--ot-graphite); }
.ot-view { min-width: 0; margin: 0; background: var(--ot-caption); display: flex; flex-direction: column; }
.ot-view-head {
  gap: 13px;
  padding: clamp(12px, 1.45vw, 21px) clamp(13px, 1.7vw, 27px);
  color: #242720;
  border-bottom: 1px solid #c8cbbd;
  flex: 1;
}
.ot-letter {
  display: inline-grid;
  place-items: center;
  align-self: flex-start;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--yellow);
  color: #242720;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}
.ot-letter-b { color: var(--ot-caption); background: #373c32; }
.ot-programme, .ot-period label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.3;
}
.ot-programme { color: #555c4f; }
.ot-stage-name { margin-top: 4px; font-size: clamp(18px, 1.85vw, 30px); line-height: 1.15; letter-spacing: -.045em; font-weight: 600; }
.ot-model {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 786;
  object-fit: contain;
  background: #deded6;
}
.ot-artwork { position: relative; }
.ot-expand {
  position: absolute; right: 2px; bottom: 2px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; padding: 0; color: #343a30; background: transparent;
}
.ot-expand span { position: relative; width: 28px; height: 28px; background: #f5f6edeb; border: 1px solid #71796988; border-radius: 50%; }
.ot-expand span::before { content: ''; position: absolute; width: 8px; height: 8px; top: 7px; left: 7px; border: 1.5px solid currentColor; border-radius: 50%; }
.ot-expand span::after { content: ''; position: absolute; width: 7px; height: 1.5px; left: 15px; top: 17px; background: currentColor; rotate: 45deg; }
.ot-expand:hover span, .ot-expand:focus-visible span { background: var(--yellow); border-color: #424737; }
.ot-detail { width: min(1100px, calc(100% - 24px)); background: var(--ot-caption); border: 1px solid #979c8b; }
.ot-detail-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 14px clamp(14px, 2vw, 25px); }
.ot-detail-head h3 { margin-top: 4px; font-size: clamp(19px, 2vw, 29px); }
.ot-detail-head .close-dialog { min-height: 44px; }
.ot-detail-image { width: 100%; height: auto; max-height: 72svh; object-fit: contain; background: #d8d9d0; }
.ot-controls {
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) minmax(130px, auto);
  align-items: center;
  gap: clamp(20px, 3.1vw, 52px);
  padding: 16px clamp(14px, 1.7vw, 27px);
  border-top: 1px solid var(--ot-stroke);
}
.ot-transport { gap: clamp(14px, 1.6vw, 24px); }
.ot-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 83px;
  min-height: 44px;
  padding: 0 13px;
  border: 0;
  background: var(--yellow);
  color: #242720;
  font-size: 12px;
  font-weight: 800;
}
.ot-play:hover { background: #fcff72; }
.ot-play:focus-visible, #ot-month:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.ot-play:disabled { opacity: .6; }
.ot-play-icon { width: 11px; height: 13px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ot-play[data-playing="true"] .ot-play-icon { clip-path: polygon(0 0, 35% 0, 35% 100%, 65% 100%, 65% 0, 100% 0, 100% 100%, 0 100%); }
.ot-period label { display: block; color: #bfc4b3; font-size: 9px; }
.ot-period output { display: block; color: #fff; font-variant-numeric: tabular-nums; font-size: clamp(20px, 1.9vw, 27px); font-weight: 600; letter-spacing: -.045em; line-height: 1.2; }
.ot-scrubber { min-width: 0; }
#ot-month {
  --ot-fill: 60%;
  display: block;
  appearance: none;
  width: 100%;
  height: 26px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
#ot-month::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right, var(--yellow) var(--ot-fill), #717768 var(--ot-fill)); }
#ot-month::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; margin-top: -6px; border: 2px solid var(--ot-graphite); border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
#ot-month::-moz-range-track { height: 3px; background: #717768; }
#ot-month::-moz-range-progress { height: 3px; background: var(--yellow); }
#ot-month::-moz-range-thumb { width: 12px; height: 12px; border: 2px solid var(--ot-graphite); border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.ot-month-scale { display: flex; justify-content: space-between; padding-inline: 1px; color: #c3c8b9; line-height: 1; font-size: 10px; font-variant-numeric: tabular-nums; }
.ot-status { max-width: 172px; color: #dadfcf; font-size: 12px; line-height: 1.45; padding-left: 18px; border-left: 1px solid #606655; }
.ontrack-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 44px; margin-top: 56px; padding-top: 29px; border-top: 1px solid #4a4e42; }
.ot-feature-number { display: block; color: var(--yellow); font-size: 10px; margin-bottom: 13px; font-weight: 600; }
.ontrack-benefits h3 { font-size: 18px; letter-spacing: -.025em; line-height: 1.4; }
.ontrack-benefits p { font-size: 12px; line-height: 1.85; color: #c1c5b7; margin-top: 10px; max-width: 350px; }
.ontrack-service-note { font-size: 10px; color: #9ea593; line-height: 1.7; margin-top: 34px; }
@media (max-width: 850px) {
  .ontrack-intro { gap: 26px; }
  .ontrack-promise { max-width: 330px; }
  .ot-toolbar-title { gap: 10px; }
  .ot-example-note { padding-left: 10px; }
  .ot-controls { gap: 18px; }
  .ot-status { max-width: 130px; font-size: 11px; padding-left: 13px; }
  .ontrack-benefits { gap: 24px; margin-top: 38px; }
}
@media (max-width: 650px) {
  .ontrack-intro { grid-template-columns: 1fr; gap: 17px; }
  .ontrack-promise { max-width: none; margin-top: 12px; font-size: 21px; }
  .ontrack-summary { font-size: 13px; }
  .ontrack-actions { margin-top: 18px; }
  .ot-toolbar { align-items: flex-start; padding: 12px; gap: 8px; }
  .ot-toolbar-title { display: block; }
  .ot-toolbar h3 { font-size: 16px; }
  .ot-example-note { display: block; padding: 0; border: 0; margin-top: 3px; font-size: 10px; }
  .ot-legend { gap: 3px; flex-direction: column; align-items: flex-start; padding-top: 1px; }
  .ot-legend span { font-size: 9px; }
  .ot-legend i { width: 7px; height: 7px; }
  .ot-view-head { gap: 8px; align-items: flex-start; padding: 10px; min-height: 65px; }
  .ot-letter { width: 23px; height: 23px; font-size: 12px; }
  .ot-programme { font-size: 8px; letter-spacing: .045em; }
  .ot-stage-name { font-size: 16px; }
  .ot-controls { grid-template-columns: 1fr auto; gap: 8px; padding: 12px; }
  .ot-transport { grid-column: 1; grid-row: 1; gap: 12px; }
  .ot-scrubber { grid-column: 1/-1; grid-row: 2; padding-bottom: 2px; }
  .ot-status { grid-column: 2; grid-row: 1; max-width: 115px; padding-left: 10px; font-size: 10px; }
  .ot-period output { font-size: 19px; }
  .ot-play { min-width: 66px; padding-inline: 9px; gap: 6px; }
}
@media (max-width: 600px) {
  .main-nav a:nth-child(3) { display: block; }
  .main-nav { gap: 14px; }
  .ontrack-service { padding-bottom: 32px; }
  .ontrack-service .button.primary { height: 46px; }
  .ontrack-benefits { grid-template-columns: 1fr; gap: 23px; padding-top: 25px; }
  .ontrack-benefits>div { display: grid; grid-template-columns: 25px 1fr; gap: 5px 13px; }
  .ot-feature-number { grid-row: 1/3; margin: 4px 0 0; }
  .ontrack-benefits h3 { font-size: 18px; }
  .ontrack-benefits p { grid-column: 2; margin-top: 0; max-width: 100%; }
  .ontrack-service-note { font-size: 9px; margin-top: 27px; }
}
@media (max-width: 420px) {
  .site-header .header-contact { display: none; }
  .main-nav { margin-left: auto; gap: 16px; }
  .ot-view-head { gap: 6px; padding: 9px 8px; }
  .ot-stage-name { font-size: 15px; }
  .ot-programme { line-height: 1.35; }
}

/* Align the service introduction to the same columns as the service rows. */
.services-section .section-heading{display:grid;grid-template-columns:50px minmax(0,1.15fr) minmax(0,1fr);gap:35px;align-items:end}
.services-section .section-heading>div{grid-column:1/3;min-width:0}
.services-section .section-heading>p{grid-column:3;margin:0;max-width:360px}
@media(min-width:601px) and (max-width:1100px){.services-section .section-heading{grid-template-columns:30px minmax(0,1.2fr) minmax(0,1fr);gap:22px}}
@media(max-width:600px){.services-section .section-heading{display:block}.services-section .section-heading>p{margin-top:17px;max-width:320px}}
