/* Dover Dumpster v2 inner pages: towns, counties, services, sizes, prices, FAQ, about, reviews, contact, pay, 404. */

.ph-art { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 11; background: radial-gradient(70% 70% at 50% 40%, #2A2D31, #0B0C0D); box-shadow: 0 0 0 1px var(--line-dark); }
.ph-art img { width: 100%; height: 100%; object-fit: cover; }
.ph-art .dz3d { --zs: .5; }
.ph-art .tag { position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; border-radius: 9px; background: rgba(14, 15, 16, .86); color: #fff; font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 760px) { .ph-art .dz3d { --zs: .78; } }

/* distance dial on town pages */
.dial { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 360px; width: 100%; margin: 0 auto; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial .ring { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.2; }
.dial .ring.edge { stroke: rgba(255, 90, 31, .5); stroke-dasharray: 4 6; }
.dial .spoke { stroke: var(--hv); stroke-width: 3; stroke-linecap: round; transform-origin: 50% 50%; }
.js .dial .spoke { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.2s var(--ease) .2s; }
.js .dial.in .spoke { stroke-dashoffset: 0; }
.dial .home { fill: #fff; }
.dial .dest { fill: var(--hv); }
.js .dial .dest { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--ease) 1.2s; }
.js .dial.in .dest { transform: scale(1); }
.dial .lbl { position: absolute; font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; padding: 5px 9px; border-radius: 8px; }
.dial .lbl.home { color: var(--ink); background: #fff; }
.dial .lbl.dest { color: var(--ink); background: var(--hv); }
.dial .lbl.mi { left: 50%; bottom: -2px; transform: translateX(-50%); color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark); }

/* content layout: words + a sticky price card */
.content { display: grid; gap: 34px; }
.prose { max-width: 680px; }
.prose h2 { font-size: clamp(1.6rem, 7vw, 2.5rem); margin: 0 0 14px; }
.prose * + h2 { margin-top: 42px; }
.prose h3 { margin: 26px 0 8px; }
.prose p { color: #33373B; text-wrap: pretty; }
.prose ul { padding-left: 1.2em; color: #33373B; }
.prose li { margin: 6px 0; }
.prose .textlink { font-weight: 700; }
.side-card { position: relative; align-self: start; padding: 20px; border-radius: 20px; background: var(--ink); color: #fff; overflow: hidden; }
.side-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--hazard); }
.side-card .kick { color: #FF8A5C; }
.side-card h2 { font-size: 22px; margin: 8px 0 12px; }
.side-card .sp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side-card .sp a { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); text-decoration: none; }
.side-card .sp small { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--silver); }
.side-card .sp b { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 28px; letter-spacing: -.03em; line-height: 1; color: var(--hv); }
.side-card ul { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 6px; color: var(--silver); font-size: 15px; }
.side-card li::before { content: "✓ "; color: var(--hv); font-weight: 900; }
.side-card .btn-row .btn { flex: 1 1 120px; min-height: 48px; }
@media (min-width: 960px) { .content { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } .side-card { position: sticky; top: calc(var(--head-h) + 24px); } }

.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.photo-row figcaption { margin-top: 6px; font-size: 14px; color: var(--steel); }
@media (min-width: 760px) { .photo-row { gap: 16px; } .photo-row img { aspect-ratio: 4 / 3; } }

.near { margin-top: 34px; padding: 18px; border-radius: 18px; background: var(--paper-2); }
.near h2 { font-size: 20px; margin-bottom: 12px; }
.near ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.near a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 13px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 15px; }
.near a small { font-family: var(--mono); font-size: 12px; color: var(--steel); }
.near a:hover { background: var(--ink); color: #fff; }
.near a:hover small { color: var(--silver); }

/* tape measure (service area page) */
.tape { position: relative; display: grid; grid-template-columns: 84px 1fr; --mi-px: 22px; }
.tape-case { position: relative; z-index: 2; width: 84px; height: 84px; border-radius: 22px; background: var(--hv); display: grid; place-items: center; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .6); }
.tape-case::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 3px solid rgba(14, 15, 16, .35); }
.tape-case span { position: relative; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--ink); text-align: center; line-height: 1.2; }
.tape-body { grid-column: 1 / -1; position: relative; margin-top: -10px; height: calc(var(--mi-px) * 25 + 30px); }
.tape-blade { position: absolute; left: 30px; top: 0; width: 26px; height: calc(var(--mi-px) * 25 + 16px); border-radius: 0 0 4px 4px; transform-origin: 50% 0; transition: transform .2s linear; background: repeating-linear-gradient(180deg, transparent 0 calc(var(--mi-px) - 1.5px), rgba(14, 15, 16, .6) calc(var(--mi-px) - 1.5px) var(--mi-px)) 0 10px / 9px 100% no-repeat, #F2C230; }
.tape-blade::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -6px; height: 8px; border-radius: 2px; background: var(--ink); }
.tape-ticks { position: absolute; left: 0; top: 0; right: 0; height: 100%; list-style: none; margin: 0; padding: 0; }
.tape-ticks li { position: absolute; left: 64px; transform: translateY(-50%); display: block; font-size: 15px; font-weight: 650; white-space: nowrap; transition: color .3s; }
.tape-ticks li b { display: inline-block; margin-right: 10px; min-width: 44px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--hv-deep); }
.tape-ticks li.mi { font-family: var(--mono); font-size: 13px; color: var(--steel); }
.tape-ticks li.mi b { color: var(--ink); }
.tape-ticks li.end b { color: #fff; background: var(--ink); border-radius: 6px; padding: 3px 6px; }
.js .tape-ticks li.off { color: var(--steel); }
.js .tape-ticks li.off:not(.end) b { color: var(--steel); }
.tape-ticks li a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 359px) { .tape-ticks li { font-size: 14px; gap: 6px; } .tape-ticks li b { min-width: 38px; } }

