/* A quiet, dimensional instrument for the after-hours story. */
.after-hours { position: relative; isolation: isolate; overflow: clip; background: #111216; color: #f5f5f7; }
html:has(.after-hours.is-clock-enhanced) { scroll-behavior: auto !important; }
.after-hours::before { content: ''; position: absolute; z-index: -1; pointer-events: none; inset: 0; background: radial-gradient(ellipse at 77% 43%, rgba(93, 85, 172, .14), transparent 47%), linear-gradient(130deg, #18191e, transparent 65%); }
.after-hours__layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(32px, 5vw, 86px); }
.after-hours .eyebrow { color: #a1a8bd; }
.after-hours h2 { color: #f5f5f7; }
.after-hours .section-lead { color: #a4a6b0; }
.after-hours .grad { background-image: linear-gradient(105deg, #a2bbff, #b8a0ff); }
.after-hours .after__try { margin-top: 32px; }
.after-hours .after__try .btn { border: 1px solid #55565e; background: #303137; box-shadow: 0 8px 30px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.09); color: #fff; }
.after-hours .after__try .btn:hover { background: #3c3d44; }
.after-hours .after__try .btn small { color: #bfc0c8; }
.after-hours__layout { padding-block: 20px; }
.after-hours__experience { min-width: 0; padding-block: 8px; }
.nova-story-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.nova-story-nav button { position: relative; appearance: none; border: 0; border-bottom: 1px solid #3a3b46; background: transparent; color: #a5a7b6; min-height: 44px; padding: 8px 0 12px; text-align: left; font: 500 12px var(--font-body); cursor: pointer; transition: color .25s, border-color .25s; }
.nova-story-nav button span { display: block; margin-bottom: 3px; font: 500 9px var(--font-mono); color: #858aab; }
.nova-story-nav button[aria-pressed="true"] { color: #f3f1ff; border-bottom-color: #b6abfa; }
.nova-story-nav button[aria-pressed="true"] span { color: #c8bcff; }
.nova-story-nav button:focus-visible, .nova-story-footer a:focus-visible { outline: 2px solid #b9c3ff; outline-offset: 4px; }
.nova-clock { position: relative; display: grid; place-items: center; width: 100%; min-height: 390px; margin-bottom: 6px; }
.nova-clock::before { content: ''; position: absolute; width: 78%; height: 9%; bottom: 31px; border-radius: 50%; background: #000; filter: blur(23px); opacity: .7; }
.nova-clock__body { position: relative; width: min(100%, 380px); aspect-ratio: 1; filter: drop-shadow(0 22px 30px rgba(0,0,0,.3)); }
.nova-dial { display: block; width: 100%; height: 100%; overflow: visible; }
.nova-dial__ticks line { stroke: #686a79; stroke-width: .8; }
.nova-dial__ticks .nova-dial__tick--hour { stroke: #a1a3af; stroke-width: 1.3; }
.nova-dial__label { fill: #9395a4; font: 500 10px var(--font-mono, monospace); letter-spacing: 1px; }
.nova-dial__office { fill: none; stroke: #a2a5b3; stroke-width: 3; opacity: .4; transition: stroke .35s, opacity .35s; }
[data-office-open="true"] .nova-dial__office { stroke: #d0d5e8; opacity: .95; }
.nova-clock__readout { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; padding-bottom: 8px; }
.nova-clock__online { display: flex; align-items: center; gap: 6px; color: #b3b9d3; font-size: 9px; letter-spacing: .17em; font-weight: 600; }
.nova-clock__online i { width: 4px; height: 4px; border-radius: 50%; background: #a9b7ff; box-shadow: 0 0 9px #8a95fc; }
.nova-clock__day { margin-top: 9px; color: #beb5e3; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.nova-clock__time { display: flex; align-items: baseline; gap: 7px; margin-top: 3px; color: #f4f5ff; }
.nova-clock__time b { font-size: clamp(37px, 4vw, 52px); line-height: 1.1; font-weight: 400; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.nova-clock__time span { font-size: 13px; letter-spacing: -.02em; color: #a6a7b4; }
.nova-clock__office-status { margin-top: 11px; color: #9799a8; font-size: 11px; }
.nova-clock__office-status::before { content: ''; display: inline-block; width: 4px; height: 4px; border: 1px solid #777988; border-radius: 50%; vertical-align: 2px; margin-right: 5px; }
[data-office-open="true"] .nova-clock__office-status::before { background: #c2cbec; border-color: #c2cbec; }
.nova-clock__coverage { margin-top: 7px; font: 500 8px var(--font-mono, monospace); letter-spacing: .08em; color: #777989; }
.nova-event { position: absolute; width: 225px; border: 1px solid rgba(211,218,255,.15); border-radius: 15px; background: linear-gradient(135deg, rgba(48,50,65,.95), rgba(28,29,39,.93)); box-shadow: 0 17px 32px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05); padding: 15px 16px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nova-event--call { top: 24px; right: -5px; transform: rotate(3deg); }
.nova-event--booked { bottom: 5px; left: 0; transform: rotate(-4deg); }
.nova-event { transition: border-color .5s, box-shadow .5s; }
.after-hours[data-clock-scene="after"] .nova-event--call, .after-hours[data-clock-scene="weekend"] .nova-event--booked { border-color: rgba(188,166,255,.5); box-shadow: 0 17px 36px #0005, 0 0 36px #9583f21a, inset 0 1px 0 #ffffff0d; }
.after-hours[data-clock-scene="weekend"] .nova-clock__online { color: #d6caff; }
.nova-story-caption { min-height: 98px; max-width: 440px; margin: 0 auto; padding: 9px 0 8px; text-align: center; }
.nova-story-caption h3 { margin: 0 0 7px; color: #ddd7ff; font: 500 clamp(19px, 1.65vw, 24px)/1.2 var(--font-display); letter-spacing: -.03em; }
.nova-story-caption p { margin: 0; color: #b5b6c4; font-size: 12px; line-height: 1.65; }
.nova-story-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 15px; color: #9699ae; font-size: 10px; }
.nova-story-footer a { flex-shrink: 0; color: #d4cee8; text-decoration: none; padding-block: 6px; }
.nova-event__meta { display: flex; justify-content: space-between; gap: 7px; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; color: #b1b4c9; }
.nova-event__main { display: flex; align-items: center; gap: 11px; margin-top: 14px; }
.nova-event__icon { display: grid; flex-shrink: 0; place-items: center; width: 35px; height: 35px; border-radius: 11px; color: #c2caff; background: linear-gradient(145deg, #515a8b, #272b44); box-shadow: inset 0 1px 1px rgba(214,219,255,.3), 0 6px 12px rgba(0,0,0,.2); }
.nova-event__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.nova-event__main strong { display: block; color: #eef0fc; font-size: 12px; font-weight: 500; }
.nova-event__main small { display: block; margin-top: 2px; color: #a5a7bc; font-size: 10px; line-height: 1.5; }
.nova-event__wave { display: flex; gap: 3px; align-items: center; margin-top: 13px; height: 16px; padding-left: 46px; }
.nova-event__wave i { display: block; flex: 1; max-width: 3px; height: var(--bar, 6px); border-radius: 3px; background: linear-gradient(#cad3ff, #766bbb); opacity: .8; }
.nova-event__foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(226,230,255,.08); display: flex; align-items: center; gap: 5px; font-size: 9px; color: #b6bedc; }
.nova-event__foot::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #b1b8ff; }
.nova-clock-controls { position: relative; max-width: 450px; margin: 0 auto; padding: 5px 4px 0; }
.nova-clock-controls__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nova-clock-controls__heading label { font-size: 13px; font-weight: 500; color: #e0e1e9; }
.nova-clock-presets { display: flex; gap: 5px; }
.nova-clock-presets button { appearance: none; cursor: pointer; min-width: 43px; min-height: 32px; border: 1px solid transparent; background: transparent; border-radius: 18px; padding: 5px 9px; font: inherit; font-size: 10px; color: #a5a7b6; }
.nova-clock-presets button:hover { color: #fff; background: #292a33; }
.nova-clock-presets button[aria-pressed="true"] { color: #e4e7fd; background: #2b2d39; border-color: #515469; }
.nova-clock-controls input[type="range"] { display: block; appearance: none; -webkit-appearance: none; width: 100%; height: 5px; border: 0; padding: 0; margin: 18px 0 13px; border-radius: 9px; background: linear-gradient(to right, #a0a9e3 0, #8776c9 var(--time-progress, 42.55%), #383944 var(--time-progress, 42.55%), #383944 100%); cursor: pointer; }
.nova-clock-controls input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 3px solid #edeef7; border-radius: 50%; background: #a3a8cf; box-shadow: 0 2px 7px #0008; }
.nova-clock-controls input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 3px solid #edeef7; border-radius: 50%; background: #a3a8cf; box-shadow: 0 2px 7px #0008; }
.nova-clock-controls input:focus-visible, .nova-clock-presets button:focus-visible { outline: 2px solid #b9c3ff; outline-offset: 5px; }
.nova-clock-controls__scale { display: flex; justify-content: space-between; color: #777b8e; font-size: 9px; }
.nova-clock-controls__description { min-height: 1.6em; margin: 20px 0 0; color: #c5c7d2; font-size: 12px; text-align: center; }
.nova-clock-controls__note { max-width: 365px; margin: 8px auto 0; color: #898c9d; font-size: 10px; text-align: center; line-height: 1.7; }
.nova-clock-controls__live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }
@media (min-width: 1001px) and (max-height: 850px) {
  .after-hours__layout { padding-block: 6px; }
  .after-hours h2 { font-size: clamp(38px, 3.5vw, 50px); }
  .after-hours .section-lead { font-size: 15px; }
  .nova-clock { min-height: 300px; }
  .nova-clock__body { width: 300px; }
  .nova-clock__time b { font-size: 40px; }
  .nova-story-caption { min-height: 88px; }
  .nova-story-nav { margin-bottom: 8px; }
  .nova-story-footer { margin-top: 8px; }
}
@media (max-width: 1000px) {
  .after-hours__layout { grid-template-columns: 1fr; gap: 40px; }
  .after-hours__copy { max-width: 660px; }
  .after-hours__experience { width: min(100%, 580px); margin: 0 auto; }
  .nova-clock { min-height: 390px; }
  .nova-clock__time b { font-size: 52px; }
  .nova-event--call { right: 5px; }
  .nova-event--booked { left: 5px; }
}
@media (max-width: 520px) {
  .after-hours__layout { gap: 35px; }
  .nova-clock { min-height: 360px; padding: 42px 0 38px; }
  .nova-clock__body { width: min(100%, 285px); }
  .nova-clock__time b { font-size: clamp(32px, 10vw, 39px); }
  .nova-clock__online { font-size: 7px; }
  .nova-clock__office-status { font-size: 9px; margin-top: 7px; }
  .nova-clock__coverage { font-size: 7px; }
  .nova-clock__day { margin-top: 7px; font-size: 8px; }
  .nova-event { width: 165px; padding: 10px 12px; }
  .nova-event--call { top: 0; right: 7px; }
  .nova-event--booked { bottom: -4px; left: 6px; }
  .nova-event__main { margin-top: 6px; gap: 8px; }
  .nova-event__main strong { font-size: 10px; }
  .nova-event__main small { font-size: 8px; }
  .nova-event__meta { font-size: 6px; }
  .nova-event__wave { margin-top: 7px; height: 12px; }
  .nova-event__icon { width: 28px; height: 28px; border-radius: 8px; }
  .nova-event__foot { margin-top: 8px; padding-top: 8px; }
  .nova-clock-controls { padding: 5px 3px 0; }
  .nova-clock-controls__heading label { font-size: 12px; }
  .nova-story-nav { gap: 10px; margin-bottom: 8px; }
  .nova-story-nav button { font-size: 11px; }
  .nova-story-caption { min-height: 98px; padding-top: 12px; }
  .nova-story-caption p { font-size: 11px; }
  .nova-clock-controls__note { font-size: 9px; }
  .nova-story-footer { font-size: 9px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .nova-dial__office, .nova-event, .nova-story-nav button { transition: none; }
}
