/* SS Bucket Biryani website: Our Branches. Loaded after site.css, whose tokens, header, footer and motion it uses.
   Desktop values match the Figma at 1512 px; clamp() and cqw scale them down, as in site.css. */

.our-branches {
  --gold-light: #F2C46B;
  --ink-soft: #5A2A2C;
  --card-line: #E6C796;
  --card-top: #F8DCAE;
  --red-on-deep: #C9061F;   /* the red for small text on the deeper cream: 4.8:1, where the site's red is 4.1:1 */
}
.our-branches :is(.branch-card, .spotlight__slide, .branch-card__numbers, .directory__empty)[hidden] { display: none; }

/* ---------- The opening: there's a bucket near you ---------- */
.branches-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 2.3cqw, 35px); padding: clamp(112px, 10.3cqw, 156px) 0 clamp(20px, 1.72cqw, 26px); background: var(--cream); text-align: center; }
.branches-hero__copy { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 2.3cqw, 35px); padding-inline: var(--gutter); }
.branches-hero__eyebrow { font-family: var(--font-display); font-size: clamp(16px, 1.59cqw, 24px); line-height: .75; letter-spacing: .09em; text-transform: uppercase; color: var(--red); }
.branches-hero__title { padding-block: 1px; font-family: var(--font-condensed); font-weight: 400; font-size: clamp(64px, 8.47cqw, 128px); line-height: .727; text-transform: uppercase; color: var(--maroon); }
.branches-hero__title .heading-line { display: block; }
.branches-hero__title .heading-line + .heading-line { margin-top: .156em; }
.branches-hero__title em { font-style: normal; color: var(--red); }

/* Two ribbons cross the page, each a row of words with no end */
.ribbons { position: relative; align-self: stretch; height: clamp(72px, 7.08cqw, 107px); }
.ribbon { position: absolute; left: -6%; width: 112%; height: 44.9%; overflow: hidden; box-shadow: 0 5px 13px rgba(60, 0, 0, .22); }
.ribbon--ink { top: 27.6%; z-index: 1; rotate: 2deg; background: var(--maroon-ink); }
.ribbon--red { top: 35.9%; rotate: -2deg; background: var(--red); }
.ribbon__track { display: flex; width: max-content; height: 100%; align-items: center; }
.ribbon__track span { display: flex; align-items: center; gap: clamp(20px, 2.2cqw, 33px); padding-inline: 15px 17px; font-family: var(--font-condensed); font-size: clamp(16px, 1.59cqw, 24px); line-height: 1; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--cream); }
.ribbon__track span::after { content: ""; flex: none; width: 9px; height: 9px; rotate: 45deg; background: var(--gold-light); }
.ribbon--red .ribbon__track { margin-left: 9px; }   /* as in the Figma, "Chennai" starts just off the screen */

.branches-hero__lead { max-width: calc(487px + 2 * var(--gutter)); padding: 6px var(--gutter) 0; font-size: 16px; line-height: 20px; color: var(--ink-soft); }

/* The bucket you step into, with a box of popcorn chicken and a bucket on either side. Everything inside the
   stage is placed in % of the Figma's 850 × 488 stage, so the scene keeps its shape at every width. */