.area-grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 60px; align-items: start; } .area-grid .link-grid { grid-template-columns: repeat(3, 1fr); } }
.pop { margin-top: 30px; }
.pop h2 { font-size: 20px; margin-bottom: 12px; }

/* contact */
.reach { display: grid; gap: 12px; }
.reach-card { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: transform .2s var(--ease), border-color .2s; }
.reach-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.reach-card svg { grid-row: 1 / 3; width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--hv); color: var(--ink); }
.reach-card .mono { font-size: 12.5px; font-weight: 700; color: var(--steel); }
.reach-card b { font-family: var(--display); font-stretch: 105%; font-size: clamp(1.05rem, 4.6vw, 1.35rem); font-weight: 900; letter-spacing: -.01em; }
.reach-card[href^="mailto:"] b { font-family: var(--font); font-stretch: 100%; font-size: clamp(1rem, 4.4vw, 1.2rem); font-weight: 800; letter-spacing: 0; white-space: nowrap; }
.hours-list { list-style: none; padding: 0; margin: 0 0 26px; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours-list span { color: var(--steel); }
@media (min-width: 760px) { .reach { grid-template-columns: 1fr 1fr 1.6fr; } }

/* pay */
.pay-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.pp { display: grid; gap: 2px; padding: 14px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.pp .mono { font-size: 12px; font-weight: 700; color: var(--steel); }
.pp b { font-family: var(--display); font-stretch: 112%; font-size: clamp(1.5rem, 7vw, 2.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.pp span:last-child { font-size: 13px; color: var(--steel); }
@media (max-width: 479px) { .pay-prices { grid-template-columns: 1fr; } .pp { grid-template-columns: 1fr auto; align-items: baseline; column-gap: 12px; } .pp .mono { grid-column: 1 / -1; } }

/* index lists (all towns / all services) */
.link-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.link-grid li { display: flex; }
.link-grid a { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 800; }
.link-grid a small { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--steel); letter-spacing: .04em; }
.link-grid a:hover { background: var(--ink); color: #fff; }
.link-grid a:hover small { color: var(--silver); }
@media (min-width: 760px) { .link-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .link-grid { grid-template-columns: repeat(4, 1fr); } }

.nf { padding: clamp(56px, 14vw, 120px) 0; text-align: center; }
.nf h1 { font-size: clamp(2.4rem, 10vw, 4.4rem); }
.nf .lede { margin: 16px auto 0; }
.nf .btn-row { justify-content: center; margin: 28px auto 0; max-width: 520px; }
