/* Remco Roofing — town landing pages (/service-areas/<slug>/). Built on /assets/v2/remco.css.
   Rhythm: photo hero (dark) → local story (paper) → services (white) → locator map (ink) → FAQ (paper) → red dispatch-ticket CTA. */

/* ---------------------------------------------------------- hero */
.tw-hero { position: relative; min-height: min(100svh, 1000px); display: grid; align-items: end; padding: 132px 0 clamp(1.4rem, 3.2vh, 2.4rem); background: #0b0b0c; overflow: hidden; isolation: isolate; }
.tw-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.tw-hero__px { position: absolute; inset: 0; }
.tw-hero__px img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: tw-settle 2.6s var(--e-out) both; }
@keyframes tw-settle { from { transform: scale(1.07); } to { transform: none; } }
.tw-hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,8,9,.6) 0, rgba(8,8,9,0) 24%),
  linear-gradient(0deg, rgba(8,8,9,.92) 0, rgba(8,8,9,.55) 38%, rgba(8,8,9,.1) 68%, rgba(8,8,9,0) 80%); }
.tw-hero__in { position: relative; width: 100%; }

.tw-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; font-size: .82rem; font-weight: 600; color: var(--on-dark-70); }
.tw-crumbs li + li::before { content: "/"; margin-right: .55rem; color: rgba(255,255,255,.3); }
.tw-crumbs a { display: inline-block; padding: .55rem 0; transition: color .3s; }
.tw-crumbs a:hover { color: #fff; }
.tw-crumbs [aria-current] { color: #fff; }

.tw-hero__nick { margin-top: .9rem; font: italic 400 clamp(1.25rem, 1.9vw, 1.7rem)/1.2 var(--f-it); color: rgba(255,255,255,.86); }
.tw-hero__h { margin-top: clamp(.8rem, 2vh, 1.3rem); max-width: 12em; font-size: clamp(2.25rem, 7.2vw, 7.2rem); }
.tw-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.6rem 4rem; margin-top: clamp(1.4rem, 3.4vh, 2.4rem); padding-top: clamp(1.2rem, 2.6vh, 1.6rem); border-top: 1px solid var(--line-dark); }
.tw-hero__l { display: grid; gap: 1.1rem; }
.tw-hero__row .lede { max-width: 31em; color: rgba(255,255,255,.82); }
.tw-hero__btns { display: flex; flex-wrap: wrap; gap: .6rem; flex: none; }
.tw-hero__btns .ic { width: 17px; height: 17px; }

.tw-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.tw-chips li { display: inline-flex; align-items: center; gap: .5rem; min-height: 34px; padding: 0 .9rem; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tw-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: #1ec96b; animation: live 2s infinite; }
.tw-chip__dot.is-red { background: var(--red); animation: none; box-shadow: 0 0 0 3px rgba(255,255,255,.85); }

.tw-cr { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .15rem .9rem; margin-top: clamp(1.2rem, 2.6vh, 1.8rem); font-size: .72rem; line-height: 1.45; color: var(--on-dark-50); text-align: right; }
.tw-cr__cap { color: rgba(255,255,255,.66); }
.tw-cr a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 2px; transition: color .3s; }
.tw-cr a:hover { color: #fff; }

@media (max-width: 860px) {
  .tw-hero { min-height: 92svh; padding-top: 104px; }
  .tw-hero__h { font-size: min(3.6rem, calc((100vw - 2 * var(--gut)) / var(--wl, 10) / .6)); }
  .tw-hero__row { flex-direction: column; align-items: stretch; }
  .tw-hero__btns { display: grid; grid-template-columns: 1fr; }
  .tw-cr { justify-content: flex-start; text-align: left; flex-direction: column; }
}

/* ---------------------------------------------------------- local story */
.tw-intro { background: var(--paper); padding: clamp(5rem, 10vw, 9rem) 0; }
.tw-intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.tw-intro__l { position: sticky; top: 110px; display: grid; gap: 1.4rem; }
.tw-intro__l .h-2 { max-width: 10em; font-size: clamp(2.1rem, 4.2vw, 4rem); }
.tw-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.6rem; margin-top: .6rem; }
.tw-facts > div { padding: .9rem 0; border-top: 1px solid var(--line); }
.tw-facts > div:nth-child(3) { grid-column: 1 / -1; }
.tw-facts dt { font: 600 .68rem/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.tw-facts dd { margin: .45rem 0 0; font-weight: 700; font-size: 1rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tw-intro__r { display: grid; gap: 1.25rem; max-width: 40em; padding-top: .4rem; }
.tw-intro__r p { font-size: 1.06rem; line-height: 1.7; color: #3b3b40; }
.tw-intro__r .tw-lead { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.45; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.tw-intro__go { padding-top: .6rem; }
@media (max-width: 860px) {
  .tw-intro__grid { grid-template-columns: 1fr; }
  .tw-intro__l { position: static; }
}

/* ---------------------------------------------------------- services */
.tw-svc { background: #fff; padding: clamp(5rem, 9vw, 8rem) 0; }
.tw-svc__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.tw-svc__head .h-2 { margin-top: 1.3rem; max-width: 12em; font-size: clamp(2.1rem, 4.2vw, 4rem); }
.tw-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); }
.tw-card { position: relative; display: grid; gap: .7rem; padding-bottom: 1rem; height: 100%; align-content: start; }
.tw-card__ph { aspect-ratio: 4 / 5; border-radius: 18px; background: var(--bone); margin-bottom: .5rem; }
.tw-card__ph img { transition: transform 1.2s var(--e-out); }
.tw-card:hover .tw-card__ph img { transform: scale(1.06); }
.tw-card__n { padding-top: .8rem; border-top: 1px solid var(--line-2); font: 700 .74rem/1 var(--f-sans); letter-spacing: .12em; color: var(--red); }
.tw-card h3 { transition: color .3s; }
.tw-card:hover h3 { color: var(--red); }
.tw-card p { font-size: .95rem; line-height: 1.55; color: var(--mute); }
.tw-card__go { position: absolute; right: 0; top: calc(100% * 0); display: none; }
.tw-card .tw-card__go .ic { width: 18px; height: 18px; }
@media (min-width: 641px) {
  .tw-card__go { display: grid; place-items: center; position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 10px 24px -14px rgba(0,0,0,.5); transform: scale(.85); opacity: 0; transition: transform .5s var(--e-out), opacity .3s, background .3s, color .3s; }
  .tw-card:hover .tw-card__go, .tw-card:focus-visible .tw-card__go { transform: none; opacity: 1; background: var(--red); color: #fff; }
}
@media (max-width: 1023px) { .tw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.4rem; } }
@media (max-width: 640px) {
  .tw-cards { grid-template-columns: 1fr; gap: 0; }
  .tw-card { grid-template-columns: 104px 1fr; grid-template-rows: auto auto 1fr; column-gap: 1rem; row-gap: .35rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
  .tw-cards li:last-child .tw-card { border-bottom: 1px solid var(--line); }
  .tw-card__ph { grid-row: 1 / 4; aspect-ratio: 1; border-radius: 14px; margin: 0; }
  .tw-card__n { border: 0; padding: 0; }
  .tw-card p { font-size: .9rem; }
}

/* ---------------------------------------------------------- where we are (locator) */
.tw-where { background: var(--ink); padding: clamp(5rem, 9vw, 8rem) 0; }
.tw-where__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.tw-where__l { display: grid; gap: 1.4rem; align-content: start; }
.tw-where__l .h-2 { max-width: 10em; font-size: clamp(2.1rem, 4.2vw, 4rem); }
.tw-where__p { color: var(--on-dark-70); max-width: 32em; font-size: 1.05rem; }
.tw-near { margin-top: .8rem; }
.tw-near__h { font: 600 .7rem/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-50); margin-bottom: .6rem; }
.tw-near ul { margin-bottom: 1.6rem; }
.tw-near li a { display: flex; align-items: center; gap: 1rem; min-height: 56px; border-bottom: 1px solid var(--line-dark); transition: color .3s, padding .5s var(--e-out); }
.tw-near li:first-child a { border-top: 1px solid var(--line-dark); }
.tw-near li a span { flex: 1; font-weight: 700; font-size: 1.12rem; letter-spacing: -.015em; }
.tw-near li a small { color: var(--on-dark-50); font-size: .85rem; font-variant-numeric: tabular-nums; }
.tw-near li a .ic { width: 16px; height: 16px; color: var(--on-dark-50); transition: transform .5s var(--e-out), color .3s; }
.tw-near li a:hover { color: #ff3a33; padding-left: .4rem; }
.tw-near li a:hover .ic { color: #ff3a33; transform: translateX(3px); }

.tw-map { justify-self: end; width: 100%; max-width: 500px; }
.tw-map__svg { width: 100%; height: auto; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -40px rgba(0,0,0,.8); font-family: var(--f-sans); }
.tw-map figcaption { margin-top: .8rem; font-size: .74rem; color: var(--on-dark-50); }
.m-sea { fill: #0d151a; }
.m-land { fill: #1a1a1d; }
.m-coast { fill: none; stroke: rgba(255,255,255,.34); stroke-width: 1.4; stroke-linejoin: round; }
.m-lagoon { fill: none; stroke: #0d151a; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.m-river { fill: none; stroke: #0d151a; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.m-lake { fill: #0d151a; stroke: rgba(255,255,255,.16); stroke-width: 1; }
.m-grid { stroke: rgba(255,255,255,.07); stroke-dasharray: 2 6; }
.m-gl { fill: rgba(255,255,255,.3); font-size: 15px; font-weight: 600; letter-spacing: .08em; }
.m-wl { fill: rgba(190,220,235,.42); font: italic 400 22px var(--f-it); }
.m-wl--big { font-size: 32px; }
.m-n path { fill: rgba(255,255,255,.7); }
.m-n text { fill: rgba(255,255,255,.55); font-size: 14px; font-weight: 700; }
.m-dot { fill: rgba(255,255,255,.38); opacity: 0; transition: opacity .6s; transition-delay: calc(.2s + var(--i, 0) * 40ms); }
.m-dot.is-near { fill: #fff; }
.m-ring { fill: none; stroke: rgba(255,58,51,.5); stroke-width: 1.4; stroke-dasharray: 3 7; opacity: 0; transition: opacity 1s .6s; }
.m-route { fill: none; stroke: var(--red); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--e-io) .9s; }
.m-base__dot { fill: #fff; }
.m-base__ring { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.5; }
.m-town { fill: var(--red); stroke: #fff; stroke-width: 3; }
.m-pulse { fill: none; stroke: #ff3a33; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: tw-pulse 2.2s var(--e-out) infinite; }
@keyframes tw-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.m-lab text { paint-order: stroke; stroke: #111113; stroke-width: 6px; stroke-linejoin: round; }
.m-lb { fill: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.m-ls { fill: rgba(255,255,255,.62); font-size: 15px; font-weight: 600; }
.m-lab.is-town .m-lb { font-size: 26px; }
.m-lab.is-town .m-ls { fill: #ff6a63; font-size: 17px; }
.m-lab { opacity: 0; transition: opacity .8s .6s; }
.m-lab.is-town { transition-delay: 1.9s; }
.tw-map.is-in .m-dot, .tw-map.is-in .m-lab, .tw-map.is-in .m-ring { opacity: 1; }
.tw-map.is-in .m-route { stroke-dashoffset: 0; }
@media (max-width: 860px) {
  .tw-where__grid { grid-template-columns: 1fr; }
  .tw-map { justify-self: center; max-width: 420px; }
}

/* ---------------------------------------------------------- FAQ */
.tw-faq { background: var(--paper); padding: clamp(5rem, 9vw, 8rem) 0; }
.tw-faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.tw-faq__l { position: sticky; top: 110px; display: grid; gap: 1.4rem; }
.tw-faq__l .h-2 { max-width: 9em; font-size: clamp(2.1rem, 4.2vw, 4rem); }
.tw-q { border-top: 1px solid var(--line-2); }
.tw-q:last-child { border-bottom: 1px solid var(--line-2); }
.tw-q summary { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 64px; padding: 1.1rem 0; cursor: pointer; list-style: none; }
.tw-q summary::-webkit-details-marker { display: none; }
.tw-q h3 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; transition: color .3s; }
.tw-q summary:hover h3 { color: var(--red); }
.tw-q__x { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background .35s, box-shadow .35s, transform .5s var(--e-out); }
.tw-q__x::before, .tw-q__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; background: currentColor; transition: transform .5s var(--e-out); }
.tw-q__x::after { transform: rotate(90deg); }
.tw-q[open] .tw-q__x { background: var(--ink); color: #fff; box-shadow: none; transform: rotate(180deg); }
.tw-q[open] .tw-q__x::after { transform: rotate(0); }
.tw-q__a p { max-width: 40em; padding: 0 3.4rem 1.5rem 0; color: #3b3b40; font-size: 1rem; line-height: 1.7; }
.tw-q__a a { font-weight: 700; color: var(--ink); border-bottom: 1.5px solid var(--red); }
.tw-q { interpolate-size: allow-keywords; }
.tw-q::details-content { height: 0; overflow: clip; transition: height .55s var(--e-out), content-visibility .55s allow-discrete; }
.tw-q[open]::details-content { height: auto; }
@media (max-width: 860px) {
  .tw-faq__grid { grid-template-columns: 1fr; }
  .tw-faq__l { position: static; }
  .tw-q__a p { padding-right: 0; }
}

/* ---------------------------------------------------------- closing CTA: red, with a dispatch ticket */
.tw-cta { position: relative; background: var(--red); padding: clamp(5rem, 9vw, 8rem) 0; overflow: hidden; isolation: isolate; }
.tw-cta::before { content: ""; position: absolute; z-index: -1; right: -12vw; top: 50%; width: 70vw; aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%);
  background: repeating-radial-gradient(circle, rgba(255,255,255,.09) 0 1px, transparent 1px 64px); }
.tw-cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.tw-cta__h { font-size: clamp(2.5rem, 5.6vw, 5.6rem); max-width: 9.5em; }
.tw-cta .h-1 .soft { color: rgba(255,255,255,.62); }
.tw-cta__p { margin-top: 1.6rem; max-width: 28em; font-size: 1.08rem; color: rgba(255,255,255,.88); }
.tw-tk { position: relative; display: grid; gap: 1rem; padding: clamp(1.3rem, 2.4vw, 1.9rem); border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 50px 90px -40px rgba(70,0,0,.65); }
.tw-tk__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 22px; font-size: .78rem; font-weight: 600; color: var(--mute); }
.tw-tk__live { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .7rem; }
.tw-tk__live i { width: 8px; height: 8px; border-radius: 50%; background: #1ec96b; animation: live 2s infinite; }
.tw-tk__clock { font-variant-numeric: tabular-nums; text-align: right; }
.tw-tk__route { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 0 .2rem; border-top: 1px dashed var(--line-2); }
.tw-tk__route > div small { display: block; font: 600 .66rem/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: .45rem; }
.tw-tk__route > div b { display: block; font-weight: 800; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.1; letter-spacing: -.03em; }
.tw-tk__route > div:last-child { text-align: right; }
.tw-tk__route.is-base > div:last-child { text-align: left; }
.tw-tk__route i { position: relative; flex: 1; min-width: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 11px); }
.tw-tk__route i::before, .tw-tk__route i::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; }
.tw-tk__route i::before { left: -4px; background: var(--ink); }
.tw-tk__route i::after { right: -4px; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.tw-tk__mi { font-size: .82rem; color: var(--mute); padding-bottom: .8rem; border-bottom: 1px dashed var(--line-2); }
.tw-tk__call { width: 100%; min-height: 60px; font-size: .9rem; }
.tw-tk__row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.tw-tk__row .btn { padding: 0 .9rem; font-size: .72rem; }
.tw-tk .ic { width: 17px; height: 17px; }
.tw-tk__lic { font-size: .74rem; color: var(--mute); text-align: center; }
@media (max-width: 860px) {
  .tw-cta__grid { grid-template-columns: 1fr; }
  .tw-cta::before { width: 140vw; right: -70vw; top: 18%; }
}
@media (max-width: 400px) { .tw-tk__row { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .tw-hero__px img { animation: none; }
  .m-dot, .m-lab, .m-ring { opacity: 1 !important; }
  .m-route { stroke-dashoffset: 0 !important; }
  .m-pulse { display: none; }
}
/* ticket sits on white inside an .on-dark section: force the dark-on-white ghost button */
.tw-tk .btn--ghost { --bg: transparent; --fg: var(--ink); --hov: var(--ink); --hov-fg: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); }

/* no pulsing green "live" dots anywhere (Alex 2026-10-21: reads as an AI-template site) */
.tw-chip__dot, .tw-tk__live i { display: none !important; }
