:is(#about,#fleet,#services,#areas) {
  --about-yellow: #ffca28;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #181917;
  color: #fff;
}
:is(#about,#fleet,#services,#areas)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 58%;
  background: linear-gradient(145deg, #ffda54, var(--about-yellow) 72%);
  clip-path: polygon(0 0, 100% 0, 100% 83%, 0 100%);
}
:is(#about,#fleet,#services,#areas) .wrap > div.center {
  position: relative;
  padding-bottom: 20px;
  color: #181917;
}
:is(#about,#fleet,#services,#areas) .tag {
  display: inline-block;
  background: #181917;
  color: #ffda54;
  border-radius: 5px;
  padding: 5px 12px;
}
:is(#about,#fleet,#services,#areas) .wrap > div.center h2 { color: #181917; text-wrap: balance; }
:is(#about,#fleet,#services,#areas) .sub { color: #342c1d; }
:is(#about,#fleet,#services,#areas) :is(.card,.fleetcard,.service,.province) {
  background: #242522;
  border: 1px solid #4a4a40;
  border-radius: 18px;
  box-shadow: 0 8px 22px #0002;
}
:is(#about,#fleet,#services,#areas) :is(.card,.fleetcard,.service,.province) h3 { color: #fff; }
:is(#about,#fleet,#services,#areas) :is(.card,.fleetcard,.service,.province) p { color: #e0e0d9; }
:is(#about,#fleet,#services,#areas) .card .icon { background: #ffe498; color: #141510; }
@media (max-width: 950px) {
  :is(#about,#fleet,#services,#areas)::before { display: none; }
  :is(#about,#fleet,#services,#areas) .wrap > div.center { isolation: isolate; padding-bottom: 30px; }
  :is(#about,#fleet,#services,#areas) .wrap > div.center::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -150px -100vw -25px;
    background: var(--about-yellow);
    transform: skewY(-2deg);
  }
  :is(#about,#fleet,#services,#areas) :is(.cards,.fleet,.servicegrid,.province-grid) { position: relative; }
}

#areas .coverage-intro {color:#342c1d}
#areas .province header {position:static;background:transparent;color:white}
#areas .province li a,#areas .province strong {color:white}
#areas .province li a:hover {color:#ffda54}
#areas .nearby h3 {color:#fff}
#fleet .note {color:#dfdfd9}

/* Area landing-page links */
#areas .province ul, #areas .zone-links {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));
  gap:9px;
}
#areas .province li {display:block}
#areas .province li::before {display:none}
#areas .province a.area-button {
  position:relative;
  overflow:hidden;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:6px;
  min-height:46px;
  height:100%;
  box-sizing:border-box;
  padding:9px 12px;
  border:1px solid #f0bc51;
  border-radius:9px;
  background:linear-gradient(120deg,#ffe29a,#ffd052);
  color:#231d12;
  text-decoration:none;
  font-size:15px;
  font-weight:650;
  line-height:1.45;
}
#areas .province .zone-links .area-button {background:#333127;border-color:#8d7747;color:#ffe4a3}
#areas .area-button::after {content:"";width:7px;height:7px;flex:none;border:solid currentColor;border-width:1.7px 1.7px 0 0;transform:rotate(45deg)}
#areas .area-button::before {
  content:"";position:absolute;inset:-40% auto -40% -55%;width:38%;pointer-events:none;
  background:linear-gradient(100deg,transparent,#fff7,transparent);
  transform:skewX(-18deg);
}
#areas .province .area-button:hover, #areas .province .area-button:focus-visible {
  border-color:#fff1bc;background:#ffe7a6;color:#1f1a11;
}
#areas .area-button:focus-visible {outline:3px solid white;outline-offset:2px}
@media(prefers-reduced-motion:no-preference){
  #areas .area-button::before {animation:area-glint 7s ease-in-out infinite;animation-delay:var(--glint-delay,0s)}
  #areas li:nth-child(3n+2), #areas .zone-links a:nth-child(3n+2){--glint-delay:.55s}
  #areas li:nth-child(3n), #areas .zone-links a:nth-child(3n){--glint-delay:1.1s}
}
@keyframes area-glint {0%,74%{left:-55%}94%,100%{left:115%}}

/* Gold accents for the three highlighted groups on the homepage. */
:is(#quick-links .stripitem,#about .card,#services .service) {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border:1px solid #9b8245;
  background:radial-gradient(ellipse at 100% 0%,#463e28 0%,transparent 52%),#232421;
  box-shadow:inset 0 1px 0 #ffe5a22e,0 4px 16px #18160626;
}
:is(#quick-links .stripitem,#about .card,#services .service)::before {
  content:"";
  pointer-events:none;
  position:absolute;
  z-index:-1;
  top:0;
  left:0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg,transparent 0%,#fbc947 45%,#fff5c2 54%,#fbc947 61%,transparent 100%);
  box-shadow:0 2px 8px #ffc13580;
  opacity:.6;
}
:is(#about .card,#services .service)::after {
  content:"";
  position:absolute;
  pointer-events:none;
  right:13px;
  top:12px;
  width:12px;
  height:12px;
  background:#ffe497;
  clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);
  opacity:.72;
}
#quick-links .stripitem::after {text-shadow:0 0 8px #ffce65aa}
#quick-links .stripitem:is(:hover,:focus-visible) {border-color:#fff1b0;box-shadow:inset 0 0 16px #ffd24a24,0 4px 18px #5c45085c}
@media (prefers-reduced-motion:no-preference) {
  :is(#quick-links .stripitem,#about .card,#services .service)::before {
    animation:bas-edge-light 6.4s ease-in-out infinite;
    animation-delay:var(--light-offset,0s);
  }
  :is(#about .card,#services .service)::after {
    animation:bas-star-light 6.4s ease-in-out infinite;
    animation-delay:var(--light-offset,0s);
  }
  :is(#quick-links,#about,#services) :is(.stripitem,.card,.service):nth-child(2){--light-offset:.8s}
  :is(#quick-links,#about,#services) :is(.stripitem,.card,.service):nth-child(3){--light-offset:1.6s}
  :is(#quick-links,#about,#services) :is(.stripitem,.card,.service):nth-child(4){--light-offset:2.4s}
  #about .card:nth-child(5){--light-offset:3.2s}
  #about .card:nth-child(6){--light-offset:4s}
}
@keyframes bas-edge-light {
  0%{transform:translateX(-100%);opacity:0}
  15%{opacity:.95}
  36%,100%{transform:translateX(100%);opacity:0}
}
@keyframes bas-star-light {
  0%,36%,100%{transform:scale(.72);opacity:.45}
  25%{transform:scale(1.18);opacity:1}
}