.branches-stage { --stage-w: min(100cqw - 2 * var(--gutter), 850px); position: relative; align-self: stretch; }
.branches-stage__band { position: absolute; z-index: -1; left: 0; right: 0; top: 68.65%; height: 11.27%; background: linear-gradient(#831618, #831618) top / 100% 56.4% no-repeat, linear-gradient(90deg, var(--red) 50%, var(--cream) 0) calc(var(--stage-w) * -4 / 850) bottom / calc(var(--stage-w) * 60 / 850) 43.6% repeat-x; }
.branches-stage__link { position: relative; display: block; width: var(--stage-w); aspect-ratio: 850 / 488; margin-inline: auto; color: inherit; text-decoration: none; }
.branches-stage__link > * { position: absolute; }
.branches-stage__arch { left: 32.35%; top: 0; width: 44.7%; }
.branches-stage__popcorn { left: 1.82%; top: 11.8%; width: 20.5%; rotate: -26deg; filter: drop-shadow(0 17px 4px rgba(0, 0, 0, .25)); }
.branches-stage__bucket { left: 84.9%; top: 47.8%; width: 21.4%; rotate: 42deg; filter: drop-shadow(0 12px 4px rgba(0, 0, 0, .25)); }
.branches-stage__arrow { left: 20.47%; top: 63.1%; width: 14.8%; overflow: visible; fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.branches-stage__sign { left: 5.95%; top: 80.4%; z-index: 1; rotate: -5deg; padding: max(6px, var(--stage-w) * 10 / 850); border-radius: max(14px, var(--stage-w) * 22 / 850); background: var(--maroon-ink); box-shadow: 0 9px 19px rgba(60, 0, 0, .35); }
/* bulbs round the edge of the sign */
.branches-stage__sign::before { content: ""; position: absolute; inset: max(1px, var(--stage-w) * 3 / 850); border: 3px dotted var(--cream); border-radius: inherit; }
.branches-stage__sign span { position: relative; display: block; padding: max(6px, var(--stage-w) * 12 / 850) max(12px, var(--stage-w) * 28 / 850); border-radius: max(10px, var(--stage-w) * 16 / 850); background: var(--cream); font-family: var(--font-condensed); font-size: max(20px, var(--stage-w) * 38 / 850); line-height: 1; letter-spacing: .05em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.branches-stage__step { left: 54.8%; top: 78.1%; z-index: 1; translate: -50% 0; padding: max(5px, var(--stage-w) * 8 / 850) max(12px, var(--stage-w) * 18 / 850); border-radius: var(--radius-pill); background: var(--cream); box-shadow: 0 6px 14px rgba(0, 0, 0, .3); font-weight: 600; font-size: max(12px, var(--stage-w) * 14 / 850); line-height: 18px; color: var(--maroon); white-space: nowrap; transition: background-color var(--dur-hover), color var(--dur-hover); }
.branches-stage__link:hover .branches-stage__step { background: var(--maroon); color: var(--cream); }
.branches-stage__link:focus-visible { outline: none; }
.branches-stage__link:focus-visible .branches-stage__step { outline: 3px solid var(--gold-solid); outline-offset: 3px; box-shadow: 0 0 0 3px var(--maroon-ink), 0 6px 14px rgba(0, 0, 0, .3); }

/* ---------- One bucket, many doors: the regions ---------- */
.atlas { display: grid; grid-template-columns: minmax(0, 523fr) minmax(0, 567fr); column-gap: clamp(32px, 5.62cqw, 85px); align-items: center; padding: clamp(56px, 4.7cqw, 71px) max(var(--gutter), (100% - 1176px) / 2) clamp(56px, 5.22cqw, 79px); background: var(--cream-deep); }
.atlas .tn-map { position: relative; left: auto; top: auto; justify-self: center; width: min(100%, 360px); margin: 0; }
.atlas__pin { width: 0; height: 0; }
.atlas__pin::before, .atlas__pin::after { content: ""; position: absolute; box-sizing: border-box; }
.atlas__pin::before { left: -7px; top: -6px; z-index: 1; width: 14px; height: 12px; border: 2.4px solid var(--cream); border-radius: 7px; background: var(--red); }
.atlas__pin::after { left: -15px; top: -14px; width: 30px; height: 28px; border: 2.4px solid var(--red); border-radius: 15px; }
.atlas__pin b { position: absolute; top: 0; translate: 0 -50%; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--cream); box-shadow: 0 3px 8px rgba(0, 0, 0, .25); font-weight: 600; font-size: 12px; line-height: 14px; white-space: nowrap; color: var(--maroon); }
.atlas__pin--left b { right: 17px; }
.atlas__pin--right b { left: 17px; }
.atlas__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.atlas__eyebrow { font-family: var(--font-display); font-size: clamp(15px, 1.32cqw, 20px); line-height: .9; letter-spacing: .11em; text-transform: uppercase; color: var(--red-on-deep); }
.atlas__title, .directory__title { padding-top: 2px; font-family: var(--font-condensed); font-weight: 400; font-size: clamp(48px, 5.03cqw, 76px); line-height: .92; text-transform: uppercase; color: var(--maroon); }
.atlas__title .heading-line { display: block; }
.atlas__note, .directory__note { font-size: 14px; line-height: 23px; color: var(--ink-soft); }
.atlas__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; align-self: stretch; padding-top: 13px; }
.region-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 133px; padding: 17px 19px 16px 24px; border-radius: 20px; background: var(--maroon); color: var(--cream); text-decoration: none; transition: background-color var(--dur-hover), box-shadow var(--dur-hover), transform var(--dur-hover) var(--ease-out); }
.region-tile--red { background: var(--red); }
.region-tile--ink { background: var(--maroon-ink); }
.region-tile b { font-family: var(--font-condensed); font-weight: 400; font-size: clamp(64px, 5.56cqw, 84px); line-height: .905; }
.region-tile strong { font-weight: 700; font-size: 18px; line-height: 1.1; }
.region-tile small { font-size: 13px; line-height: 1.25; opacity: .85; }
.region-tile--red small { opacity: 1; }   /* faded, cream on red falls under 4.5:1 */
.region-tile:focus-visible { outline: 3px solid var(--gold-solid); outline-offset: 3px; }

/* ---------- The branch in the spotlight ---------- */
.spotlight { padding: clamp(56px, 4.7cqw, 71px) max(var(--gutter), (100% - 885px) / 2) clamp(56px, 5.75cqw, 87px); background: var(--maroon); color: var(--cream); }
.spotlight__slide { display: grid; grid-template-columns: minmax(0, 356fr) minmax(0, 482fr); column-gap: clamp(28px, 3.17cqw, 48px); align-items: center; min-height: 378px; }
.spotlight__arch { aspect-ratio: 356 / 363; overflow: hidden; border: 3.9px solid var(--cream); border-radius: 999px 999px 16px 16px; background: #5A0509; }
.spotlight__arch img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.spotlight__info { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.spotlight__pin { width: 32px; height: 38px; margin-left: -4px; color: var(--red-on-dark); }
.spotlight__name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(32px, 2.91cqw, 44px); line-height: 1.11; }
.spotlight__address { max-width: 441px; padding-top: 3px; font-style: normal; font-size: 14px; line-height: 23px; }
.spotlight__lines { display: grid; gap: 1px; padding-bottom: 11px; font-size: 18px; line-height: 24px; }
.spotlight__lines a { color: inherit; text-decoration: none; }
.spotlight__lines a:hover { text-decoration: underline; }
.spotlight__directions { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; color: inherit; font-weight: 600; font-size: 17px; line-height: 20px; text-decoration: none; }
.spotlight__directions:hover { text-decoration: underline; }
.spotlight__controls { display: flex; align-items: center; gap: 13px; margin-top: clamp(24px, 2.3cqw, 35px); }
.spotlight .dots { gap: 6px; margin-left: 6px; }
.spotlight .dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 242, 222, .3); transition: background-color var(--dur-hover); }
.spotlight .dots span[aria-current="true"] { width: 22px; background: var(--red-on-dark); }

