/* SWOMB homepage | 13-careers.css: Careers (Life at SWOMB, value cards, Share My Profile) */
nav .nav-links { gap: clamp(4px, .6vw, 12px) }
@media (max-width: 1320px) { nav a.l { font-size: 12.8px } }

#careers { padding: 110px 0 90px; position: relative; overflow: hidden }
#careers::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 35% at 90% 0%, #ffc01e12, transparent 70%), radial-gradient(45% 30% at 0% 55%, #2a7bff0f, transparent 70%) }
#careers .wrap { position: relative }
.cr-k { display: inline-block; font: 700 11px Inter, sans-serif; letter-spacing: .18em; color: #ffc01e }

/* Life at SWOMB */
.cr-life { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center }
.cr-lcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.cr-lc { position: relative; padding: 28px 26px; border-radius: 20px; border: 1px solid #ffffff14; background: linear-gradient(165deg, #ffc01e12, #ffffff04 60%); overflow: hidden; display: flex; flex-direction: column; gap: 14px; transition: transform .3s, border-color .3s }
.cr-lc:hover { transform: translateY(-4px); border-color: #ffc01e55 }
.cr-lc::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, #ffc01e22, transparent 70%) }
.cr-lc p { color: #d3ddf1; font-size: 15.5px; line-height: 1.75; position: relative; z-index: 1 }

/* What we value: illustrated cards with colour bars (carousel) */
.cr-vwrap { margin-top: 72px }
.cr-vh { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px }
.cr-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: none; scrollbar-width: none; padding: 6px 2px 14px; outline: none; cursor: grab; user-select: none }
.cr-track::-webkit-scrollbar { display: none }
.cr-track.dragging { cursor: grabbing }
.cr-vc { flex: 0 0 calc((100% - 40px) / 3); display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1px solid #ffffff14; background: #0a1222; transition: transform .35s, border-color .35s, box-shadow .35s }
.cr-vc:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--a) 60%, transparent); box-shadow: 0 18px 40px #0008, 0 0 0 1px color-mix(in srgb, var(--a) 30%, transparent) }
.cr-art { position: relative; aspect-ratio: 360 / 210; color: var(--a); overflow: hidden; background: radial-gradient(70% 80% at 75% 15%, color-mix(in srgb, var(--a) 34%, transparent), transparent 70%), radial-gradient(#ffffff16 1px, transparent 1.4px) 0 0 / 18px 18px, linear-gradient(160deg, #101c36, #070d1b) }
.cr-art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s }
.cr-vc:hover .cr-art svg { transform: scale(1.06) }
.cr-no { position: absolute; left: 16px; top: 12px; font: 800 13px Sora, Inter, sans-serif; letter-spacing: .14em; color: #fff; opacity: .75 }
.cr-bar2 { background: var(--a); color: var(--t); padding: 14px 18px }
.cr-bar2 h4 { font: 700 17px/1.3 Sora, Inter, sans-serif; margin: 0; color: inherit }
.cr-vc > p { padding: 18px 20px 24px; font-size: 14.5px; line-height: 1.75; color: #c3cfe6; flex: 1 }

.a-rays line { animation: crPulse 2.4s ease-in-out infinite; animation-delay: var(--d, 0s) }
.a-fl { animation: crFloat 4s ease-in-out infinite }
.a-fl.d2 { animation-delay: -1.3s } .a-fl.d3 { animation-delay: -2.4s }
.a-bar { transform-box: fill-box; transform-origin: bottom; animation: crRise 3.2s ease-in-out infinite; animation-delay: var(--d, 0s) }
.a-dash { animation: crDash 1.6s linear infinite }
.a-pulse { transform-box: fill-box; transform-origin: center; animation: crBeat 1.8s ease-in-out infinite }
.a-ring { transform-box: fill-box; transform-origin: center; animation: crRing 3s ease-out infinite; animation-delay: var(--d, 0s) }
.a-tick { stroke-dasharray: 90; animation: crTick 3s ease-in-out infinite }
.a-orbit { transform-origin: 180px 105px; animation: crSpin 9s linear infinite }
@keyframes crPulse { 0%, 100% { opacity: .15 } 50% { opacity: 1 } }
@keyframes crFloat { 0%, 100% { transform: translateY(0); opacity: .5 } 50% { transform: translateY(-14px); opacity: 1 } }
@keyframes crRise { 0%, 100% { transform: scaleY(.72) } 50% { transform: scaleY(1) } }
@keyframes crDash { to { stroke-dashoffset: -28 } }
@keyframes crBeat { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.45) } }
@keyframes crRing { 0% { transform: scale(.85); opacity: .9 } 100% { transform: scale(1.35); opacity: 0 } }
@keyframes crTick { 0% { stroke-dashoffset: 90 } 40%, 80% { stroke-dashoffset: 0 } 100% { stroke-dashoffset: 0; opacity: .3 } }
@keyframes crSpin { to { transform: rotate(360deg) } }

/* Share my profile band (last) */
.cr-cta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 0; margin-top: 72px; border-radius: 26px; border: 1px solid #ffffff14; overflow: hidden; background: linear-gradient(180deg, #0b1428, #08101f) }
.cr-ci { padding: 40px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(90% 60% at 0% 0%, #ffc01e14, transparent 70%) }
.cr-ci h3 { font: 800 clamp(22px, 2.3vw, 29px)/1.3 Sora, Inter, sans-serif; color: #fff; margin: 4px 0 0 }
.cr-ci > p { color: #c3cfe6; font-size: 15px; line-height: 1.75; max-width: 60ch }
.cr-mail { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 13px 16px; border-radius: 12px; border: 1px dashed #ffc01e55; background: #ffc01e0a; font-size: 14px; color: #dbe5fa; word-break: break-word }
.cr-mail a { color: #ffc01e; text-decoration: none; font-weight: 600 }
.cr-mail em { font-style: normal; color: #ffe3a1 }
.cr-note { font-size: 12.5px; line-height: 1.65; color: #8fa2cc }
.cr-go { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px; text-align: center; border-left: 1px solid #ffffff10; background: radial-gradient(80% 70% at 50% 100%, #ff8a0022, transparent 75%) }
.cr-go small { font-size: 12px; color: #8fa2cc }
.cr-open { padding: 17px 30px; font-size: 16px; font-weight: 800; background: linear-gradient(115deg, #ffc01e, #ff8a00) !important; color: #111 !important; border: 0 !important; box-shadow: 0 14px 34px #ff8a0040; animation: crGlow 2.8s ease-in-out infinite }
@keyframes crGlow { 50% { box-shadow: 0 14px 44px #ff8a0075 } }
.cr-sign { margin-top: 36px; padding-top: 22px; border-top: 1px solid #ffffff12; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 13.5px; color: #9db0d6 }
.cr-sign b { color: #fff; font-weight: 700 }

/* Share my profile dialog */
.cr-dlg { width: min(680px, 94vw); max-height: 92vh; overflow-y: auto; margin: auto; padding: 32px 34px 30px; border-radius: 24px; border: 1px solid #ffc01e44; background: linear-gradient(180deg, #0b1428, #08101f); color: #fff; box-shadow: 0 30px 80px #000c }
.cr-dlg::backdrop { background: #02050cc2; backdrop-filter: blur(6px) }
.cr-dlg[open] { animation: crIn .35s both }
@keyframes crIn { from { opacity: 0; transform: translateY(18px) scale(.98) } }
.cr-dlg h3 { font: 800 24px/1.3 Sora, Inter, sans-serif; margin: 10px 0 14px }
.cr-x { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #ffffff22; background: #ffffff0a; color: #fff; cursor: pointer }
.cr-x:hover { border-color: #ffc01e; color: #ffc01e }
.cr-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round }
.cr-form { display: flex; flex-direction: column; gap: 12px; margin: 16px 0 0; padding: 0 }
.cr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.cr-form label { display: flex; flex-direction: column; gap: 6px; font: 600 12px Inter, sans-serif; letter-spacing: .04em; color: #9db0d6 }
.cr-form input:not([type=file]), .cr-form textarea { width: 100%; padding: 11px 14px; border-radius: 11px; border: 1px solid #2a3a54; background: #0d1424; color: #fff; font: 400 14px Inter, sans-serif; transition: border-color .2s, box-shadow .2s }
.cr-form input:focus, .cr-form textarea:focus { outline: none; border-color: #ffc01e; box-shadow: 0 0 0 3px #ffc01e22 }
.cr-form textarea { resize: vertical; min-height: 78px }
.cr-form .invalid { border-color: #ff5252 !important; box-shadow: 0 0 0 3px #ff525225 !important }
.cr-drop.invalid { border-color: #ff5252 !important; background: #ff52520c !important; box-shadow: 0 0 0 3px #ff525225 !important }
.cr-drop { flex-direction: row !important; align-items: center; gap: 14px !important; padding: 14px 16px; border-radius: 14px; border: 1.5px dashed #ffc01e66; background: #ffc01e08; cursor: pointer; transition: background .25s, border-color .25s; position: relative; letter-spacing: 0 !important }
.cr-drop:hover, .cr-drop.drag, .cr-drop:focus-visible { background: #ffc01e14; border-color: #ffc01e; outline: none }
.cr-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100% }
.cr-drop svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; color: #ffc01e; background: #ffc01e14; border: 1px solid #ffc01e44 }
.cr-drop b { display: block; font: 600 14px Inter, sans-serif; color: #fff; word-break: break-all }
.cr-drop small { display: block; margin-top: 2px; font: 400 12px Inter, sans-serif; color: #8fa2cc }
.cr-drop.has b { color: #ffe3a1 }
.cr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0 }
.cr-send { justify-content: center; background: linear-gradient(115deg, #ffc01e, #ff8a00) !important; color: #111 !important; font-weight: 700; border: 0 !important; padding: 14px 22px }
.cr-send[disabled] { opacity: .6; cursor: wait }
.cr-msg { display: none; padding: 11px 14px; border-radius: 11px; font-size: 13.5px; line-height: 1.55 }
.cr-msg.ok { display: block; background: #1fbf7518; border: 1px solid #1fbf7566; color: #9ff0c6; animation: crIn .3s ease-out }
.cr-msg.err { display: block; background: #ff6b6b14; border: 1px solid #ff6b6b66; color: #ffb3b3; animation: crShake .35s ease-in-out }
@keyframes crShake { 0%, 100% { transform: translateX(0) } 20%, 60% { transform: translateX(-6px) } 40%, 80% { transform: translateX(6px) } }

/* Success modal animation */
.cr-dlg [hidden],
.cr-form[hidden],
.cr-success-view[hidden],
#crDlgHead[hidden] {
  display: none !important;
}

.cr-success-view {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 16px 20px;
}

.cr-success-view.active,
.cr-dlg.is-success .cr-success-view {
  display: flex !important;
  animation: crPopIn .42s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.cr-dlg.is-success #crDlgHead,
.cr-dlg.is-success #crF {
  display: none !important;
}
@keyframes crPopIn { from { opacity: 0; transform: scale(.88) translateY(14px) } to { opacity: 1; transform: scale(1) translateY(0) } }
.cr-success-icon { width: 72px; height: 72px; margin-bottom: 18px; position: relative; display: grid; place-items: center }
.cr-checkmark-svg { width: 72px; height: 72px; border-radius: 50%; display: block; stroke-width: 2.8; stroke: #2dd4bf; stroke-miterlimit: 10; box-shadow: 0 0 32px #2dd4bf44 }
.cr-checkmark-circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 2.8; stroke: #2dd4bf; fill: #0d2328; animation: crStroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards }
.cr-checkmark-check { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; stroke: #2dd4bf; stroke-linecap: round; stroke-linejoin: round; animation: crStrokeCheck .42s cubic-bezier(0.65, 0, 0.45, 1) .45s forwards }
@keyframes crStroke { 100% { stroke-dashoffset: 0 } }
@keyframes crStrokeCheck { 100% { stroke-dashoffset: 0 } }
.cr-success-view h3 { font: 800 24px/1.3 Sora, Inter, sans-serif; color: #fff; margin: 0 0 10px }
.cr-success-view p { color: #c3cfe6; font-size: 14.5px; line-height: 1.65; max-width: 46ch; margin: 0 0 22px }
.cr-success-bar { width: 140px; height: 4px; background: #ffffff14; border-radius: 99px; overflow: hidden }
.cr-success-fill { width: 100%; height: 100%; background: linear-gradient(90deg, #ffc01e, #2dd4bf); border-radius: 99px; transform-origin: left; animation: crBarFill 2.7s linear forwards }
@keyframes crBarFill { from { transform: scaleX(0) } to { transform: scaleX(1) } }

.cr-dlg.cr-closing { animation: crOut .26s ease-in forwards !important }
@keyframes crOut { from { opacity: 1; transform: scale(1) translateY(0) } to { opacity: 0; transform: scale(.93) translateY(14px) } }

.cr-spinner { display: inline-block; width: 15px; height: 15px; border: 2px solid #111; border-top-color: transparent; border-radius: 50%; animation: crSpin .6s linear infinite; vertical-align: middle; margin-right: 8px }

/* Responsive */
@media (max-width: 1100px) { .cr-life { grid-template-columns: 1fr; gap: 28px } .cr-vc { flex-basis: calc((100% - 20px) / 2) } .cr-cta { grid-template-columns: 1fr } .cr-go { border-left: 0; border-top: 1px solid #ffffff10 } }
@media (max-width: 640px) {
  #careers { padding: 80px 0 64px }
  .cr-lcards { grid-template-columns: 1fr }
  .cr-vwrap, .cr-cta { margin-top: 52px }
  .cr-vc { flex-basis: 84% }
  .cr-ci { padding: 26px 20px } .cr-go { padding: 26px 20px } .cr-open { width: 100%; justify-content: center }
  .cr-row { grid-template-columns: 1fr }
  .cr-dlg { padding: 26px 18px 22px; border-radius: 18px }
}
@media (prefers-reduced-motion: reduce) { #careers * { animation: none !important; transition: none !important } .a-tick { stroke-dashoffset: 0 } }
