/* Locations index + individual location pages.
   Same conventions as site.css: desktop measured at 1440px, mobile at 390px. */

.btn--sm { width: 157px; height: 42px; font-size: 16.9px; }
.btn--learn { width: 142px; height: 42px; font-size: 18px; }
.btn--intro { width: 190px; height: 42px; font-size: 16.9px; }
.btn--inquire { width: 257px; height: 42px; font-size: 16.9px; }

/* ---------- Location hero ---------- */
.loc-hero__img { object-fit: cover; }
.loc-info h1 { max-width: 420px; }
.loc-facts { margin-top: 39px; display: grid; grid-template-columns: 263px 252px; row-gap: 17px; }
.loc-facts h2 { font-size: 22.5px; line-height: 29.25px; }
.loc-facts p { font-size: 14.4px; line-height: 20.16px; }
.loc-facts .loc-facts__addr { margin-top: 17px; max-width: 224px; }
.loc-facts .loc-facts__parking { margin-top: 22px; max-width: 195px; }
.loc-facts .loc-facts__details { margin-top: 16px; }
.loc-facts .loc-facts__details + .loc-facts__details { margin-top: 20px; }
.loc-facts .btn { margin-top: 41px; }

/* ---------- Map ---------- */
.loc-map iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 30px; }
.loc-map-address h2 { font-size: 22.5px; line-height: 29.25px; }
.loc-map-address p { margin-top: 16px; font-size: 14.4px; line-height: 20.16px; }

/* ---------- Team ---------- */
.team-script { transform: rotate(-5deg); }
.sec--team { overflow: clip; }
.team-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 398px); gap: 22px; width: 1238px; margin: 0 auto; padding: 34px 0 101px; }
.team-card { display: flex; flex-direction: column; align-items: flex-start; padding: 34px; border-radius: 33.75px; background: var(--peach); }
.team-card img { width: 330px; height: 273px; object-fit: cover; border-radius: 22px; }
.team-card h3 { margin-top: 10px; }
.team-card p { margin-top: 27px; font-size: 16.2px; line-height: 21px; }
.team-card .btn { margin-top: 26px; }
.team-squiggle { position: absolute; z-index: 0; width: 593px; height: 141px; right: calc(50% - 967px); bottom: -14px; }

/* ---------- Closing ---------- */
.closing-photo { border-radius: 50%; object-fit: cover; }
.closing-copy h2 { max-width: 540px; }
.closing-copy p { margin-top: 19px; }
.closing-copy .btn { margin-top: 22px; }

/* =====================================================================
   MOBILE
   ===================================================================== */
@media (max-width: 1023px) {
  .btn.btn--sm { width: 157px; height: 45px; font-size: 15.8px; }
  .btn.btn--intro, .btn.btn--inquire { width: 257px; height: 45px; font-size: 15.8px; }

  /* Location hero */
  .sec--loc-hero .stage { padding-bottom: 50px; }
  .loc-hero__img { position: relative; display: block; margin: 0 0 0 calc((100% - var(--zw, 390px)) / 2); width: var(--zw, 100%); height: 322px; }
  .loc-info h1 { max-width: none; }
  .loc-facts { margin-top: 26px; grid-template-columns: 1fr; row-gap: 26px; }
  .loc-facts h2 { font-size: 19px; line-height: 24.7px; }
  .loc-facts p { font-size: 16px; line-height: 22.4px; }
  .loc-facts .loc-facts__addr, .loc-facts .loc-facts__parking { margin-top: 10px; max-width: none; }
  .loc-facts .loc-facts__details { margin-top: 10px; }
  .loc-facts .btn { margin-top: 26px; }

  /* Map */
  .sec--loc-map .stage { padding-bottom: 50px; }
  .loc-map { height: 260px; }
  .loc-map-address h2 { font-size: 19px; line-height: 24.7px; }
  .loc-map-address p { margin-top: 10px; font-size: 16px; line-height: 22.4px; }

  /* Team */
  .sec--team-head .stage { padding-bottom: 4px; }
  .team-script { font-size: 15px; line-height: 19.5px; }
  .team-grid { grid-template-columns: 1fr; gap: 30px; width: 330px; padding: 0 0 50px; }
  .team-card { padding: 20px; border-radius: 30px; }
  .team-card img { width: 290px; height: 240px; }
  .team-card h3 { margin-top: 26px; }
  .team-card p { margin-top: 15px; font-size: 15px; line-height: 20px; }
  .team-card .btn { margin-top: 22px; }
  .team-squiggle { display: none; }

  /* Closing */
  .sec--closing .stage { padding-bottom: 50px; }
  .closing-photo { margin-left: 69px; width: 253px; height: 253px; }
  .closing-copy h2 { max-width: 314px; }
  .closing-copy p { margin-top: 11px; }
  .closing-copy .btn { margin-top: 11px; }
}

