/* /fort-collins: local landing page on the studio system. Reuses the homepage's
   chrome hero stage, work cards, and footer wordmark; adds the hummingbird map. */
.local-page .local-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--case-muted);
  margin-bottom: 18px;
}
.local-page .local-eyebrow::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--studio-orange);
}

/* Hero: copy beside the chrome gyroscope bird */
.local-page .local-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  grid-template-areas: "copy stage" "facts facts";
  column-gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-top: clamp(20px, 3vw, 44px);
}
.local-page .local-hero-copy { grid-area: copy; }
.local-page .local-hero h1 { font-size: clamp(50px, 6.6vw, 116px); }
.local-page .local-hero .case-premise { margin-top: clamp(26px, 3vw, 40px); max-width: 24ch; }
.local-page .local-hero .case-lead { margin-top: 20px; max-width: 58ch; }
.local-page .flight-stage { grid-area: stage; margin-top: 0; height: clamp(340px, 36vw, 540px); }
.local-page .local-hero .case-facts { grid-area: facts; margin-top: clamp(36px, 4vw, 56px); }

/* Ink band: recent work, then what I build */
.local-page .local-work-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 12px 32px;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.local-page .local-work-heading h2 { font-size: clamp(39px, 5.5vw, 78px); line-height: 1.02; }
.local-page .local-work-heading p { color: #b6b8ae; font-size: 15px; }
.local-page .local-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}
/* The homepage pins each card to its own exhibition column; this grid does not. */
.local-page .local-work-grid .work-card { grid-column: auto; margin-top: 0; width: auto; }
.local-page .local-work-grid .work-visual { aspect-ratio: 1.3; }
.local-page .work-caption { gap: 18px; padding-top: 20px; }
.local-page .work-caption > div { flex: 1; min-width: 0; }
.local-page .work-caption h3 { font-size: clamp(21px, 1.9vw, 30px); line-height: 1.1; }
.local-page .work-caption p { font-size: 14px; }
.local-page .work-caption-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #eeeee666;
  border-radius: 50%;
  flex: none;
  margin-top: 2px;
}
.local-page .work-caption-arrow .ui-arrow { width: 19px; height: 19px; transition: transform .25s var(--ease-out); }
.local-page .work-card[href]:is(:hover, :focus-visible) .work-caption-arrow { background: var(--studio-paper); color: var(--studio-ink); border-color: var(--studio-paper); }
.local-page .work-card[href]:is(:hover, :focus-visible) .work-caption-arrow .ui-arrow { transform: translate(2px, -2px); }
.local-page .work-card:focus-visible { outline-color: var(--studio-paper); }

/* Lead card: the local client. Its picture takes two of the three columns and its
   text sits in the third, on the same tracks as the cards below. Not a link: the
   shop's domain still serves the old site, so there is nowhere true to send people. */
.local-page .local-work-grid .local-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 36px);
  align-items: end;
  margin-bottom: clamp(16px, 2.2vw, 36px);
}
.local-page .local-work-grid .local-feature .work-visual {
  grid-column: span 2;
  aspect-ratio: 1.75;
  padding: 5% 13%;
  background: #284080;
}
.local-page .local-feature .project-type,
.local-page .local-feature .project-action { color: #fff; }
.local-page .local-feature .work-caption { padding-top: 0; padding-bottom: 4px; }
.local-page .local-feature .feature-kicker {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #b6b8ae;
  max-width: none;
}
.local-page .local-feature .feature-kicker::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--studio-orange);
}
.local-page .local-feature .work-caption h3 { font-size: clamp(30px, 3.2vw, 52px); line-height: 1.02; }
.local-page .local-feature .work-caption h3 + p { font-size: 16px; line-height: 1.65; margin-top: 18px; max-width: 38ch; }
.local-page .local-build-heading { margin-top: clamp(80px, 9vw, 140px); }