/* ---------- Every branch ---------- */
.directory { padding: clamp(56px, 4.7cqw, 71px) max(var(--gutter), (100% - 885px) / 2) clamp(56px, 5.22cqw, 79px); background: var(--cream); }
.directory__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.directory__eyebrow, .directory__count { font-family: var(--font-serif); font-size: 12px; line-height: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.directory__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; align-self: stretch; padding-top: 17px; }
.search { display: flex; align-items: center; gap: 10px; flex: 0 1 331px; min-height: 47px; padding: 0 16px; border: 1.6px solid #ECD2AB; border-radius: var(--radius-pill); background: var(--white); color: var(--maroon); cursor: text; }
.search .icon { font-size: 16px; }
.search input { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--maroon-deep); outline: none; }
.search input::placeholder { color: #757575; opacity: 1; }
.search:focus-within { border-color: var(--maroon); outline: 3px solid var(--gold-solid); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 34px; padding: 6px 16px; border: 1.6px solid var(--maroon); border-radius: var(--radius-pill); font-weight: 500; font-size: 15px; line-height: 19px; color: var(--maroon); transition: background-color var(--dur-hover), color var(--dur-hover); }
.chip[aria-pressed="true"] { background: var(--maroon); color: var(--cream); }
.chip:focus-visible { outline: 3px solid var(--gold-solid); outline-offset: 2px; }
.directory__count { padding-top: 12px; }
.directory__empty { margin-top: 24px; font-size: 16px; color: var(--ink-soft); }
.directory__empty .text-link { margin-left: 6px; font-weight: 600; color: var(--maroon); text-decoration: underline; }
.branch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 21px; margin-top: 17px; }