/* =====================================================================
   LOCATIONS INDEX (/locations) — "lx" components
   Desktop at 1440px, mobile at 390px (the page-wide zoom handles scaling).
   ===================================================================== */
:root { --ease-expo: cubic-bezier(0.16, 1, 0.3, 1); }

.lx-hero, .lx-loc, .lx-online { position: relative; overflow: clip; }
.lx-hero__stage, .lx-loc__stage, .lx-online__stage { height: auto; }

/* ---------- Hero ---------- */
.lx-hero__stage { display: grid; grid-template-columns: 600px 1fr; align-items: center; min-height: 860px; padding: 150px 101px 90px; }
.lx-eyebrow { display: inline-block; margin-left: 4px; }
.lx-title { margin-top: 18px; }
.lx-line { display: block; overflow: hidden; padding-bottom: 6px; margin-bottom: -6px; }
.lx-line > span { display: inline-block; }
.lx-lead { margin-top: 28px; max-width: 520px; }
.lx-jump { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.lx-jump__pill { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px 0 18px; border-radius: 100px; background: var(--white); font-size: 18px; box-shadow: 0 1px 0 rgba(40, 71, 52, .06); transition: transform .35s var(--ease-expo), box-shadow .35s var(--ease-expo), background-color .25s ease; }
.lx-jump__pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-expo); }
.lx-jump__pill:hover { transform: translateY(-3px); background: var(--yellow); box-shadow: 0 14px 30px -18px rgba(40, 71, 52, .55); }
.lx-jump__pill:hover svg { transform: translateY(3px); }
.lx-jump__dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none; }

/* Collage */
.lx-collage { position: relative; height: 640px; }
.lx-photo { position: absolute; display: block; overflow: hidden; border-radius: 999px 999px 32px 32px; box-shadow: 0 30px 60px -35px rgba(40, 71, 52, .55); transition: transform .6s var(--ease-expo); }
.lx-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-expo); }
.lx-photo:hover img { transform: scale(1.06); }
.lx-photo--a { left: 60px; top: 10px; width: 350px; height: 470px; --r: -4deg; transform: rotate(var(--r)); }
.lx-photo--b { left: 330px; top: 170px; width: 300px; height: 400px; --r: 5deg; transform: rotate(var(--r)); }
.lx-photo:hover { transform: rotate(0deg) translateY(-6px); }
.lx-photo__tag { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px; background: var(--cream); font-size: 15px; white-space: nowrap; }
.lx-drift { position: absolute; will-change: transform; }
.lx-drift img { display: block; width: 100%; height: auto; }
.lx-collage__dome { left: -40px; bottom: -30px; width: 330px; }
.lx-collage__clover { right: -20px; top: -40px; width: 190px; }
.lx-collage__half { left: 10px; top: 430px; width: 150px; z-index: 2; }
.lx-collage__arch { right: 0; bottom: 20px; width: 110px; z-index: 2; }

@keyframes lx-spin { to { transform: rotate(360deg); } }
.lx-spin { animation: lx-spin 40s linear infinite; }
.lx-spin--slow { animation-duration: 60s; }

/* ---------- Location sections ---------- */
.lx-loc__stage { display: grid; grid-template-columns: 560px 1fr; column-gap: 110px; align-items: center; padding: 130px 101px; }
.lx-loc--flip .lx-loc__stage { grid-template-columns: 1fr 560px; }
.lx-loc--flip .lx-loc__media { order: 2; }
.lx-loc__media { position: relative; height: 680px; }
.lx-loc__shape { width: 470px; right: -90px; top: -40px; }
.lx-loc--flip .lx-loc__shape { right: auto; left: -110px; top: auto; bottom: -50px; }
.lx-loc__frame { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 999px 999px 36px 36px; }
.lx-loc__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease-expo); }
.lx-loc__frame:hover img { transform: scale(1.05); transition-duration: 1s; }
.lx-loc__num { position: absolute; right: -26px; bottom: 60px; display: flex; align-items: center; justify-content: center; width: 110px; height: 110px; border-radius: 50%; background: var(--cream); font-size: 40px; box-shadow: 0 20px 40px -24px rgba(40, 71, 52, .5); }
.lx-loc--flip .lx-loc__num { right: auto; left: -26px; background: var(--yellow); }

