/* Area hero round 32 "Mileage" (no sign): his town photo with a slow push-in, charcoal shade on the copy side */
.a2 { --hh: 84px; position: relative; min-height: max(660px, 100svh); max-height: 1000px; padding-top: var(--hh); display: flex; align-items: center; background: #0B0B0C; color: #fff; overflow: hidden; isolation: isolate; }
.a2-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.a2-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 45%; transform-origin: 62% 50%; animation: a2-push 22s cubic-bezier(.25, .6, .35, 1) both; will-change: transform; }
@keyframes a2-push { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.a2::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .78) 34%, rgba(11, 11, 12, .2) 62%, rgba(11, 11, 12, .05) 100%), linear-gradient(0deg, rgba(11, 11, 12, .55), rgba(11, 11, 12, 0) 40%); }
.a2-in { width: 100%; max-width: 1400px; margin: 0 auto; padding: 40px var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(28px, 5vw, 96px); }
.a2-copy { max-width: 640px; }
.a2-copy > * { animation: a2-in .9s cubic-bezier(.16, 1, .3, 1) both; }
.a2-copy > :nth-child(2) { animation-delay: .08s; } .a2-copy > :nth-child(3) { animation-delay: .16s; } .a2-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes a2-in { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
.a2 .ar-roof { display: block; width: 92px; height: auto; margin: 0 0 26px; fill: none; stroke: #E3141F; stroke-width: 34; stroke-linecap: square; }
.ce .a2-h1 { margin: 0 0 24px; font-family: 'Jost', sans-serif; text-transform: none; color: #fff; line-height: 1; letter-spacing: 0; }
.a2-pre { display: block; margin-bottom: 18px; font: 400 clamp(14px, 1.1vw, 17px)/1.4 'Jost', sans-serif; letter-spacing: .26em; text-transform: uppercase; color: #C9CCD1; }
.a2-town { display: inline-block; padding-top: 22px; border-top: 2px solid #E3141F; font: 300 clamp(54px, 6.4vw, 112px)/1 'Jost', sans-serif; letter-spacing: .03em; text-transform: uppercase; }
.a2-town i { font-style: normal; font-size: .36em; letter-spacing: .2em; color: #C9CCD1; margin-left: .1em; vertical-align: .14em; white-space: nowrap; }
.a2-line { margin: 0 0 32px; max-width: 42ch; font: 300 clamp(17px, 1.3vw, 20px)/1.6 'Jost', sans-serif; color: #D5D8DC; }
.a2 .ar-act { display: flex; flex-wrap: wrap; gap: 12px; }
.a2 .btn { font: 500 14px/1 'Jost', sans-serif; letter-spacing: .2em; text-transform: uppercase; border-radius: 0; }
.a2 .e-btn-line { background: rgba(11, 11, 12, .35); color: #fff; border-color: rgba(255, 255, 255, .5) !important; } .a2 .e-btn-line:hover { background: #fff; color: #1E1F22; }


@media (max-width: 1000px) { .a2-in { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .a2 { --hh: 68px; min-height: 0; max-height: none; display: block; }
  .a2::before { background: linear-gradient(180deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .82) 52%, rgba(11, 11, 12, .25) 78%, rgba(11, 11, 12, .1) 100%); }
  .a2-photo img { object-position: 58% 50%; }
  .a2-in { padding: 30px 20px 0; gap: 34px; }
  .a2 .ar-roof { width: 72px; margin-bottom: 20px; }
  .a2-pre { font-size: 12.5px; letter-spacing: .2em; margin-bottom: 14px; }
  .a2-town { font-size: clamp(40px, 12vw, 54px); padding-top: 16px; }
  .a2-line { font-size: 17px; margin-bottom: 24px; }
  .a2 .ar-act .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .a2 *, .a2-photo img { animation: none !important; } }
/* phones: leave a band of the town photo showing under the buttons */
@media (max-width: 760px) {
  .a2-in { padding-bottom: 58vw; }
  .a2::before { background: linear-gradient(180deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .84) 50%, rgba(11, 11, 12, .3) 68%, rgba(11, 11, 12, 0) 82%); }
  .a2-photo img { object-position: 62% 62%; }
}
/* phone QA fix (2026-11-17): long town names (Mechanicsville) ran off the screen; the size now fits the name's length */
@media (max-width: 859px) { .a2-town { font-size: min(clamp(40px, 12vw, 54px), calc((100vw - 44px) / (var(--n, 10) * .6))); } }
