/* Fortune Group — home page "We're hiring" popup */
html.gf-hire-open { overflow: hidden; }
.gf-hire { width: min(820px, calc(100% - 28px)); max-width: none; max-height: calc(100dvh - 28px); margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; }
.gf-hire::backdrop { background: rgba(14, 6, 6, .58); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); animation: gfh-fade .4s ease both; }
.gf-hire.is-closing::backdrop { animation: gfh-fade .28s ease reverse both; }
.gf-hire.is-closing .gf-hire__card { animation: gfh-out .28s ease both; }
@keyframes gfh-fade { from { opacity: 0; } }
@keyframes gfh-in { 0% { opacity: 0; transform: translateY(40px) scale(.92) rotateX(12deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes gfh-out { to { opacity: 0; transform: translateY(24px) scale(.96); } }

.gf-hire__card { position: relative; display: grid; grid-template-columns: 250px 1fr; overflow: hidden; border-radius: 30px; background: #fff; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .6); animation: gfh-in .75s cubic-bezier(.2, .8, .2, 1) both; transform-origin: 50% 80%; perspective: 900px; }
.gf-hire__x { position: absolute; top: 16px; right: 16px; z-index: 5; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f3f5f7; color: #1b1f24; font-size: 26px; line-height: 1; cursor: pointer; transition: transform .3s, background .3s, color .3s; }
.gf-hire__x:hover { background: #d90a0a; color: #fff; transform: rotate(90deg); }

/* red side with laser animation */
.gf-hire__side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 30px 26px; color: #fff; background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .22), transparent 55%), linear-gradient(160deg, #ff3b2f 0%, #d90a0a 45%, #7e0606 100%); }
.gf-hire__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); }
.gf-hire__beam { position: absolute; left: -20%; right: -20%; top: 0; height: 2px; z-index: 1; background: linear-gradient(90deg, transparent, #fff 50%, transparent); box-shadow: 0 0 18px 4px rgba(255, 255, 255, .55); animation: gfh-beam 3.2s cubic-bezier(.6, 0, .4, 1) .6s infinite; }
@keyframes gfh-beam { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 85%, 100% { transform: translateY(520px); opacity: 0; } }
.gf-hire__gear { position: absolute; top: -40px; right: -60px; width: 220px; fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.6; animation: gfh-spin 26s linear infinite; }
@keyframes gfh-spin { to { transform: rotate(360deg); } }
.gf-hire__badge { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-bottom: auto; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); font: 700 12px/1 "Archivo", sans-serif; letter-spacing: .14em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gf-hire__badge i { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: gfh-ping 1.8s infinite; }
@keyframes gfh-ping { 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.gf-hire__count { position: relative; z-index: 2; font: 800 112px/.9 "Archivo", sans-serif; font-variation-settings: "wdth" 115; letter-spacing: -.05em; text-shadow: 0 20px 40px rgba(80, 0, 0, .45); animation: gfh-pop .9s cubic-bezier(.2, 1.4, .3, 1) .35s both; }
@keyframes gfh-pop { from { opacity: 0; transform: scale(.4) translateY(20px); } }
.gf-hire__countlbl { position: relative; z-index: 2; font: 700 18px/1.2 "Archivo", sans-serif; }
.gf-hire__loc { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .85); }

/* main */
.gf-hire__main { padding: 34px 34px 26px; overflow-y: auto; max-height: calc(100dvh - 28px); }
.gf-hire__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 700 13px/1 "Archivo", sans-serif; color: #d90a0a; }
.gf-hire__eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, #ff3b2f, #7e0606); }
.gf-hire__title { margin: 0 52px 10px 0; font: 800 clamp(26px, 3vw, 34px)/1.08 "Archivo", sans-serif; font-variation-settings: "wdth" 110; letter-spacing: -.03em; color: #1b1f24; }
.gf-hire__lead { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: #5a636d; }
.gf-hire__jobs { display: grid; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.gf-hire__job { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: #fff; border: 1.5px solid rgba(188, 0, 0, .12); box-shadow: 0 18px 36px -28px rgba(27, 31, 36, .5); animation: gfh-slide .6s cubic-bezier(.2, .8, .2, 1) var(--d) both; transition: border-color .3s, transform .3s, box-shadow .3s; }
.gf-hire__job:hover { border-color: rgba(188, 0, 0, .3); transform: translateX(4px); box-shadow: 0 22px 40px -26px rgba(217, 10, 10, .45); }
@keyframes gfh-slide { from { opacity: 0; transform: translateX(30px); } }
.gf-hire__ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(135deg, #ff3b2f, #7e0606); color: #fff; font-size: 19px; box-shadow: 0 12px 22px -12px rgba(217, 10, 10, .8); }
.gf-hire__jt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gf-hire__jt b { font: 800 16.5px/1.2 "Archivo", sans-serif; color: #1b1f24; }
.gf-hire__jt small { font-size: 13px; line-height: 1.45; color: #5a636d; }
.gf-hire__wa { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: 999px; background: #25d366; color: #fff !important; font: 700 14px/1 "Archivo", sans-serif; text-decoration: none; box-shadow: 0 12px 24px -12px rgba(18, 140, 60, .85); transition: transform .25s, background .25s; }
.gf-hire__wa i { font-size: 18px; }
.gf-hire__wa:hover { background: #1ebe5a; transform: translateY(-2px); }
.gf-hire__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px dashed rgba(27, 31, 36, .12); }
.gf-hire__more { display: inline-flex; align-items: center; gap: 8px; font: 700 14.5px/1 "Archivo", sans-serif; color: #d90a0a !important; text-decoration: none; }
.gf-hire__more i { transition: transform .3s; }
.gf-hire__more:hover i { transform: translateX(4px); }
.gf-hire__later { border: 0; background: none; padding: 8px 0; font: 600 14px/1 "Manrope", sans-serif; color: #8a939c; cursor: pointer; }
.gf-hire__later:hover { color: #1b1f24; }

/* phone: a sheet from the bottom */
@media (max-width: 680px) {
  .gf-hire { width: 100%; margin: auto 0 0; max-height: 94dvh; }
  .gf-hire__card { grid-template-columns: 1fr; border-radius: 26px 26px 0 0; animation-name: gfh-up; }
  @keyframes gfh-up { from { transform: translateY(100%); } }
  .gf-hire__side { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 6px 10px; padding: 22px 20px 18px; }
  .gf-hire__badge { margin-bottom: 0; flex-basis: 100%; align-self: auto; max-width: max-content; }
  .gf-hire__count { font-size: 64px; }
  .gf-hire__countlbl { padding-bottom: 10px; }
  .gf-hire__loc { flex-basis: 100%; margin-top: 2px; }
  .gf-hire__gear { width: 160px; top: -30px; right: -40px; }
  .gf-hire__main { padding: 22px 18px 20px; max-height: none; }
  .gf-hire__title { margin-right: 0; font-size: 24px; }
  .gf-hire__job { flex-wrap: wrap; }
  .gf-hire__wa { flex-basis: 100%; justify-content: center; }
  .gf-hire__x { background: rgba(255, 255, 255, .2); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .gf-hire__card, .gf-hire__job, .gf-hire__count, .gf-hire::backdrop { animation: none !important; }
  .gf-hire__beam, .gf-hire__gear, .gf-hire__badge i { animation: none; }
}
@media (max-width: 680px) {
  .gf-hire__side { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 4px 12px; padding: 20px 64px 16px 20px; }
  .gf-hire__badge { grid-column: 1 / -1; margin-bottom: 6px; }
  .gf-hire__count { grid-column: 1; }
  .gf-hire__countlbl { grid-column: 2; padding-bottom: 8px; }
  .gf-hire__loc { grid-column: 1 / -1; margin-top: 4px; }
}