.lx-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 16.2px; letter-spacing: .02em; }
.lx-loc__body h2 { margin-top: 14px; }
.lx-loc__intro { margin-top: 20px; max-width: 520px; }
.lx-facts { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 44px; padding: 26px 0; border-top: 1px solid rgba(40, 71, 52, .18); border-bottom: 1px solid rgba(40, 71, 52, .18); }
.lx-facts dt { font-size: 22.5px; line-height: 29.25px; }
.lx-facts dd { margin: 10px 0 0; font-size: 16.2px; line-height: 25.92px; }
.lx-facts a:hover { color: var(--brown); }
.lx-team { margin-top: 30px; display: inline-flex; align-items: center; gap: 18px; }
.lx-team__faces { display: flex; }
.lx-team__faces > * { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--cream); object-fit: cover; object-position: 50% 20%; margin-left: -14px; transition: transform .35s var(--ease-expo); }
.lx-loc--flip .lx-team__faces > * { border-color: var(--white); }
.lx-team__faces > :first-child { margin-left: 0; }
.lx-team:hover .lx-team__faces > * { transform: translateY(-4px); }
.lx-team:hover .lx-team__faces > :nth-child(2) { transition-delay: .03s; }
.lx-team:hover .lx-team__faces > :nth-child(3) { transition-delay: .06s; }
.lx-team:hover .lx-team__faces > :nth-child(4) { transition-delay: .09s; }
.lx-team:hover .lx-team__faces > :nth-child(5) { transition-delay: .12s; }
.lx-team:hover .lx-team__faces > :nth-child(6) { transition-delay: .15s; }
.lx-team__more { display: inline-flex; align-items: center; justify-content: center; background: var(--peach); font-size: 16px; }
.lx-team__label { font-size: 16.2px; text-decoration: underline; text-decoration-color: rgba(40, 71, 52, .3); text-underline-offset: 5px; transition: text-decoration-color .25s ease; }
.lx-team:hover .lx-team__label { text-decoration-color: currentColor; }
.lx-actions { margin-top: 34px; display: flex; align-items: center; gap: 30px; }
.btn.lx-btn { height: 52px; padding: 0 32px; font-size: 17px; }
.lx-link { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; }
.lx-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-expo); }
.lx-link:hover svg { transform: translateX(5px); }

/* ---------- Online band ---------- */
.lx-online { background: var(--green); color: var(--cream); }
.lx-online__stage { padding: 130px 101px 150px; text-align: center; }
.lx-online__script { color: var(--peach); display: inline-block; }
.lx-online__title { margin: 16px auto 0; max-width: 900px; }
.lx-online__text { margin: 22px auto 0; max-width: 560px; }
.btn.lx-online__btn { margin-top: 38px; }
.lx-online__clover { width: 170px; left: 70px; top: 70px; }
.lx-online__dome { width: 520px; right: -120px; bottom: -40px; opacity: .9; }
.lx-online__script, .lx-online__title, .lx-online__text, .lx-online__btn { position: relative; z-index: 1; }

