/* IV Revival, idea G: the east and south town pages (2026-11-15, builder TE). On top of g.css, gi.css and gi-place.css
   (read-only here). Tempe, Mesa, Chandler, Gilbert, Queen Creek, San Tan Valley, Ahwatukee. Each town keeps the
   Scottsdale frame (opening, its own map, menu, review, questions, nearby, the end) and gets a middle of its own:
     0. shared: pin labels above/below their dot, the map's own shape, the town postcard (a Wikimedia Commons landmark,
        credited), the town's visits beside her photo, a second short review
     1. Tempe: four doors (homes, condos, hotels, offices: her own line)
     2. Mesa: three Mesa days as tickets, then why Mesa calls us, each answer opening its drip
     3. Chandler: the VIP receipt (her Chandler page's membership math, every number a {{key}})
     4. Gilbert: Gilbert's week on a calendar, and 30 to 60 minutes on your own sofa
     5. Queen Creek: past 110 (her two backyard photos under the heat) and the add-ons her page names
     6. San Tan Valley: the drive out, a 0 to 40 mile ruler from Scottsdale
     7. Ahwatukee: South Mountain band, then before and after
   Reduce Motion: calmer, never frozen. Every font size keeps a rem part (the zoom test). */

/* 0. shared ----------------------------------------------------------------------------------------------------- */
.pm-pin--b { flex-direction: column; gap: 4px; translate: -50% -7px; }
.pm-pin--bl { flex-direction: column; align-items: flex-start; gap: 4px; translate: -7px -7px; }
.pm-pin--t { flex-direction: column-reverse; gap: 4px; translate: -50% calc(-100% + 7px); }
@media (max-width: 599px) { .pm-pin--bl { translate: -5px -5px; } .pm-pin--b { translate: -50% -5px; } .pm-pin--t { translate: -50% calc(-100% + 5px); } }
.pm-mark { position: absolute; z-index: 1; translate: -50% -50%; font: 800 clamp(.68rem, .58rem + .2vw, .82rem)/1.1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #5f5b52; text-align: center; white-space: nowrap; }
.pm-mark::before { content: ""; display: block; width: 0; height: 0; margin: 0 auto 4px; border: 6px solid transparent; border-bottom: 9px solid #8c8473; border-top: 0; }

/* the postcard: a real landmark people know in the town (scenery only, credited) */
.te-card { position: relative; margin: 0; }
.te-card__frame { position: relative; padding: clamp(10px, 1vw, 16px); background: #fff; border-radius: 6px; box-shadow: 0 1px 0 rgba(13,13,12,.05), 0 40px 60px -42px rgba(13,13,12,.65); rotate: -1.2deg; transition: rotate .8s cubic-bezier(.34,1.3,.64,1); }
.te-card.is-in .te-card__frame { rotate: -.4deg; }
.te-card img { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 21 / 9); object-fit: cover; border-radius: 2px; }
.te-card__stamp { position: absolute; right: clamp(-14px, -1vw, -8px); top: clamp(-22px, -1.6vw, -14px); display: grid; place-content: center; width: clamp(96px, 5rem + 3vw, 140px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); color: var(--ink); text-align: center; rotate: 9deg; box-shadow: 0 0 0 4px #fff, 0 14px 24px -14px rgba(13,13,12,.6); }
.te-card__stamp b { font: 900 clamp(.9rem, .8rem + .4vw, 1.2rem)/1 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.te-card__stamp span { margin-top: 4px; font: 700 .66rem/1.15 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.te-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin-top: 16px; }
.te-card figcaption b { font: 900 clamp(1rem, .9rem + .4vw, 1.3rem)/1.15 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.te-credit { font: 400 .8rem/1.4 var(--text); color: var(--mute-ink); }
.te-credit a { color: var(--mute-ink); }
@media (prefers-reduced-motion: reduce) { .te-card__frame { transition: none; } }
@media (max-width: 599px) { .te-card img { aspect-ratio: var(--ar-phone, 4 / 3); } .te-card__stamp { width: 84px; right: 6px; top: -26px; } .te-card__stamp span { font-size: .58rem; } }

/* a town's visits beside her photo (the words lead on the left) */
.te-duo { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(36px, 5vw, 96px); align-items: center; }
.te-duo__pic { position: relative; margin: 0; }
.te-duo__pic img { width: 100%; height: auto; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; border-radius: 28px; box-shadow: 0 40px 60px -40px rgba(13,13,12,.6); }
.te-duo__pic .g-stick__s { position: absolute; right: clamp(-30px, -1.8vw, -14px); top: clamp(-30px, -1.8vw, -16px); }
.te-duo header { margin-bottom: clamp(24px, 2.2vw, 36px); }
.te-visits { display: grid; gap: 0; border-top: 2px solid var(--ink); counter-reset: v; }
.te-visits li { counter-increment: v; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; row-gap: 4px; padding: clamp(16px, 1.4vw, 22px) 0; border-bottom: 1px solid var(--line-dark); }
.te-visits li::before { content: counter(v, decimal-leading-zero); grid-row: 1 / 3; font: 900 clamp(1.4rem, 1.1rem + .9vw, 2rem)/1 var(--font); font-stretch: var(--wide); color: #3f6b14; }
.te-visits b { font: 900 clamp(1rem, .92rem + .35vw, 1.25rem)/1.15 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.te-visits span { font: 400 1rem/1.5 var(--text); color: var(--mute-ink); }
.te-visits a { color: var(--ink); font-weight: 700; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; }
@media (max-width: 899px) { .te-duo { grid-template-columns: minmax(0, 1fr); } .te-duo__pic { order: -1; } .te-duo__pic .g-stick__s { right: 10px; top: -22px; } }

/* a second, shorter review */
.te-q2 { max-width: 640px; margin: clamp(30px, 3vw, 48px) auto 0; padding-top: clamp(22px, 2vw, 30px); border-top: 1px solid var(--line-dark); text-align: center; }
.te-q2 blockquote { font: 700 clamp(1.05rem, .95rem + .4vw, 1.3rem)/1.4 var(--font); font-stretch: 104%; }
.te-q2 cite { display: block; margin-top: 10px; font: 400 .92rem/1.4 var(--text); font-style: normal; color: var(--mute-ink); }
.te-q2 cite b { color: var(--ink); }

/* the promises in a row, without the how-it-works cards (pages that tell the visit their own way) */
.te-promise { margin-top: clamp(30px, 3vw, 48px); }

/* 1. Tempe: four doors ---------------------------------------------------------------------------------------- */
.te-doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 24px); margin-top: clamp(40px, 4vw, 72px); }
.te-doors li { position: relative; display: grid; align-content: start; justify-items: center; gap: 10px; padding: clamp(40px, 3.4vw, 60px) clamp(16px, 1.4vw, 24px) clamp(26px, 2.2vw, 34px); border-radius: 999px 999px 22px 22px; background: var(--paper); text-align: center; transition: translate .5s cubic-bezier(.34,1.4,.64,1) calc(var(--i, 0) * 90ms), background .25s ease; }
.te-doors li:nth-child(2) { background: #e2efd2; }
.te-doors li:nth-child(3) { background: var(--ink); color: #fff; }
.te-doors li:nth-child(3) span { color: rgba(255,255,255,.8); }
.te-doors li:nth-child(4) { background: #dcebf6; }
.f-js .te-doors:not(.is-in) li { translate: 0 40px; }
.te-doors__ico { width: clamp(64px, 3rem + 2.4vw, 92px); height: auto; aspect-ratio: 1; padding: clamp(14px, .7rem + .5vw, 22px); border-radius: 50%; background: var(--sun); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.te-doors b { margin-top: 8px; font: 900 clamp(1.05rem, .95rem + .45vw, 1.4rem)/1.1 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.te-doors small { font: 800 .74rem/1.2 var(--font); font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; color: #3f6b14; }
.te-doors li:nth-child(3) small { color: var(--sun); }
.te-doors span { font: 400 1rem/1.5 var(--text); color: var(--mute-ink); }
@media (max-width: 899px) { .te-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .te-doors li { padding-inline: 12px; } .te-doors b { font-size: .98rem; } }
@media (prefers-reduced-motion: reduce) { .te-doors li { transition: background .25s ease; } .f-js .te-doors:not(.is-in) li { translate: none; } }

/* 2. Mesa: three days as tickets, then why Mesa calls -------------------------------------------------------- */
.te-tix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 28px); margin-top: clamp(40px, 4vw, 72px); }
.te-tix li { --notch: radial-gradient(circle at 0 50%, transparent 13px, #000 14px); position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: clamp(24px, 2vw, 34px) clamp(22px, 2vw, 32px); background: #fff; border-radius: 18px; -webkit-mask: radial-gradient(circle 14px at 0 72%, transparent 98%, #000) , radial-gradient(circle 14px at 100% 72%, transparent 98%, #000); -webkit-mask-composite: source-in; mask: radial-gradient(circle 14px at 0 72%, transparent 98%, #000), radial-gradient(circle 14px at 100% 72%, transparent 98%, #000); mask-composite: intersect; rotate: var(--r, 0deg); transition: rotate .6s cubic-bezier(.34,1.4,.64,1) calc(var(--i, 0) * 110ms), translate .6s cubic-bezier(.34,1.4,.64,1) calc(var(--i, 0) * 110ms); }
.f-js .te-tix:not(.is-in) li { rotate: 0deg; translate: 0 30px; }
.te-tix li::after { content: ""; position: absolute; left: 22px; right: 22px; top: 72%; border-top: 2px dashed var(--line-dark); }
.te-tix__kind { display: inline-flex; justify-self: start; padding: 7px 12px; border-radius: 999px; background: var(--sun); font: 800 .74rem/1 var(--font); font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; }
.te-tix h3 { font: 900 clamp(1.2rem, 1rem + .7vw, 1.75rem)/1.05 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.te-tix p { font: 400 1rem/1.5 var(--text); color: var(--mute-ink); }
.te-tix__stub { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 18px; font: 800 .74rem/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--mute-ink); }
.te-tix__stub i { font-style: normal; color: #3f6b14; }
@media (max-width: 899px) { .te-tix { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { .te-tix li { transition: none; } .f-js .te-tix:not(.is-in) li { translate: none; } }

.te-why { display: grid; gap: clamp(12px, 1.2vw, 18px); max-width: 1000px; margin: clamp(36px, 3.4vw, 56px) auto 0; }
.te-why a { display: grid; grid-template-columns: minmax(0, 5fr) clamp(64px, 3rem + 3vw, 110px) minmax(0, 6fr) auto; align-items: center; gap: clamp(14px, 2vw, 32px); padding: clamp(14px, 1.2vw, 20px) clamp(18px, 2vw, 32px); border-radius: 22px; background: #fff; color: var(--ink); text-decoration: none; transition: background .25s ease, translate .25s ease; }
.te-why__q { font: 900 clamp(1.1rem, .95rem + .6vw, 1.6rem)/1.1 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.te-why img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(13,13,12,.25)); }
.te-why__a b { display: block; font: 800 clamp(1rem, .92rem + .3vw, 1.2rem)/1.2 var(--font); font-stretch: 108%; }
.te-why__a span { display: block; margin-top: 4px; font: 400 .98rem/1.45 var(--text); color: var(--mute-ink); }
.te-why__p { font: 900 clamp(1.05rem, .95rem + .4vw, 1.35rem)/1 var(--font); white-space: nowrap; }
.te-why a:hover, .te-why a:focus-visible { background: #e2efd2; }
.te-why a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 699px) {
  .te-why a { grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 16px; row-gap: 4px; }
  .te-why img { grid-column: 1; grid-row: 1 / 4; }
  .te-why__q, .te-why__a, .te-why__p { grid-column: 2; }
}

/* 3. Chandler: the VIP receipt -------------------------------------------------------------------------------- */
.te-vip { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 96px); align-items: center; }
.te-vip header { margin-bottom: clamp(20px, 2vw, 30px); }
.te-vip__more { font: 400 1rem/1.55 var(--text); color: var(--mute-ink); max-width: 46ch; }
.te-vip__more + .f-btn { margin-top: clamp(22px, 2vw, 30px); }
.te-receipt { position: relative; padding: clamp(28px, 2.6vw, 44px) clamp(24px, 2.4vw, 40px) clamp(40px, 3.4vw, 56px); background: #fff; color: var(--ink); rotate: 1.5deg; box-shadow: 0 40px 60px -40px rgba(13,13,12,.6); -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%; transition: rotate .8s cubic-bezier(.34,1.3,.64,1); }
.f-js .te-receipt:not(.is-in) { rotate: -2deg; }
.te-receipt__top { display: grid; justify-items: center; gap: 4px; padding-bottom: 16px; border-bottom: 2px dashed var(--line-dark); text-align: center; }
.te-receipt__top b { font: 900 clamp(1.15rem, 1rem + .5vw, 1.5rem)/1 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.te-receipt__top span { font: 700 .76rem/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--mute-ink); }
.te-receipt dl { display: grid; gap: 14px; padding: 18px 0; border-bottom: 2px dashed var(--line-dark); }
.te-receipt dl div { display: flex; align-items: baseline; gap: 10px; }
.te-receipt dt { font: 600 1rem/1.35 var(--text); }
.te-receipt dt small { display: block; font: 400 .86rem/1.35 var(--text); color: var(--mute-ink); }
.te-receipt dl div::after { content: ""; order: 1; flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(13,13,12,.3); translate: 0 -4px; }
.te-receipt dd { order: 2; font: 900 clamp(1.1rem, 1rem + .4vw, 1.4rem)/1 var(--font); white-space: nowrap; }
.te-receipt__strike dd { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--mute-ink); }
.te-receipt__hi { margin-inline: -12px; padding: 10px 12px; border-radius: 10px; background: #e2efd2; }
.te-receipt__end { padding-top: 16px; display: grid; gap: 6px; font: 600 .92rem/1.45 var(--text); color: var(--mute-ink); text-align: center; }
.te-receipt__end b { color: var(--ink); }
@media (max-width: 899px) { .te-vip { grid-template-columns: minmax(0, 1fr); } .te-receipt { max-width: 480px; width: 100%; justify-self: center; } }
@media (prefers-reduced-motion: reduce) { .te-receipt { transition: none; } .f-js .te-receipt:not(.is-in) { rotate: 1.5deg; } }

/* 4. Gilbert: the week, and the sofa ------------------------------------------------------------------------- */
.te-week { position: relative; max-width: 1100px; margin: clamp(40px, 4vw, 72px) auto 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: clamp(6px, .8vw, 12px); row-gap: clamp(10px, 1vw, 14px); }
.te-week__d { padding-bottom: 10px; border-bottom: 2px solid var(--ink); text-align: center; font: 900 clamp(.9rem, .8rem + .4vw, 1.2rem)/1 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.te-week__d small { display: block; margin-top: 4px; font: 700 .64rem/1 var(--font); letter-spacing: .1em; color: var(--mute-ink); }
.te-week__bar { grid-column: var(--c); display: grid; gap: 2px; padding: clamp(12px, 1.1vw, 18px) clamp(14px, 1.4vw, 22px); border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); transform-origin: left center; transition: scale .7s cubic-bezier(.34,1.2,.64,1) calc(var(--i, 0) * 140ms + .1s), opacity .4s ease calc(var(--i, 0) * 140ms + .1s); }
.f-js .te-week:not(.is-in) .te-week__bar { scale: 0 1; opacity: 0; }
.te-week__bar b { font: 900 clamp(.95rem, .88rem + .3vw, 1.15rem)/1.15 var(--font); font-stretch: 108%; text-transform: uppercase; }
.te-week__bar span { font: 400 .95rem/1.4 var(--text); color: var(--mute-ink); }
.te-week__bar--us { background: var(--sun); box-shadow: none; }
.te-week__bar--us span { color: var(--ink); }
@media (max-width: 699px) {
  .te-week { grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 4px; }
  .te-week__d { font-size: .8rem; }
  .te-week__d small { display: none; }
  .te-week__bar { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .te-week__bar { transition: opacity .5s ease; } .f-js .te-week:not(.is-in) .te-week__bar { scale: 1; } }

.te-sofa { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 96px); align-items: center; }
.te-sofa__pic { position: relative; margin: 0; }
.te-sofa__pic img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; border-radius: 28px; }
.te-dial { position: absolute; right: clamp(-28px, -1.6vw, -12px); bottom: clamp(-34px, -2vw, -18px); display: grid; place-content: center; width: clamp(130px, 6rem + 4vw, 190px); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--sun) 0 var(--to, 0%), #fff var(--to, 0%) 100%); box-shadow: 0 0 0 6px var(--ink), 0 24px 34px -18px rgba(13,13,12,.6); text-align: center; transition: --to 1.4s ease; }
@property --to { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.te-dial.is-in { --to: 100%; }
.te-dial::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; background: var(--ink); }
.te-dial b, .te-dial span { position: relative; color: #fff; }
.te-dial b { font: 900 clamp(1.3rem, 1rem + 1vw, 2rem)/1 var(--font); font-stretch: var(--wide); }
.te-dial span { margin-top: 4px; font: 700 .7rem/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--sun); }
.te-sofa__words header { margin-bottom: clamp(20px, 2vw, 30px); }
.te-sofa__vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.te-sofa__vs li { padding: 16px 18px; border-radius: 16px; background: #fff; font: 400 .98rem/1.45 var(--text); color: var(--mute-ink); }
.te-sofa__vs b { display: block; margin-bottom: 4px; font: 900 clamp(.95rem, .88rem + .3vw, 1.1rem)/1.15 var(--font); font-stretch: var(--wide); text-transform: uppercase; color: var(--ink); }
.te-sofa__vs li:first-child { background: var(--ink); color: rgba(255,255,255,.8); }
.te-sofa__vs li:first-child b { color: var(--sun); }
@media (max-width: 899px) { .te-sofa { grid-template-columns: minmax(0, 1fr); } .te-dial { right: 12px; } }
@media (max-width: 420px) { .te-sofa__vs { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .te-dial { transition: --to .4s linear; } }

/* 5. Queen Creek: past 110, then the add-ons ---------------------------------------------------------------- */
.te-heat { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 96px); align-items: center; }
.te-heat__num { display: block; font: 900 clamp(5rem, 5.4rem + 4.4vw, 12rem)/.8 var(--font); font-stretch: var(--wide); letter-spacing: -.04em; color: var(--ink); }
.te-heat__num sup { font-size: .42em; vertical-align: .9em; }
.te-heat__words .f-label { margin-top: clamp(14px, 1.4vw, 22px); }
.te-heat__words .f-h2 { margin-top: 8px; }
.te-heat__words p:not(.f-label) { margin-top: 16px; font: 400 clamp(1.02rem, .96rem + .25vw, 1.2rem)/1.55 var(--text); max-width: 44ch; }
.te-heat__pics { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto; align-items: start; }
.te-heat__pics figure { margin: 0; }
.te-heat__a { grid-column: 1 / 8; grid-row: 1; z-index: 1; rotate: -2.5deg; }
.te-heat__b { grid-column: 6 / 13; grid-row: 1; margin-top: 32% !important; rotate: 2deg; }
.te-heat__pics img { display: block; width: 100%; height: auto; object-fit: cover; border: clamp(6px, .6vw, 10px) solid #fff; border-radius: 6px; box-shadow: 0 34px 50px -34px rgba(13,13,12,.7); }
.te-heat__a img { aspect-ratio: 4 / 5; object-position: 40% 60%; }
.te-heat__b img { aspect-ratio: 4 / 3; }
@media (max-width: 899px) { .te-heat { grid-template-columns: minmax(0, 1fr); } }

.te-adds { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: clamp(26px, 2.6vw, 40px) auto 0; }
.te-adds a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 8px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font: 800 clamp(.95rem, .9rem + .2vw, 1.08rem)/1 var(--font); font-stretch: 108%; box-shadow: inset 0 0 0 1px var(--line-dark); transition: background .2s ease; }
.te-adds a::before { content: "+"; display: grid; place-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); font: 900 1.2rem/1 var(--font); }
.te-adds a:hover, .te-adds a:focus-visible { background: #e2efd2; }
.te-adds__note { margin-top: 18px; text-align: center; font: 400 1rem/1.5 var(--text); color: var(--mute-ink); }

/* 6. San Tan Valley: the drive out ------------------------------------------------------------------------- */
.te-drive { max-width: 1100px; margin: clamp(48px, 5vw, 88px) auto 0; padding: 0 clamp(8px, 2vw, 28px); }
.te-drive__rule { position: relative; height: 18px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); }
.te-drive__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 9px; background: var(--sun); transform-origin: left; transition: scale 1.8s cubic-bezier(.3,.7,.3,1) .2s; }
.f-js .te-drive:not(.is-in) .te-drive__fill { scale: 0 1; }
.te-drive__ticks { position: absolute; left: 0; right: 0; top: 100%; height: 30px; display: flex; justify-content: space-between; }
.te-drive__ticks span { position: relative; width: 0; font: 700 .74rem/1 var(--font); color: var(--mute-ink); }
.te-drive__ticks span::before { content: ""; position: absolute; left: -1px; top: 4px; width: 2px; height: 8px; background: var(--mute-ink); }
.te-drive__ticks span i { position: absolute; top: 16px; translate: -50% 0; font-style: normal; white-space: nowrap; }
.te-drive__end { position: absolute; right: -2px; top: -46px; translate: 50% 0; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font: 800 .72rem/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
/* below 1300 wide there is no room for half the "40 mi" label past the bar's end (it ran 23-39px off a tablet screen):
   it lines up with the end instead, the way "Scottsdale, our base" lines up with the start */
@media (max-width: 1299px) { .te-drive__end { right: 0; translate: 0 0; } }
.te-drive__towns { position: relative; height: 150px; margin-top: 52px; }
.te-drive__towns li { position: absolute; left: var(--x); top: 0; bottom: var(--h, 70px); display: flex; flex-direction: column; align-items: center; translate: -50% 0; transition: opacity .5s ease calc(.4s + var(--i, 0) * 140ms); }
.f-js .te-drive:not(.is-in) .te-drive__towns li { opacity: 0; }
.te-drive__towns li::before { content: ""; flex: 1; width: 2px; background: var(--ink); }
.te-drive__towns a { order: 2; margin-top: 4px; padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font: 800 .82rem/1.1 var(--font); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line-dark); }
.te-drive__towns a:hover, .te-drive__towns a:focus-visible { background: #e2efd2; }
.te-drive__towns .is-here { --h: 0px; }
.te-drive__towns .is-here span { order: 2; margin-top: 6px; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--sun); text-align: center; font: 900 clamp(.95rem, .85rem + .4vw, 1.2rem)/1.1 var(--font); font-stretch: var(--wide); text-transform: uppercase; white-space: nowrap; }
.te-drive__towns .is-here span small { display: block; margin-top: 4px; font: 700 .72rem/1.2 var(--font); letter-spacing: .06em; color: #fff; font-stretch: 100%; }
.te-drive__home { position: absolute; left: 0; top: -46px; translate: -6px 0; padding: 6px 10px; border-radius: 8px; background: #fff; color: var(--ink); font: 800 .72rem/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line-dark); white-space: nowrap; }
.te-drive__note { margin-top: 18px; text-align: center; font: 400 .92rem/1.5 var(--text); color: var(--mute-ink); }
@media (max-width: 699px) {
  /* the ruler stands up on a phone: Scottsdale at the top, 40 miles at the bottom */
  .te-drive { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 18px; padding: 54px 0 46px; position: relative; }
  .te-drive__rule { grid-row: 1; height: 520px; width: 18px; }
  .te-drive__fill { width: auto; right: 0; bottom: auto; height: var(--w); transform-origin: top; }
  .f-js .te-drive:not(.is-in) .te-drive__fill { scale: 1 0; }
  .te-drive__ticks { left: 100%; top: 0; bottom: 0; right: auto; width: 30px; height: auto; flex-direction: column; }
  .te-drive__ticks span { width: auto; height: 0; }
  .te-drive__ticks span::before { left: 4px; top: -1px; width: 8px; height: 2px; }
  .te-drive__ticks span i { top: -7px; left: 16px; translate: none; }
  .te-drive__home { left: -8px; top: -44px; translate: none; }
  .te-drive__end { right: auto; left: -8px; top: auto; bottom: -40px; translate: none; }
  .te-drive__towns { grid-row: 1; grid-column: 2; height: 520px; margin: 0 0 0 26px; }
  .te-drive__towns li { left: 0; right: auto; top: var(--x); bottom: auto; flex-direction: row; translate: 0 -50%; }
  .te-drive__towns li::before { flex: none; width: 24px; height: 2px; }
  .te-drive__towns a, .te-drive__towns .is-here span { margin: 0 0 0 4px; }
  .te-drive__note { grid-column: 1 / -1; margin-top: 46px; }
}
@media (max-width: 699px) { .te-drive__towns li.te-far::before { width: 132px; } }
@media (prefers-reduced-motion: reduce) { .te-drive__fill { transition: scale .6s ease .2s; } }

.te-pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); margin-top: clamp(30px, 3vw, 48px); }
.te-pay li { display: grid; align-content: start; gap: 6px; padding: clamp(20px, 1.8vw, 28px); border-radius: 22px; background: #fff; }
.te-pay li::before { content: ""; width: 34px; height: 4px; margin-bottom: 8px; background: var(--sun); }
.te-pay b { font: 900 clamp(1rem, .92rem + .35vw, 1.25rem)/1.15 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.te-pay span { font: 400 1rem/1.5 var(--text); color: var(--mute-ink); }
@media (max-width: 899px) { .te-pay { grid-template-columns: minmax(0, 1fr); } }

/* 7. Ahwatukee: South Mountain band, then before and after -------------------------------------------------- */
.te-band { position: relative; display: grid; min-height: clamp(420px, 34rem + 10vw, 760px); color: #fff; isolation: isolate; overflow: hidden; }
.te-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; scale: 1.08; transition: scale 2.4s ease; }
.te-band.is-in > img { scale: 1; }
.te-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,13,12,.82) 0%, rgba(13,13,12,.55) 42%, rgba(13,13,12,0) 72%); }
.te-band .f-wrap { align-self: center; padding-block: clamp(56px, 6vw, 110px); }
.te-band__words { max-width: 560px; }
.te-band .f-label { color: rgba(255,255,255,.85); }
.te-band .f-h2 { color: #fff; }
.te-band__words p:not(.f-label) { margin-top: 18px; font: 400 clamp(1.05rem, 1rem + .3vw, 1.25rem)/1.55 var(--text); color: rgba(255,255,255,.92); }
.te-band__credit { position: absolute; right: 14px; bottom: 10px; max-width: 70%; text-align: right; font: 400 .74rem/1.35 var(--text); color: rgba(255,255,255,.88); text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.te-band__credit a { color: inherit; }
@media (max-width: 699px) {
  .te-band { min-height: 0; grid-template-rows: 260px auto; background: var(--ink); }
  .te-band > img { position: relative; grid-row: 1; height: 260px; z-index: 0; }
  .te-band::before { display: none; }
  .te-band .f-wrap { grid-row: 2; padding-block: 76px 52px; }
  .te-band__credit { top: 270px; bottom: auto; left: 20px; right: 20px; max-width: none; text-align: left; color: rgba(255,255,255,.72); }
}
@media (prefers-reduced-motion: reduce) { .te-band > img { transition: none; scale: 1; } }

.te-ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 26px); margin-top: clamp(40px, 4vw, 72px); }
.te-ba section { padding: clamp(26px, 2.4vw, 42px); border-radius: 28px; background: #fff; }
.te-ba section + section { background: var(--ink); color: #fff; }
.te-ba h3 { display: flex; align-items: center; gap: 14px; font: 900 clamp(1.6rem, 1.4rem + 1.1vw, 2.6rem)/1 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.te-ba h3 svg { flex: none; width: clamp(40px, 2rem + 1vw, 52px); height: auto; aspect-ratio: 1; padding: 10px; border-radius: 50%; background: var(--sun); fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.te-ba ul { display: grid; gap: 0; margin-top: 20px; border-top: 2px solid currentColor; }
.te-ba li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.te-ba section + section li { border-color: rgba(255,255,255,.18); }
.te-ba li b { font: 800 clamp(1rem, .94rem + .3vw, 1.2rem)/1.2 var(--font); font-stretch: 108%; }
.te-ba li span { font: 400 1rem/1.5 var(--text); color: var(--mute-ink); }
.te-ba section + section li span { color: rgba(255,255,255,.8); }
.te-ba a { color: inherit; font-weight: 700; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; }
@media (max-width: 799px) { .te-ba { grid-template-columns: minmax(0, 1fr); } }
