/* Ostervale — hero: one sentence says whether the practice is open today, and the route signs (book online, call, telehealth, not here) reorder and resize to match that state (styles). */
.ov-part-after { height: 120vh; }

.ov-hero {
  --ov-pad-x: var(--space-7);
  position: relative;
  padding: 72px var(--ov-pad-x) 0;
}
.ov-hero__head {
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--space-5);
}
.ov-hero__practice {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-lead);
  color: var(--ink-2);
}
.ov-hero__title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-display);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-display);
  color: var(--ink);
}

.ov-today {
  min-height: var(--board-min-h);
  padding: var(--space-5);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-0);
  will-change: transform;
}
.ov-today__state {
  min-height: 84px;
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-state);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-display);
  font-variant-numeric: tabular-nums;
}
.ov-today__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--reception-w);
  gap: var(--space-5);
}
.ov-today__routes {
  display: flex;
  gap: var(--space-4);
  min-height: 432px;
}

.ov-route {
  position: relative;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--radius-sign);
  color: var(--route-ink);
  text-decoration: none;
  transform-origin: 0 0;
  will-change: transform;
}
.ov-route:first-child { flex: 0 0 40%; }
.ov-route__in {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5);
  transform-origin: 0 0;
}
.ov-route__name {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-route);
  line-height: var(--lh-heading);
  will-change: transform;
}
.ov-route:first-child .ov-route__name { font-size: var(--fs-h1); }
.ov-route:not(:first-child) .ov-route__in { padding: var(--space-4); }
.ov-route:not(:first-child) { container-type: inline-size; }
.ov-route:not(:first-child) .ov-route__name {
  font-size: clamp(18px, calc((100cqi - 2 * var(--space-4)) / 6), 26px);
  overflow-wrap: anywhere;
  hyphens: auto;
}
.ov-route__cond {
  display: block;
  font-size: var(--fs-body);
  line-height: 1.4;
  will-change: transform;
}
.ov-route[data-ov-route="book"] { background: var(--route-book); }
.ov-route[data-ov-route="call"] { background: var(--route-call); }
.ov-route[data-ov-route="telehealth"] { background: var(--route-telehealth); }
.ov-route[data-ov-route="not-here"] { background: var(--route-not-here); }
.ov-route--info {
  background: var(--route-muted);
  color: var(--ink);
  box-shadow: inset 0 0 0 var(--route-edge) var(--route-edge-color);
}
.ov-route:focus-visible {
  outline: var(--focus-ring) solid var(--focus);
  outline-offset: 3px;
}
.ov-route:hover { box-shadow: inset 0 0 0 2px var(--route-ink); }
.ov-route--info:hover { box-shadow: inset 0 0 0 2px var(--ink); }

.ov-today__window {
  position: relative;
  min-height: 432px;
  background: var(--bg);
  overflow: hidden;
  will-change: transform;
}
.ov-reception {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.ov-today__hours {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line);
  padding-top: var(--space-4);
}
.ov-hours__toggle {
  appearance: none;
  border: 0;
  padding: var(--space-2) 0;
  background: none;
  color: var(--link);
  font: inherit;
  font-size: var(--fs-body);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.ov-hours__toggle:focus-visible { outline: var(--focus-ring) solid var(--focus); outline-offset: 3px; }
.ov-hours__toggle::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.2em) rotate(45deg);
  transition: transform var(--t-medium) var(--ease-secondary);
}
.ov-hours__toggle[aria-expanded="true"]::after { transform: translateY(0.05em) rotate(225deg); }
.ov-hours {
  display: grid;
  grid-template-rows: 1fr;
}
.ov-today[data-ov-js] .ov-hours {
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-medium) var(--ease-secondary);
}
.ov-today[data-ov-js] .ov-hours[data-ov-open] { grid-template-rows: 1fr; }
.ov-hours__clip { overflow: hidden; min-height: 0; }
.ov-hours__list {
  list-style: none;
  margin: 0;
  padding: var(--space-3) 0 var(--space-2);
}
.ov-hours__row {
  display: grid;
  grid-template-columns: 9em 12em minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-2) 0 var(--space-2) var(--space-3);
  border-left: 2px solid transparent;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.ov-hours__row[data-ov-today] {
  color: var(--ink);
  font-weight: var(--fw-bold);
  border-left-color: var(--ink);
}
.ov-hours__day,
.ov-hours__time { display: inline-block; }
.ov-hours__note { color: var(--ink-2); font-weight: var(--fw-regular); }

@media (min-width: 901px) and (max-width: 1279px) {
  .ov-today__body { grid-template-columns: 1fr; }
  .ov-today__window { min-height: 0; aspect-ratio: 21 / 9; }
}

@media (max-width: 900px) {
  .ov-hero { --ov-pad-x: var(--space-4); padding-top: var(--space-6); }
  .ov-hero__head { height: auto; padding-bottom: var(--space-5); }
  .ov-today { padding: var(--space-4); }
  .ov-today__body { grid-template-columns: 1fr; }
  .ov-today__routes { flex-wrap: wrap; min-height: 0; }
  .ov-route { flex: 1 1 calc(50% - var(--space-4)); min-height: 150px; }
  .ov-route:first-child { flex: 1 1 100%; min-height: 190px; }
  .ov-today__window { min-height: 0; aspect-ratio: 4 / 3; }
  .ov-hours__row { grid-template-columns: 7.5em minmax(0, 1fr); }
  .ov-hours__note { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .ov-today[data-ov-js] .ov-hours,
  .ov-hours__toggle::after { transition: none; }
}
