.after-hours {
    --night: #101a2b;
    --sky: #324962;
    --ridge-far: #516981;
    --ridge-near: #24394e;
    --water: #1b3045;
    --moon: #f1f6ff;
    --glow: #c4dcf8;
    --sky-rule: #526780;
    --service-ground: #162435;
    --service-rule: #63778c;
}
.after-hours .top {
    width: 100%;
    padding-inline: max(var(--gutter), calc((100% - var(--measure)) / 2));
    background: var(--night);
    border-bottom-color: var(--sky-rule);
}
.after-hours .top a, .after-hours .top nav a:last-child { color: var(--moon); }
.after-hours .top nav a:last-child { border-color: var(--glow); }
.top a:focus-visible, .horizon a:focus-visible { outline-color: var(--glow); }
.horizon {
    position: relative;
    isolation: isolate;
    padding: clamp(2rem, 4.5vw, 5rem) max(var(--gutter), calc((100% - var(--measure)) / 2)) clamp(4.5rem, 8vw, 8rem);
    color: var(--moon);
    background: var(--night);
}
.horizon h1 { font: normal clamp(3.45rem, 7.8vw, 8.5rem)/1.01 Georgia, serif; letter-spacing: -.058em; text-wrap: balance; }
.horizon h1 em { color: var(--glow); }
.horizon-copy p { max-width: 46ch; margin: 1rem 0 .45rem; color: var(--moon); font-size: clamp(1.08rem, 1.6vw, 1.5rem); }
.inquiry { display: inline-flex; min-height: 44px; align-items: center; gap: .8em; color: var(--glow); font-weight: 600; }
.inquiry:hover { color: var(--moon); }
.ridgeline { position: absolute; z-index: -1; inset: auto 0 0; height: clamp(2.8rem, 7vw, 7.25rem); background: linear-gradient(var(--night), var(--sky)); border-bottom: .4rem solid var(--water); pointer-events: none; }
.ridgeline::before, .ridgeline::after { content: ""; position: absolute; inset: 0; }
.ridgeline::before { background: var(--ridge-far); clip-path: polygon(0 57%, 7% 49%, 13% 62%, 23% 38%, 29% 47%, 38% 34%, 48% 56%, 58% 27%, 67% 44%, 73% 18%, 80% 38%, 89% 28%, 100% 44%, 100% 100%, 0 100%); }
.ridgeline::after { background: var(--ridge-near); clip-path: polygon(0 73%, 9% 59%, 15% 74%, 27% 55%, 34% 66%, 42% 50%, 55% 83%, 62% 62%, 69% 74%, 79% 49%, 91% 60%, 100% 43%, 100% 100%, 0 100%); }
.public-work {
    --ink: var(--moon);
    --muted: var(--glow);
    --blue: var(--glow);
    --blue-dark: var(--moon);
    --on-action: var(--night);
    --rule: var(--service-rule);
    color: var(--ink);
    background: var(--service-ground);
    padding: clamp(1.4rem, 2.8vw, 3.2rem) max(var(--gutter), calc((100% - var(--measure)) / 2));
    border-bottom: 1px solid var(--rule);
}
.public-work h2 { margin-bottom: 1.1rem; font-weight: 600; font-size: 1.15rem; }
.service-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.65rem; }
.service { display: grid; align-content: start; justify-items: start; padding: 1.05rem 0; border-top: 1px solid var(--rule); }
.service img { width: 3.6rem; height: 3.6rem; object-fit: contain; margin-bottom: .9rem; }
.service h3 { font-size: clamp(1.6rem, 2.55vw, 2.9rem); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; max-width: 21ch; }
.service a { display: inline-flex; align-items: center; min-height: 44px; margin-top: .15rem; }
.product-details { border-top: 1px solid var(--rule); }
.product-details summary { padding: .7rem 0; width: fit-content; color: var(--blue); cursor: pointer; }
.product-details dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem 1.65rem; }
.product-details dt { font-weight: 600; }
.product-details dd { margin: .35rem 0 .75rem; color: var(--muted); max-width: 39ch; }
@media (max-width: 46rem) {
    .horizon { padding-block: 1.3rem 2.85rem; }
    .horizon h1 { font-size: clamp(2.4rem,8.8vw,4.4rem); }
    .horizon-copy p { margin-top: .7rem; }
    .service-list { grid-template-columns: 1fr; gap: 0; container-type: inline-size; }
    .service { grid-template-columns: minmax(3rem,17%) minmax(0,1fr); align-items: start; gap: .85rem; padding-block: .75rem; }
    .service img { margin: .25rem 0 0; }
}
@container (max-width: 16rem) {
    .service { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
    .ridgeline { display: none; }
}