/* ---------- Motion ---------- */
/* Load-in (hero) */
.js .lx-line > span { transform: translateY(105%); transition: transform 1.1s var(--ease-expo) var(--d, 0s); }
.js .lx-in { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-expo) var(--d, 0s), transform .9s var(--ease-expo) var(--d, 0s); }
.js .lx-pop { opacity: 0; transform: rotate(var(--r)) translateY(40px) scale(.94); transition: opacity 1s var(--ease-expo) var(--d, 0s), transform 1.2s var(--ease-expo) var(--d, 0s); }
.js.lx-ready .lx-line > span { transform: none; }
.js.lx-ready .lx-in { opacity: 1; transform: none; }
.js.lx-ready .lx-pop { opacity: 1; transform: rotate(var(--r)); }
.js.lx-ready .lx-pop:hover { transform: rotate(0deg) translateY(-6px); transition-delay: 0s; transition-duration: .6s; }
/* Scroll-in */
.js [data-anim="rise"] { transform: translateY(34px); transition: opacity .9s var(--ease-expo) var(--d, 0s), transform 1s var(--ease-expo) var(--d, 0s); }
.js [data-anim="rise"].is-in { transform: none; }
.js [data-anim="clip-up"] { opacity: 1; }
.js [data-anim="clip-up"] .lx-loc__frame { clip-path: inset(100% 0 0 0 round 999px 999px 36px 36px); transition: clip-path 1.4s var(--ease-expo); }
.js [data-anim="clip-up"] .lx-loc__frame img { transform: scale(1.18); }
.js [data-anim="clip-up"].is-in .lx-loc__frame { clip-path: inset(0 0 0 0 round 999px 999px 36px 36px); }
.js [data-anim="clip-up"].is-in .lx-loc__frame img { transform: scale(1); }
.js [data-anim="clip-up"].is-in .lx-loc__frame:hover img { transform: scale(1.05); transition-duration: 1s; }

@media (prefers-reduced-motion: reduce) {
  .js .lx-line > span, .js .lx-in, .js .lx-pop, .js [data-anim="rise"], .js [data-anim="clip-up"] .lx-loc__frame, .js [data-anim="clip-up"] .lx-loc__frame img { transform: none !important; opacity: 1 !important; clip-path: none !important; transition: none !important; }
  .lx-spin { animation: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 1023px) {
  .lx-hero__stage { display: block; min-height: 0; padding: 44px 30px 60px; }
  .lx-title { margin-top: 10px; }
  .lx-lead { margin-top: 18px; }
  .lx-jump { margin-top: 26px; gap: 10px; }
  .lx-jump__pill { height: 46px; font-size: 16px; padding: 0 18px 0 14px; gap: 10px; }
  .lx-collage { height: 420px; margin: 44px -30px 0; }
  .lx-photo--a { left: 34px; top: 10px; width: 200px; height: 272px; }
  .lx-photo--b { left: 176px; top: 110px; width: 180px; height: 246px; }
  .lx-photo__tag { bottom: 12px; font-size: 13px; padding: 7px 12px; }
  .lx-photo--a .lx-photo__tag { left: 12px; transform: none; }
  .lx-collage__dome { left: -40px; bottom: 0; width: 200px; }
  .lx-collage__clover { right: -26px; top: -24px; width: 110px; }
  .lx-collage__half { left: 6px; top: 290px; width: 90px; }
  .lx-collage__arch { right: 14px; bottom: 34px; width: 64px; }

  .lx-loc__stage, .lx-loc--flip .lx-loc__stage { display: block; padding: 70px 30px; }
  .lx-loc--flip .lx-loc__media { order: 0; }
  .lx-loc__media { height: 420px; }
  .lx-loc__shape { width: 250px; right: -60px; top: -30px; }
  .lx-loc--flip .lx-loc__shape { left: -60px; bottom: -30px; }
  .lx-loc__num { width: 72px; height: 72px; font-size: 26px; right: -10px; bottom: 30px; }
  .lx-loc--flip .lx-loc__num { left: auto; right: -10px; }
  .lx-loc__body { margin-top: 40px; }
  .lx-kicker { font-size: 15px; }
  .lx-loc__intro { margin-top: 14px; }
  .lx-facts { margin-top: 26px; grid-template-columns: 1fr 1fr; row-gap: 20px; column-gap: 20px; padding: 22px 0; }
  .lx-facts > div:first-child { grid-column: 1 / -1; }
  .lx-facts dt { font-size: 19px; line-height: 24.7px; }
  .lx-facts dd { margin-top: 6px; font-size: 15px; line-height: 24px; }
  .lx-team { margin-top: 24px; gap: 12px; }
  .lx-team__faces > * { width: 42px; height: 42px; margin-left: -12px; }
  .lx-team__label { font-size: 15px; }
  .lx-actions { margin-top: 26px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .btn.lx-btn { width: 330px; height: 48px; font-size: 16px; }

  .lx-online__stage { padding: 80px 30px 100px; }
  .lx-online__title { max-width: 330px; }
  .lx-online__text { max-width: 330px; }
  .lx-online__clover { width: 90px; left: -20px; top: 30px; }
  .lx-online__dome { width: 260px; right: -80px; bottom: -30px; }
}