/* Inline link on the ink band */
.local-page .local-inline-link {
  color: var(--studio-paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.local-page .local-inline-link:hover { text-decoration-thickness: 2px; }

/* Service name above each "What I build" heading. The four names match the
   services list on the Google Business Profile (docs/google-business-profile.md). */
.local-page .case-steps .step-service {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #b6b8ae;
}

/* As the hummingbird flies */
.local-page .local-map {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  grid-template-areas: "head figure" "controls figure";
  grid-template-rows: auto 1fr;
  column-gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(72px, 8vw, 128px);
}
.local-page .map-head { grid-area: head; }
.local-page .map-controls { grid-area: controls; }
.local-page .map-figure { grid-area: figure; align-self: center; }
.local-page .map-head h2 { font-size: clamp(39px, 5.2vw, 78px); line-height: 1.02; max-width: 11ch; }
.local-page .map-intro { margin-top: 20px; line-height: 1.6; color: var(--case-muted); }
.local-page .map-readout {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: 14px;
  margin-block: clamp(26px, 3vw, 40px) 24px;
}
.local-page .map-miles {
  font-size: clamp(96px, 10.5vw, 172px);
  font-weight: 600;
  font-stretch: 82%;
  font-variation-settings: 'wdth' 82, 'wght' 600;
  line-height: .78;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.local-page .map-unit { font-size: clamp(20px, 1.8vw, 26px); padding-bottom: .1em; }
.local-page .map-pair { grid-column: 1 / -1; margin-top: 16px; font-size: 16px; color: var(--case-muted); }
.local-page .map-pair-town { color: var(--studio-ink); font-weight: 600; }
.local-page .map-towns { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.local-page .map-towns button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #929687;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.local-page .map-towns button:hover { border-color: var(--studio-ink); }
.local-page .map-towns button[aria-pressed="true"] { background: var(--studio-ink); border-color: var(--studio-ink); color: var(--studio-paper); }
.local-page .map-town-mi { font-family: var(--font-mono); font-size: 12px; color: var(--case-muted); }
.local-page .map-towns button[aria-pressed="true"] .map-town-mi { color: #b6b8ae; }
.local-page .map-note { margin-top: 18px; font-size: 13px; color: var(--case-muted); line-height: 1.5; }
.local-page .map-figure {
  background: #e4e5da;
  border-radius: 14px;
  padding: clamp(10px, 1.6vw, 24px);
}
.local-page .map-svg { display: block; width: 100%; height: auto; overflow: visible; }
.local-page .map-grid line { stroke: #c8c9be; stroke-width: 1.5; }
.local-page .map-grid text { font-family: var(--font-mono); font-size: 17px; fill: #56594f; }
.local-page .map-road line { stroke: #a2a597; stroke-width: 4; stroke-dasharray: 14 10; }
.local-page .map-road text { font-family: var(--font-mono); font-size: 19px; fill: #56594f; }
.local-page .map-route { fill: none; stroke: var(--studio-orange); stroke-width: 6; stroke-linecap: round; }
.local-page .map-town { cursor: pointer; }
.local-page .map-hit { fill: transparent; }
.local-page .map-dot { fill: var(--studio-ink); }
.local-page .map-town text { font-size: 27px; fill: var(--studio-ink); letter-spacing: -.01em; }
/* A paper halo keeps names legible where they cross I-25 or a route. */
.local-page .map-town text,
.local-page .map-home text,
.local-page .map-road text { paint-order: stroke; stroke: #e4e5da; stroke-width: 7px; stroke-linejoin: round; }
.local-page .map-town:hover .map-dot { fill: var(--studio-orange); }
.local-page .map-town.is-active .map-dot { fill: var(--studio-orange); stroke: var(--studio-ink); stroke-width: 3; }
.local-page .map-town.is-active text { font-weight: 650; }
.local-page .map-home-dot { fill: var(--studio-orange); }
.local-page .map-home-ring { fill: none; stroke: var(--studio-orange); stroke-width: 3; }
.local-page .map-home text { font-size: 31px; font-weight: 650; fill: var(--studio-ink); letter-spacing: -.02em; }
.local-page .map-home .map-home-label { font-family: var(--font-mono); font-size: 15px; font-weight: 400; letter-spacing: .08em; fill: #56594f; }
.local-page .map-bird { color: var(--studio-ink); pointer-events: none; }

/* FAQ, matching the homepage disclosure rows */
.local-page .local-faq .faq-list { border-top: 1px solid var(--case-line); }
.local-page .local-faq .faq-item { border-top: 0; border-bottom: 1px solid var(--case-line); padding-inline: 20px; }
.local-page .local-faq .faq-item summary { font-size: 18px; align-items: center; min-height: 76px; padding: 22px 0; }
.local-page .local-faq .faq-item summary::-webkit-details-marker { display: none; }
.local-page .local-faq .faq-item summary .expand-icon { width: 32px; height: 32px; border: 1px solid #929687; border-radius: 50%; }
.local-page .local-faq .faq-item summary .expand-icon::before,
.local-page .local-faq .faq-item summary .expand-icon::after { width: 14px; left: 8px; top: 15px; }
.local-page .local-faq .faq-item[open] { background: #e1e3d7; }
.local-page .local-faq .faq-item[open] summary { font-weight: 550; }
.local-page .local-faq .faq-item[open] summary .expand-icon { background: var(--studio-ink); border-color: var(--studio-ink); color: var(--studio-paper); }
.local-page .local-faq .faq-item p { max-width: 62ch; font-size: 16px; line-height: 1.75; padding: 0 45px 26px 0; color: #454b40; }

/* Orange finale: contact, footer, and the homepage's waving wordmark */
.local-page .local-finale { border-radius: 28px 28px 0 0; padding-bottom: 0; overflow: hidden; }
.local-page .local-finale .case-footer {
  margin-top: clamp(64px, 8vw, 120px);
  border-top: 1px solid #18191840;
  padding-block: 22px 8px;
}
.local-page .local-finale .case-footer p { color: var(--studio-ink); max-width: none; border-top: 0; padding-top: 0; }
.local-page .local-finale .footer-wordmark { color: var(--studio-ink); padding-top: 10px; }
.local-page .local-finale .brand svg { width: 39px; height: 34px; }

@media (max-width: 1023px) {
  .local-page .local-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .local-page .local-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-page .local-work-grid .local-feature { grid-template-columns: 1fr; }
  .local-page .local-work-grid .local-feature .work-visual { grid-column: auto; }
  .local-page .local-feature .work-caption { padding-top: 24px; }
}
@media (max-width: 767px) {
  .local-page .local-eyebrow { font-size: 12px; margin-bottom: 14px; }
  .local-page .local-hero { grid-template-columns: 1fr; grid-template-areas: "copy" "stage" "facts"; }
  .local-page .local-hero h1 { font-size: clamp(46px, 12.5vw, 80px); }
  .local-page .flight-stage { height: 280px; margin-top: 12px; }
  .local-page .local-hero .case-facts { margin-top: 18px; }
  .local-page .local-work-grid { grid-template-columns: 1fr; gap: 44px; }
  .local-page .local-work-grid .local-feature { margin-bottom: 0; }
  .local-page .local-work-grid .local-feature .work-visual { aspect-ratio: 1.3; padding: 9%; }
  .local-page .local-feature .work-caption { padding-top: 20px; }
  .local-page .local-feature .work-caption h3 { font-size: 30px; }
  .local-page .local-feature .work-caption h3 + p { font-size: 15px; margin-top: 14px; }
  .local-page .local-map { grid-template-columns: 1fr; grid-template-areas: "head" "figure" "controls"; grid-template-rows: auto; row-gap: 26px; }
  .local-page .map-readout { margin-top: 4px; }
  .local-page .map-towns button { font-size: 14px; padding: 0 14px; }
  .local-page .map-grid text { display: none; }
  .local-page .map-town text { font-size: 36px; }
  .local-page .map-home text { font-size: 38px; }
  .local-page .map-home .map-home-label { font-size: 20px; }
  .local-page .map-road text { font-size: 26px; }
  .local-page .local-faq .faq-item { padding-inline: 14px; }
  .local-page .local-faq .faq-item summary { font-size: 16px; gap: 15px; }
  .local-page .local-faq .faq-item p { font-size: 15px; padding-right: 10px; }
  .local-page .local-finale { border-radius: 20px 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .local-page .map-towns button,
  .local-page .work-caption-arrow .ui-arrow { transition: none; }
}
@media print {
  .local-page .flight-stage, .local-page .footer-wordmark { display: none; }
}
