/* State pages (/locations/<state>) and the locations hub (/locations).
   Loaded after style.css and quonset.css. The hero and the clearance block reuse the
   /steel-buildings styles unchanged; everything below is the local section, the
   Made-in-America band, nearby links and the hub grid. */

/* Breadcrumb at the top of the hero */
.st-crumbs { margin: 0 0 1rem; font-size: .8rem; color: #aab4c5; }
.st-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.st-crumbs li + li::before { content: "/"; margin-right: .35rem; color: #6f7d94; }
.st-crumbs a { color: #d7deea; text-decoration: underline; text-underline-offset: .2em; }
.st-crumbs [aria-current="page"] { color: #fff; }

/* The proof line under "Made in America for over 50 years." in the hero */
.st-usa-sub { margin: .35rem 0 0; text-align: center; font-size: .82rem; letter-spacing: .04em; color: #d7deea; }
.st-usa-sub strong { color: #fff; font-weight: 600; }

/* ---------- The local section: a light "paper" band so the state detail reads easily ---------- */
.st-local { background: #f4f2ec; color: #152947; }
.quonset-page .st-local .lp-eyebrow { color: #8a5d00; }
.quonset-page .st-local h2, .quonset-page .st-local h3 { color: #152947; }
.st-local p { color: #33425a; }
.st-local-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.st-local-head h2 { margin-bottom: 1rem; }
.st-lede { font-size: 1.08rem; max-width: 62ch; margin: 0; }
.st-answer { margin: 0; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid #ddd8cc; border-left: 4px solid #152947; border-radius: 6px; font-size: .95rem; line-height: 1.6; }
.st-answer strong { display: block; margin-bottom: .3rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #8a5d00; }

.st-facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0 0 clamp(2rem, 5vw, 3.25rem); padding: 0; }
.st-facts li { background: #fff; border: 1px solid #ddd8cc; border-top: 4px solid #152947; border-radius: 6px; padding: 1rem 1.1rem 1.1rem; min-width: 0; }
.st-facts b { display: block; font: 400 clamp(2rem, 3.2vw, 2.6rem)/1 var(--font-display); letter-spacing: .02em; color: #152947; }
.st-facts span { display: block; margin-top: .4rem; font-size: .92rem; line-height: 1.45; color: #33425a; }
.st-facts small { display: block; margin-top: .45rem; font-size: .72rem; color: #66718a; }

.st-map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.st-map { margin: 0; background: #152947; border-radius: 8px; padding: clamp(1rem, 2.5vw, 1.5rem); }
.st-map svg { display: block; width: 100%; height: auto; }
.st-map .st-shape { fill: #1f3b63; stroke: #e6a80f; stroke-width: 1.6; stroke-linejoin: round; }
.st-map circle { fill: #fff; stroke: #152947; stroke-width: 1.5; }
.st-map text { fill: #eef2f8; font: 600 10.5px/1 var(--font-body); paint-order: stroke; stroke: #152947; stroke-width: 3px; stroke-linejoin: round; }
.st-map figcaption { margin-top: .85rem; color: #e8edf5; font-size: .88rem; line-height: 1.5; }
.st-map figcaption strong { color: #ffd166; font-weight: 600; }
.st-regions h3 { font: 400 1.9rem/1.1 var(--font-display); letter-spacing: .02em; margin-bottom: .5rem; }
.st-regions p { margin: 0; color: #33425a; font-size: 1rem; line-height: 1.7; max-width: 62ch; }
.st-regions p + p { margin-top: 1rem; }

.st-uses-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .5rem 1.5rem; margin-bottom: 1.1rem; }
.st-uses-head h3 { font: 400 1.9rem/1.1 var(--font-display); letter-spacing: .02em; margin: 0; }
.st-uses-head a { color: #152947; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; padding-block: .4rem; }
.st-uses { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0 0 clamp(2rem, 5vw, 3rem); }
.st-use { display: flex; flex-direction: column; background: #fff; border: 1px solid #ddd8cc; border-radius: 8px; overflow: hidden; min-width: 0; }
.st-use img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.st-use-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.1rem 1.2rem 1.3rem; }
.st-use-series { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a5d00; }
.quonset-page .st-use h3 { margin: 0; font: 400 1.65rem/1.1 var(--font-display); letter-spacing: .02em; }
.st-use p { margin: 0; font-size: .95rem; line-height: 1.6; }
.st-use-custom { margin-top: auto !important; padding-top: .75rem; border-top: 1px dashed #ddd8cc; font-size: .88rem !important; color: #152947 !important; }
.st-use-custom strong { color: #8a5d00; font-weight: 700; }
.st-uses-note { margin: .35rem 0 0; font-size: .92rem; max-width: 70ch; }

/* Fully customizable band: replaces any "pick a size" list. Popular sizes are an insight, never a menu. */
.st-custom { display: grid; grid-template-columns: 1.4fr .6fr; gap: 1.5rem clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.3rem, 3vw, 2rem); background: #152947; border-radius: 8px; }
.st-custom-flag { display: inline-block; margin: 0 0 .7rem !important; padding: .28rem .65rem; border: 1px solid #e6a80f; border-radius: 3px; color: #ffd166 !important; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.quonset-page .st-custom h3 { font: 400 clamp(1.9rem, 3vw, 2.4rem)/1.05 var(--font-display); color: #fff; margin: 0 0 .6rem; }
.st-local .st-custom p { margin: 0; color: #d7deea; font-size: .98rem; max-width: 62ch; }
.st-custom-cta .lp-call { width: 100%; border: 0; cursor: pointer; }
.st-local .st-custom-cta p { margin-top: .75rem; text-align: center; font-size: .92rem; color: #c9d3e3; }
.st-custom-cta a { color: #ffd166; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; padding-block: .4rem; display: inline-block; }

.st-plan { margin-top: clamp(2rem, 5vw, 3rem); }
.st-plan > h3 { font: 400 1.9rem/1.1 var(--font-display); letter-spacing: .02em; margin-bottom: 1rem; }
.st-plan ol { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; counter-reset: plan; }
.st-plan li { counter-increment: plan; padding-top: .9rem; border-top: 3px solid #152947; min-width: 0; }
.st-plan li::before { content: counter(plan, decimal-leading-zero); display: block; font: 400 1.4rem/1 var(--font-display); color: #8a5d00; margin-bottom: .4rem; }
.quonset-page .st-plan h4 { font: 600 1rem/1.35 var(--font-body); color: #152947; margin: 0 0 .35rem; }
.st-plan p { margin: 0; font-size: .92rem; line-height: 1.6; }
.st-updated { margin: 1.75rem 0 0; font-size: .78rem; color: #66718a; }

/* ---------- Made in America band ---------- */
.st-usa { position: relative; background: #0d1828; overflow: hidden; }
.st-usa::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: repeating-linear-gradient(90deg, #b22234 0 28px, #fff 28px 56px); }
.st-usa-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.quonset-page .st-usa h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; margin-bottom: 1.1rem; }
.st-usa h2 span { display: block; color: var(--lp-gold); }
.st-usa-flags { display: flex; gap: .5rem; margin-bottom: 1.1rem; }
.st-usa-flags .lp-flag { width: 42px; height: 22px; }
.st-usa-lede { color: #d7deea; font-size: 1.05rem; max-width: 48ch; margin: 0; }
.st-usa-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.75rem; margin: 0; padding: 0; }
.st-usa-points li { padding-left: 1rem; border-left: 3px solid #b22234; }
.st-usa-points strong { display: block; font: 400 1.5rem/1.15 var(--font-display); letter-spacing: .02em; color: #fff; margin-bottom: .3rem; }
.st-usa-points span { display: block; color: #c3cbd9; font-size: .92rem; line-height: 1.55; }

/* ---------- Other locations ---------- */
.st-nearby { background: #111c2e; border-top: 1px solid #30415d; padding-block: 2rem; }
.st-nearby-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.st-nearby p { margin: 0; color: var(--lp-muted); font-size: .92rem; }
.st-nearby a { display: inline-block; padding: .55rem .9rem; border: 1px solid #34415b; border-radius: 4px; color: #fff; font-weight: 600; font-size: .92rem; }
.st-nearby a:hover, .st-nearby a:focus-visible { border-color: var(--lp-gold); color: #ffd166; }

/* ---------- Locations hub ---------- */
.loc-hero { background: #13233e; border-bottom: 1px solid #30415d; padding-block: clamp(2.5rem, 5vw, 4rem); }
.loc-hero h1 { font: 400 clamp(3rem, 5vw, 4.5rem)/1.02 var(--font-display); margin-bottom: 1rem; }
.loc-hero h1 span { display: block; color: var(--lp-gold); }
.loc-hero p { max-width: 62ch; color: #d7deea; font-size: 1.05rem; }
.loc-hero .lp-hero-alt { margin-top: 1.25rem; }
.loc-region + .loc-region { margin-top: clamp(2rem, 5vw, 3rem); }
.quonset-page .loc-region h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.loc-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin: 0; padding: 0; }
.loc-card { position: relative; display: flex; flex-direction: column; gap: .35rem; min-height: 100%; padding: 1.1rem 1.2rem 1.2rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; }
.quonset-page .loc-card h3 { font: 400 1.6rem/1.1 var(--font-display); letter-spacing: .02em; margin: 0; color: #fff; }
.loc-card p { margin: 0; color: #c3cbd9; font-size: .9rem; line-height: 1.5; }
.loc-card .loc-go { margin-top: auto; padding-top: .6rem; color: #ffd166; font-weight: 600; font-size: .9rem; }
.loc-card a::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.loc-card:has(a):hover, .loc-card:has(a:focus-visible) { border-color: var(--lp-gold); background: rgba(255, 255, 255, .09); }
.loc-card a:focus-visible { outline: none; }
.loc-card a:focus-visible::after { outline: 3px solid #ffd166; outline-offset: 2px; }
.loc-soon { margin-top: auto; padding-top: .6rem; color: #8d98ab; font-size: .85rem; }
.loc-note { margin-top: clamp(2rem, 5vw, 3rem); color: var(--lp-muted); max-width: 70ch; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .st-local-head, .st-map-grid, .st-usa-grid, .st-custom { grid-template-columns: 1fr; }
  .st-facts { grid-template-columns: 1fr 1fr; }
  .st-uses { grid-template-columns: 1fr 1fr; }
  .st-plan ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .st-uses, .st-plan ol, .st-usa-points { grid-template-columns: 1fr; }
  .st-facts { gap: .7rem; }
  .st-facts li { padding: .85rem .9rem .95rem; }
}

/* ---------- Legacy Steel Buildings page (/legacy-steel-buildings) ---------- */
.lg-short { font-size: 1.08rem; max-width: 60ch; }
.lg-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 1.25rem 0 .9rem; }
.lg-cta-row .lp-call { width: auto; }
.lg-cta-alt { color: #ffd166; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; padding-block: .5rem; }
.lg-disclosure { margin: 0; font-size: .85rem; color: #aab4c5; max-width: 60ch; }
.lg-hero-visual img { aspect-ratio: 4 / 3; object-fit: cover; }
.lg-badges { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 1rem 0; padding: 0; }
.lg-badges li { padding: .8rem .9rem; border: 1px solid rgba(255,255,255,.16); border-top: 3px solid var(--lp-gold); border-radius: 6px; background: rgba(255,255,255,.05); min-width: 0; }
.lg-badges strong { display: block; font: 400 1.35rem/1.1 var(--font-display); letter-spacing: .02em; color: #fff; }
.lg-badges span { display: block; margin-top: .25rem; font-size: .8rem; color: #c3cbd9; line-height: 1.4; }
.lg-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 4vw, 3.5rem); margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.lg-two p { margin: 0; font-size: 1rem; line-height: 1.7; }
.lg-two a, .lg-warranty a { color: #152947; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.quonset-page .lg-h2 { font: 400 clamp(2rem, 3.6vw, 2.9rem)/1.05 var(--font-display); letter-spacing: .02em; margin: 0; color: #152947; }
.quonset-page .lg-h2--dark { color: #fff; margin-bottom: .6rem; }
.st-uses.lg-series { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; }
.lg-series .st-use-custom a { color: #152947; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.lg-narrow { max-width: 820px; }
.lg-warranty p { font-size: 1.02rem; line-height: 1.7; max-width: 68ch; }
.lg-warranty p + p { margin-top: 1rem; }
.quonset-page .lg-warranty h2 { margin-bottom: 1rem; }
.lg-price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lg-pricing-cta { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.lg-pricing-cta .lp-call { width: auto; }
.lg-pricing-cta a[href^="tel"] { color: #ffd166; font-weight: 600; }
.lg-near-copy { margin: 0 0 1.1rem !important; max-width: 68ch; color: #c3cbd9 !important; font-size: 1rem !important; }
.lg-gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; }
.lg-gallery a { display: block; position: relative; border-radius: 8px; overflow: hidden; background: #152947; }
.lg-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.lg-gallery a:hover img, .lg-gallery a:focus-visible img { transform: scale(1.04); }
.lg-gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .65rem; background: linear-gradient(transparent, rgba(13,24,40,.85)); color: #fff; font-size: .85rem; font-weight: 600; }
.lg-legacy-out { margin-top: 1.25rem !important; font-size: .92rem; }
.lg-legacy-out a { color: #152947; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 1000px) {
  .st-uses.lg-series, .lg-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .lg-two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .st-uses.lg-series, .lg-price-cards { grid-template-columns: 1fr; }
  .lg-badges { grid-template-columns: 1fr; }
  .lg-cta-row .lp-call { width: 100%; text-align: center; }
}
.lg-more { grid-column: 1 / -1; margin: 0; }
.lg-more a { color: #ffd166; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; padding-block: .4rem; display: inline-block; }
.lg-hero h1 span { font-size: .55em; line-height: 1.1; margin-top: .35rem; }
/* Legacy hero, balanced: text + badges + Jodi on the left, photo + form on the right */
.lg-hero .lp-hero-grid { align-items: start; }
.lg-hero .lg-badges { margin: 1.75rem 0 0; }
.lg-hero .lp-person-line.lg-person { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #34415b; }
.lg-hero .lg-hero-visual > img { aspect-ratio: 16 / 9; }
.lg-hero .lg-hero-side .lp-quick-form { margin-top: 1.25rem; }
@media (max-width: 640px) {
  .lg-hero .lp-hero-media .lg-hero-visual > img { display: block; }
  .lg-hero .lp-hero-media .lg-hero-visual figcaption { display: flex; }
}
@media (min-width: 901px) {
  .lg-hero .lg-hero-visual > img { aspect-ratio: 2 / 1; }
  .lg-hero .lg-hero-side .lp-quick-form textarea { min-height: 0; height: 4.4rem; }
  .lg-hero .lp-hero-grid > div:first-child { display: flex; flex-direction: column; align-self: stretch; }
  .lg-hero .lg-disclosure { margin-bottom: 2rem; }
  .lg-hero .lg-badges { margin: auto 0 1.75rem; }
  .lg-hero .lp-person-line.lg-person { margin-top: auto; }
  .lg-hero .lg-cta-row .lp-call { display: none; } /* the form is right beside it on wide screens */
}
