/* Shared refinements for the existing Bulldog homepage and city templates. */
a.bulldog-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .8em;
  min-height: 44px;
  max-width: 100%;
  padding: .62em .9em;
  border: 1px solid #967957;
  border-radius: 8px;
  background: #1d1e1c;
  color: #f7eee0;
  font-size: clamp(.84rem, 1.45vw, 1rem);
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}
a.bulldog-secondary-link::after {
  content: '→';
  color: #ffb468;
  flex: none;
}
a.bulldog-secondary-link:is(:hover, :focus-visible) {
  color: #fff8ed;
  border-color: #ffb468;
  background: #30271f;
}
a.bulldog-secondary-link:focus-visible {
  outline: 2px solid #ffd298;
  outline-offset: 3px;
}
#services .bulldog-services-route { margin: 16px 0 0; }
#services .bulldog-services-route a { width: 100%; }
.work .bulldog-gallery-link { flex: 0 1 auto; }
.work .bench-tools:has(.bulldog-gallery-link) {
  gap: 10px 16px;
  padding-block: 10px;
  flex-wrap: wrap;
}
.work .bench-tools .browse-prints { flex: none; margin-inline-start: auto; }
#area #area-visit.bulldog-secondary-link { margin-top: 10px; }
#area #area-visit.bulldog-secondary-link::after { content: none; }
#area #area-visit.bulldog-secondary-link .ui-icon { color: #ffb468; flex: none; }
#area .line-map .roads {
  stroke: #ebdfc7;
  stroke-width: 3.2;
  opacity: .86;
  filter: url(#bulldog-map-chalk);
}
#area .line-map .ridges {
  stroke: #a9a194;
  stroke-width: 1.25;
  opacity: .46;
  filter: url(#bulldog-map-chalk);
}
#area #road-grid path { stroke-opacity: .08; }
#area .atlas[data-view=projects] .roads { opacity: .38; }
#area .line-map .city-trace { filter: url(#bulldog-map-chalk); }
#area .map-detail {
  border-top-color: #998061;
  background: #1a1c1b;
}
#area .map-detail > div:first-child {
  position: relative;
  padding-inline-start: 26px;
}
#area .map-detail > div:first-child::before {
  content: '';
  position: absolute;
  left: 3px;
  top: .6rem;
  width: 11px;
  height: 11px;
  border: 2px solid #f6b572;
  border-radius: 60% 60% 60% 0;
  transform: rotate(-45deg);
}
#area .map-route-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  background: #1a1c1b;
}
#area .map-route-links a:last-child { margin-inline-start: auto; }
#area .gilbert-tower { position: relative; }
#area .bulldog-tower-ground {
  position: absolute;
  inset: auto auto 0 -43%;
  width: 114%;
  height: 20%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
#area .bulldog-tower-ground path {
  fill: none;
  stroke: #dbd0ba;
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: .64;
  filter: url(#bulldog-map-chalk);
}
.city-questions.bulldog-faq { gap: clamp(14px, 3vw, 32px); }
.bulldog-faq .area-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, 27%);
  align-items: center;
  gap: 8px 16px;
}
.bulldog-faq .area-copy .eyebrow { grid-column: 1; margin-bottom: 0; }
.bulldog-faq .area-copy h2 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 4.1rem);
}
.bulldog-faq .bulldog-faq-sketch {
  width: 100%;
  height: auto;
  max-height: 172px;
  object-fit: contain;
  object-position: right center;
  grid-column: 2;
  grid-row: 1 / 3;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 74% 70% at 57% 50%, #000 49%, transparent 97%);
}
.bulldog-faq .solar-answers details[open] {
  background: #222624;
  box-shadow: inset 3px 0 #e5a35f;
}
.bulldog-faq .solar-answers details summary { min-height: 48px; }
.bulldog-faq .solar-answers details[open] summary { color: #ffd3a5; }
#contact.visit.bulldog-review-panel {
  aspect-ratio: auto;
  min-height: 0;
  padding: clamp(28px, 5vw, 72px) clamp(16px, 6.5vw, 96px);
}
#contact.visit.bulldog-review-panel .visit-copy {
  position: static;
  width: auto;
  max-width: 56rem;
  margin: 0 auto;
}
#contact.visit.bulldog-review-panel .visit-copy h2 { max-width: 30rem; }
#contact.visit.bulldog-review-panel form,
#contact.quote.bulldog-review-panel form {
  position: static;
  width: 100%;
  max-width: 56rem;
  min-width: 0;
  margin: clamp(16px, 3vw, 28px) auto 0;
  padding: clamp(13px, 3vw, 28px);
  border: 1px solid #89765e;
  border-radius: 13px;
  background: #1c1e1d;
  box-shadow: 0 14px 36px #0004;
}
#contact.bulldog-review-panel form label:has(input[name=city]),
#contact.bulldog-review-panel form label:has(select[name=project_request]) {
  grid-column: auto;
}
#contact.visit.bulldog-review-panel form :is(input:not([type=checkbox]), select) {
  min-height: 45px;
}
#contact.visit.bulldog-review-panel form button[type=submit] { min-height: 48px; }
#contact.bulldog-review-panel form .review-status:empty { display: none; }
@media (max-width: 540px) {
  #contact.bulldog-review-panel form { grid-template-columns: minmax(0, 1fr); }
  #area .bulldog-tower-ground { left: -12%; width: 106%; opacity: .82; }
  #area .map-route-links a:last-child { margin-inline-start: 0; }
  .work .bench-tools:has(.bulldog-gallery-link) { padding-inline: 6%; }
  .work .bench-tools:has(.bulldog-gallery-link) .pencil-roll { order: 2; }
}
#contact.visit.bulldog-review-panel .visit-copy :is(.pin, .area, .phone, h2) {
  position: static;
  height: auto;
}
#contact.visit.bulldog-review-panel .visit-copy h2 { width: min(100%, 30rem); }
#contact.visit.bulldog-review-panel .visit-copy .pin { margin: 0 0 12px; }
#contact.visit.bulldog-review-panel .visit-copy .area { margin: 8px 0; }
#contact.visit.bulldog-review-panel .visit-copy .phone { margin: 10px 0 0; }
#contact.visit.bulldog-review-panel .visit-copy h2 img { width: 100%; height: auto; }
#contact.bulldog-review-panel form :is(input,select) { min-width: 0; }
.bulldog-review-panel.contact-grid #review {
  padding: clamp(13px, 3vw, 28px);
  border: 1px solid #89765e;
  border-radius: 13px;
  background: #1c1e1d;
}
.bulldog-review-panel.contact-grid #review label:has(input[name=city]),
.bulldog-review-panel.contact-grid #review label:has(select[name=project_request]) {
  grid-column: auto;
}
@media (max-width: 540px) {
  .bulldog-review-panel.contact-grid #review { grid-template-columns: minmax(0, 1fr); }
}