.branch-card { display: flex; flex-direction: column; overflow: hidden; border: 1.6px solid var(--card-line); border-radius: 22px; background: var(--white); }
.branch-card--gold { border-color: transparent; background: linear-gradient(var(--white), var(--white)) padding-box, linear-gradient(90deg, #E8940E 2%, #FFB032 9%, #F2B431 21%, #FFD38D 40%, #FFF0D8 50%, #FFBC53 65%, #E69A22 78%, #CA7F07) border-box; }
.branch-card__top { position: relative; display: flex; justify-content: center; height: 201px; padding-top: 36px; background: var(--card-top); }
.branch-card--gold .branch-card__top { background: var(--gold); }
.branch-card__arch { width: 150px; height: 165px; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--maroon); }
.branch-card__arch img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.branch-card__badge { position: absolute; left: 16px; top: 30px; width: 40px; height: 40px !important; border: 2px solid var(--gold-light); border-radius: 50%; object-fit: cover; }
.branch-card__tag { position: absolute; right: 13px; top: 30px; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--maroon); font-weight: 500; font-size: 12px; line-height: 15px; letter-spacing: .04em; color: var(--cream); }
.branch-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.branch-card__name { font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 29px; color: var(--maroon); }
.branch-card__brand { padding: 4px 0 12px; font-family: var(--font-serif); font-size: 13px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.branch-card__address { font-style: normal; font-size: 15px; line-height: 22px; color: #4A2A2B; }
.branch-card__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 22px; }
.branch-card__call { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 6px 16px; border-radius: var(--radius-pill); background: var(--red); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--white); text-decoration: none; transition: background-color var(--dur-hover); }
.branch-card__call .icon { font-size: 15px; }
.branch-card__call:hover { background: var(--maroon); }
.branch-card__more { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px; border: 1px solid #D2A965; border-radius: var(--radius-pill); font-weight: 600; font-size: 14px; line-height: 22px; color: var(--maroon); transition: background-color var(--dur-hover); }
.branch-card__more:hover { background: rgba(210, 169, 101, .14); }
.branch-card__more .icon { font-size: 14px; transition: rotate var(--dur-hover) var(--ease-out); }
.branch-card__more[aria-expanded="true"] .icon { rotate: 180deg; }
.branch-card__numbers { display: grid; gap: 2px; padding: 0 0 2px; text-align: center; font-weight: 500; font-size: 15px; line-height: 26px; }
.branch-card__numbers a { color: var(--maroon); }
.branch-card__map { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid #E0BE8A; color: var(--maroon); text-decoration: none; }
.branch-card__map img { flex: none; width: 84px; height: 55px !important; }
.branch-card__map strong { display: block; font-weight: 700; font-size: 16px; line-height: 20px; }
/* Outfit has no arrow: the system font draws it, rather than the stand-in kept for while Outfit loads */
.branch-card__map strong::after { content: " →"; font-family: system-ui, sans-serif; }
.branch-card__map small { display: block; margin-top: 2px; font-size: 13px; line-height: 16px; color: var(--ink-soft); }
.branch-card__map:hover strong { text-decoration: underline; }
:is(.branch-card__call, .branch-card__more, .branch-card__map, .spotlight__directions, .spotlight__lines a, .directory__empty .text-link):focus-visible { outline: 3px solid var(--gold-solid); outline-offset: 2px; }

/* ---------- Catering, for a gathering ---------- */
.branches-cta { padding: clamp(56px, 4.96cqw, 75px) var(--gutter) clamp(56px, 5.03cqw, 76px); border-bottom: 1px solid rgba(255, 242, 222, .28); background: var(--red); color: var(--cream); text-align: center; }
.branches-cta__title { font-family: var(--font-condensed); font-weight: 400; font-size: clamp(48px, 6.15cqw, 93px); line-height: .914; text-transform: uppercase; }
.branches-cta__title .heading-line { display: block; }
.branches-cta__note { max-width: 410px; margin: 17px auto 0; padding-bottom: 8px; font-size: 15px; line-height: 24px; }
.branches-cta .btn-pill { min-height: 46px; margin-top: 9px; padding: 12px 22px; border-color: var(--maroon); background: var(--maroon); font-weight: 500; font-size: 17px; line-height: 21px; }
.branches-cta .btn-pill:hover { border-color: var(--maroon-ink); background: var(--maroon-ink); }

/* ---------- Narrower screens ---------- */
@container page (max-width: 1100px) {
  .branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container page (max-width: 900px) {
  .atlas { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .atlas .tn-map { width: min(60%, 300px); }
  .spotlight__slide { grid-template-columns: minmax(0, 1fr); row-gap: 28px; max-width: 480px; margin-inline: auto; }
  .spotlight__arch { width: min(100%, 356px); }
  .spotlight__controls { max-width: 480px; margin-inline: auto; }
  .search { flex-basis: 100%; }
}
@container page (max-width: 760px) {
  .branch-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-inline: auto; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); scrollbar-width: none; }
  .chip { flex: none; }
  /* A shorter card, so 32 of them make a list a phone can get through: the map becomes a button beside
     "more numbers", and the picture shrinks */
  .branch-card__top { height: 150px; padding-top: 24px; }
  .branch-card__arch { width: 116px; height: 126px; }
  .branch-card__badge { left: 14px; top: 18px; width: 34px; height: 34px !important; }
  .branch-card__tag { right: 12px; top: 20px; }
  .branch-card__body { padding: 18px 20px 20px; }
  .branch-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 18px; }
  .branch-card__call, .branch-card__call + .branch-card__map, .branch-card__numbers { grid-column: 1 / -1; }
  .branch-card__numbers { order: 1; }
  .branch-card__map { justify-content: center; min-height: 40px; padding: 8px; border: 1px solid #D2A965; border-radius: var(--radius-pill); }
  .branch-card__map :is(img, small) { display: none; }
  .branch-card__map strong { font-weight: 600; font-size: 14px; line-height: 22px; }
  /* The ribbons cross more steeply, or on a narrow screen they would lie one on the other */
  .ribbons { height: 104px; }
  .ribbon { height: 34px; }
  .ribbon--ink { top: 31px; rotate: 5deg; }
  .ribbon--red { top: 39px; rotate: -5deg; }
  /* The scene is wider than the screen, so the arch stays large and the popcorn and the bucket peek in from the
     edges. The sign moves below, to the screen's left edge, out of the bucket's way. */
  .branches-stage { --stage-w: min(118cqw, 850px); }
  .branches-stage__arrow { display: none; }
  .branches-stage__bucket { left: 77%; }
  .branches-stage__sign { left: calc((var(--stage-w) - 100cqw) / 2 + var(--gutter)); top: 91%; }
  .branches-hero { padding-bottom: 64px; }
}

/* ==========================================================================
   Motion (see the motion notes in site.css: everything hangs off data-motion="on")
   ========================================================================== */
[data-motion="on"] .ribbon--ink { --from-x: -8%; }
[data-motion="on"] .ribbon--red { --from-x: 8%; }
[data-motion="on"] .branches-stage__popcorn { --from-x: -40%; --from-turn: -24deg; }
[data-motion="on"] .branches-stage__bucket { --from-x: 40%; --from-turn: 24deg; }
[data-motion="on"] .branches-stage__sign { --from-y: 40%; --from-turn: -6deg; }
[data-motion="on"] .atlas .tn-map > div { --from-scale: .5; --reveal-ease: var(--ease-overshoot); }
[data-motion="on"] .atlas .tn-map > img { --from-y: 4%; }
[data-motion="on"] .atlas__pin { --from-scale: 0; }
[data-motion="on"] .spotlight__arch { --from-y: 8%; }

/* The arch is the largest thing in the opening on a phone, so it is never hidden: it stands a little low from the
   first frame and steps up into place. It waits and steps by `transform`: its lift under a pointer eases
   `translate`, and a wait on that would ease away too, as a second move beside the entrance. */
[data-motion="on"] .branches-stage__arch { --reveal: step-up; --from-y: 12%; }
@media screen {
  [data-motion="on"] .branches-stage__arch:not([data-seen]) { opacity: 1; transform: translateY(var(--from-y)); }
}
@keyframes step-up { from { transform: translateY(var(--from-y)); } }

/* The ribbons run, one each way, while the opening is on screen (ribbon-run is in site.css). Each track holds its
   words twice, so moving it by half its length lands on the same picture. */
[data-motion="on"] .branches-hero[data-live] .ribbon__track { animation: ribbon-run 48s linear infinite; }
[data-motion="on"] .branches-hero[data-live] .ribbon--red .ribbon__track { animation-direction: reverse; }

/* The popcorn and the bucket float; "Tap to step inside" breathes */
[data-motion="on"] .branches-hero[data-live] :is(.branches-stage__popcorn, .branches-stage__bucket)[data-seen] { animation: var(--entrance), float var(--breath) var(--ease-in-out) calc(var(--reveal-start) + var(--reveal-time)) infinite; }
[data-motion="on"] .branches-stage__popcorn { --float-turn: -28deg; }
[data-motion="on"] .branches-stage__bucket { --float-rise: -8px; --float-turn: 44deg; }
[data-motion="on"] .branches-hero[data-live] .branches-stage__step[data-seen] { animation: var(--entrance), nudge calc(var(--breath) * .5) var(--ease-in-out) calc(var(--reveal-start) + var(--reveal-time)) infinite; }
@keyframes nudge { 50% { scale: 1.06; } }

/* The map's two cities send out a ring */
[data-motion="on"] .atlas .tn-map[data-live] .atlas__pin[data-seen]::after { animation: ping calc(var(--breath) * .4) var(--ease-out) 1200ms infinite; }
[data-motion="on"] .atlas .tn-map[data-live] .atlas__pin--right[data-seen]::after { animation-delay: 1800ms; }

/* ---------- Motion: hover and press ---------- */
.chip, .branch-card__call, .branch-card__more { transition: background-color var(--dur-hover), color var(--dur-hover), transform var(--dur-hover) var(--ease-out); }
.search { transition: border-color var(--dur-hover); }
@media (prefers-reduced-motion: no-preference) {
  .spotlight__directions .icon { transition: transform var(--dur-hover) var(--ease-out); }
  .spotlight__arch img, .branch-card__arch img { transition: transform var(--dur-enter) var(--ease-out); }
  .branches-stage__arch { transition: translate var(--dur-hover) var(--ease-out); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .region-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(60, 0, 0, .25); }
  .branches-stage__link:hover .branches-stage__arch { translate: 0 -6px; }
  .spotlight__directions:hover .icon { transform: translateX(4px); }
  .spotlight__slide:hover .spotlight__arch img, .branch-card:hover .branch-card__arch img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: no-preference) {
  .chip:active, .branch-card__call:active, .branch-card__more:active { transform: scale(.97); transition-duration: var(--dur-press); }
  .region-tile:active { transform: scale(.98); transition-duration: var(--dur-press); }
}
